Re: route command baffles me.



CptDondo <yan@xxxxxxxxxxxxxxxx> writes:

Jay G. Scott wrote:
both physical interfaces are on the motherboard. i was hoping there
would
be a way to have eth1 omitted from ifconfig -a output, since i only have a
text console at the moment and it would save me some typing and it would
be quicker to recognize that eth0 was set up as i wanted. i guessed,
wrongly, that there would be a way to do that. there isn't. i get it.
point made.


ifconfig eth0

will dump all the info for eth0

Furthermore,

ifconfig

will dump the info for eth0 if it up and won't dump the info for eth1
if it is down.

Scott

--
Scott Hemphill hemphill@xxxxxxxxxxxxxxxxxx
"This isn't flying. This is falling, with style." -- Buzz Lightyear
.



Relevant Pages

  • Re: NIC Having Multiple IP Addresses?
    ... #ifconfig eth0 down ... gives details of lo interface. ... shows eth0 and lo ... a sniffer to watch the traffice flow from that IP? ...
    (comp.os.linux.networking)
  • Re: FC6 not connecting -- amplification
    ... All right, making assurance doubly sure, I logged in using "su - root" ... I think I just gave up, wiped that install with DBAN, ... Run "ifconfig" and verify you have device eth0. ...
    (Fedora)
  • Re: virtual NICs
    ... virtual interfaces are necessary in order to configure multiple ... IP addresses using "ifconfig", but if you use iproute2's tools you can ... > My question was whether the one being defined to eth0 has an advantage ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: set maximum ip-packet-size ?
    ... If it is an ethernet interface (like eth0, connected to a router or gateway), ... the default MTU will most likely have the default ... You can use the ifconfig command to alter this setting ... (for any network interface). ...
    (comp.os.linux.networking)
  • Re: NIC Having Multiple IP Addresses?
    ... # ifconfig eth0 down ... Ifconfig does not interrupt ... learned that the interface was accepting traffic. ... You can check the physical link status with a tool such as "mii-tool". ...
    (comp.os.linux.networking)