On Thu, 6 Jan 2005, Mikey wrote:
> That didn't work either. So after reviewing man ping I see the option that
> let's you specify the name of the device:
>
> bmike1@3[bmike1]$ sudo ping -c 5 -I eth0 <and /dev/eth0>
> Usage: pin......
What ping is that? The ping from Linux NetKit doesn't seem to have that
option. Although a BSD ping does have a -I.
> 1- is it possible to ping the switch?
If your type of switch supports having an assigned IP, then you should be
able to ping it.
> 2- what's wrong with the broadcast ping? I meanthe broadcast address
> for both eth0 and the switch are 10.255.255.255 so even if I can't ping
> the switch I should get a reply from eth0.
Maybe you are using the wrong IP and wrong broadcast address.
> bmike1@3[bmike1]$ ls /dev |grep eth*
> fb0autodetect
> fb1autodetect
> fb2autodetect
> fb3autodetect
> fb4autodetect
> fb5autodetect
> fb6autodetect
> fb7autodetect
> uh-ohhhhhh. There aren't any eth's there.
On the command line, the shell tried to match the glob "eth*" -- and when
it didn't match any file name in your current directory, it just sent that
asterisk as-is to the grep command argument. Then the asterisk meant
optional "h" and that is what matched "et".
> bmike1@3[bmike1]$ locate eth0
> /usr/share/apps/knetload/icons/hicolor/16x16/actions/deveth0.png
> /usr/share/apps/knetload/icons/hicolor/16x16/actions/deveth0on.png
> bmike1@3[bmike1]$
>
> Uh-ohhhhhh. There aren't any eth0s on my system! Nor eth1-9
> I have a feeling this is very bad? Am I right? What should I do if it is?
That is normal.
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss