Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


There are 4 network Interfaces, how can we find which one
is Primary.

Answers were Sorted based on User's Feedback



There are 4 network Interfaces, how can we find which one is Primary...

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

There are 4 network Interfaces, how can we find which one is Primary...

Answer / ponnuswamy senthil

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

Post New Answer

More Linux AllOther Interview Questions

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.

4 Answers  


I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers

0 Answers  


What is LILO?

11 Answers   Cisco,


Give a Linux shell command to find all files in a directory which contain ip addresses.

1 Answers   Amazon,


what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?

3 Answers   Broadcom,


What are main anti-spam features available in sendmail?

1 Answers   CSC,


Where is standard output usually directed?

2 Answers  


Hi all Could u plz tell me how I can get UNIX/Linux Certification

2 Answers   Accenture,


how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?

0 Answers   Wipro,


How to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples

0 Answers  


What is the difference between an argument and an option/switch?

3 Answers   Wipro,


How do i check which nfs version I am using ????????

9 Answers   CybAge, IBM,


Categories