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

You want to create a compressed backup of the users' home directories. What utility should you use?

5 Answers  


how do you configure linux system as a router?

4 Answers   HCL,


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

0 Answers   Wipro,


how to install linux OS? pls send step by step

3 Answers  


what is kernel panic error ? how will you fix it if you have face it after rebooting without the the help of rescue disk ?

2 Answers   Oracle,


What is the complete name of the default configuration file for LILO?

1 Answers  


What are RPM?s, what do they offer?

2 Answers  


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 ?

5 Answers   Oracle,


i want to install XP on RHEL5 with virtualization tell me step by step configuration

1 Answers  


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

1 Answers   Amazon,


i want some basic level enterview questions can any one can help me in this

1 Answers   TCL,


what is the gate of ftp server in redhat linux?

0 Answers  


Categories