Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-25-2006, 07:31 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 11

Rep: Reputation: 0
interface connectivity status

i want to get the status of the various interfaces connected to the network.i used some associated interfaces.these are used if one interface is down other will provide the connection.if i use ifconfig it willl dispaly the interface detail even if it down. if i use the ping to particular IP ping will give the result will i over come this there any other way to find the solution.

Last edited by suresh_rupineni; 07-28-2006 at 12:36 AM.
Old 07-25-2006, 07:45 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
you have a single adress acropss two nic's? this sounds like a channel bond, and if you're doing it correctly you can just check the contents of /proc/net/bond0/. if you're not using bond, how are you actually doing this? ifconfig output oes still say whether an interface is up or not though, just look for the "UP" in the output.
Old 07-25-2006, 07:50 AM   #3
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
ifconfig should list only the up interfaces, ifconfig -a lists all interfaces that have corresponding drivers loaded (ie they exist, but are not up). Maybe there is an alias of ifconfig to ifconfig -a ?
Old 07-26-2006, 12:00 AM   #4
LQ Newbie
Registered: Jul 2006
Posts: 11

Original Poster
Rep: Reputation: 0
interface connectivit status

i have LAN which has two interfaces.these are associated interfaces if one interface is down second interface is automatically up for not distrubing the process.if sudenly one interface is down another one is automatically up.if you give ping to down interface it will give ping success will i overcome this problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Interface Status ejtbrown Programming 5 08-04-2006 01:12 AM
Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58 fishsponge Linux - General 0 07-11-2006 09:02 AM
tcp connection and interface status vasanthbp Linux - Networking 7 07-04-2006 02:38 AM
Ethernet interface - checking the status marri Programming 1 03-01-2005 12:15 PM
connectivity or not connectivity munkie_poo Linux - Newbie 0 05-07-2004 06:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration