Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to determine if my NIC's are up?

Reply
Thread Tools Display Modes

How to determine if my NIC's are up?

 
 
dkelly6@nospam.gmail.com
Guest
Posts: n/a

 
      11-02-2005, 10:45 PM
I am remotely monitoring a snort box with 5 interfaces. One interface
has an IP address, and 4 don't. I need a way to periodically determine
if all interfaces are working. I know I can just ping the one with the
IP address, but how do I confirm if the other 4 are working?

 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      11-02-2005, 11:24 PM
On 2 Nov 2005 15:45:59 -0800, (E-Mail Removed) wrote:
> I am remotely monitoring a snort box with 5 interfaces. One interface
> has an IP address, and 4 don't. I need a way to periodically determine
> if all interfaces are working. I know I can just ping the one with the
> IP address, but how do I confirm if the other 4 are working?


Cron script does a ping broadcast for each nic's group and emails you
failures and/or does an xmessage -disp your_ip:0 "nic X failure" &

If boxes refuse/drops broadcasts, ping each node for one pass then
goto next nic.


Scripting command refresher docs found here, if needed.

! bash script introduction documentation
http://tldp.org/LDP/intro-linux/html/index.html
! bash script advanced documentation
http://tldp.org/LDP/abs/html/index.html
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      11-03-2005, 12:19 AM
(E-Mail Removed) wrote:

> I am remotely monitoring a snort box with 5 interfaces. One interface
> has an IP address, and 4 don't. I need a way to periodically determine
> if all interfaces are working. I know I can just ping the one with the
> IP address, but how do I confirm if the other 4 are working?


If you can ping the box, use ssh to run ifconfig and see what comes back.

 
Reply With Quote
 
dkelly6@nospam.gmail.com
Guest
Posts: n/a

 
      11-03-2005, 01:00 AM
>ping broadcast for each nic's group

This is the only part I don't understand. How do I determine a NIC's
group?

Thanks much

 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      11-03-2005, 01:08 AM
On 2 Nov 2005 18:00:56 -0800, (E-Mail Removed) wrote:
>>ping broadcast for each nic's group

>
> This is the only part I don't understand. How do I determine a NIC's
> group?


Well, I am confused. Since you indicated you were on a multi nic
machine I would have assumed you knew.

Doing a ifconfig will give you the current nics which are up and
running.
 
Reply With Quote
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      11-03-2005, 07:45 AM
(E-Mail Removed) <(E-Mail Removed)> wrote:
> I am remotely monitoring a snort box with 5 interfaces. One interface
> has an IP address, and 4 don't. I need a way to periodically determine
> if all interfaces are working. I know I can just ping the one with the
> IP address, but how do I confirm if the other 4 are working?


mii-tool

Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
determine which DC is used for login MSUTech Windows Networking 2 06-08-2007 02:26 PM
how to determine the wwn name. Spin Windows Networking 4 09-19-2006 11:25 AM
How do I determine which eth i/f is which? delphinuscadmus@yahoo.com Linux Networking 3 03-26-2006 08:33 AM
Determine Causes of Slowdown benpjohnson@gmail.com Linux Networking 3 03-15-2006 12:40 AM
how to determine next hop ip at Router? cranium.2003@gmail.com Linux Networking 2 05-08-2005 04:36 PM



1 2 3 4 5 6 7 8 9 10 11