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 |
My Linux server in the two lan card one lan card is ok working but second lan card after restart daily lan card deactivate and then manual activate then properly working but after restart repeat this problem.(Fedora O.S.) Pls tell me solved this problem.
I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers
What is LILO?
Give a Linux shell command to find all files in a directory which contain ip addresses.
what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?
What are main anti-spam features available in sendmail?
Where is standard output usually directed?
Hi all Could u plz tell me how I can get UNIX/Linux Certification
how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?
How to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples
What is the difference between an argument and an option/switch?
How do i check which nfs version I am using ????????