There are 4 network Interfaces, how can we find which one
is Primary.
Answers were Sorted based on User's Feedback
Answer / ashish
When you type the command netstat -nr in your shell, you
will find a line starting with 0.0.0.0. Something like
0.0.0.0 192.168.0.4 0.0.0.0 UG 0 0 0 eth0
This line indicates if the system tries to contact a
network outside its local network. It will first contact
the router 192.168.0.4 and it does it with the primary
interface. Hence in this case its eth0. So you can check
this line for the primary interface
| Is This Answer Correct ? | 14 Yes | 0 No |
You can use "netstat -nr" in which it displays the ip
address of the interface individually, even if you have
VMware machines in your system,
One more command is "mii-too" in that it displays the
interface status is up when you connect the network cable.
(eg) mii-tool eth0
eth0- link ok up. Negotiated
eth1- no link
| Is This Answer Correct ? | 2 Yes | 0 No |
You want to create a compressed backup of the users' home directories. What utility should you use?
how do you configure linux system as a router?
how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?
how to install linux OS? pls send step by step
what is kernel panic error ? how will you fix it if you have face it after rebooting without the the help of rescue disk ?
What is the complete name of the default configuration file for LILO?
What are RPM?s, what do they offer?
User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?
i want to install XP on RHEL5 with virtualization tell me step by step configuration
Give a Linux shell command to find all files in a directory which contain ip addresses.
i want some basic level enterview questions can any one can help me in this
what is the gate of ftp server in redhat linux?