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

Through ssh whole directory structure from / is shared regardless the user we have connected with ....... how do i prevent sharing ??

4 Answers   Tech Mahindra,


How to trace any process background processing?

5 Answers  


What is Hard mount and soft Mount?

0 Answers   Cap Gemini,


What are RPM?s, what do they offer?

2 Answers  


How to Create NIS Server And NIS Client? Explain With Example?

1 Answers   Cisco,


Where is standard output usually directed?

2 Answers  


My root password has been changed, how can i enter into the system without root password?

6 Answers  


What are the questions we are expecting for 2yrs. experience guy for linux company interview questions?

1 Answers  


there are many IPC mechanisms available in Linux ? Which one is best to use and when ?

1 Answers   Broadcom,


what is the difference between NIS and DNS...?

5 Answers   IBM,


What are the main differences between RHEL4 & RHEL5?

11 Answers  


expalin the process of kickstart installation?

1 Answers   HCL, IBM,


Categories