Re: route command baffles me.



gl@xxxxxxxxxxxxxxxxxxxxxxxx (Jay G. Scott) writes:

In article <130gh4pt9uifn6d@xxxxxxxxxxxxxxxxxx>,
CptDondo <yan@xxxxxxxxxxxxxxxx> wrote:
Jay G. Scott wrote:
In article <56qnkqF2aem2dU1@xxxxxxxxxxxxxxxxxx>,
patrick <ptri.c.k@xxxxxxxxxxxxxx> wrote:
In news:eu9592$7e6$1@xxxxxxxxxxxxxxxxxxxx,
Jay G. Scott <gl@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

is there something equivalent to solaris' unplumb, so that
i can tell eth1 to drop dead? ie, w/o a reboot?
# /sbin/ifconfig eth1 down

when you do ifconfig -a under with eth1 down, it still shows
eth1. i want ifconfig -a to not show anything about eth1
at all. i've done down, and down doesn't do that.
if you unplumb on solaris, ifconfig -a won't mention it
at all.

Open box, remove card.... Or am I missing something? Why can't it
show up as an unconfigured interface if that's what it is?

The only other way I can think of is to remove the kernel module driving
the card. But why do you need to do that?

What is the goal of this exercise? Seems like you're trying to do
something "the solaris way" when this ain't solaris. Do it (whatever it
is) the linux way.

What are you trying to achieve?

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 list only eth0
modprobe -r eth1
will remove the device driver for that ethernet card.
etc.
Ie, there are lots of waysto do things. What is it you want done?


.



Relevant Pages

  • Re: Help Please: Network Down
    ... firewire card that takes over the network card, ... Something like eth0 or eth1 should show up. ... ifconfig eth1 down and then ...
    (Debian-User)
  • Re: Linux kernel 2.4 "weak end host" issue (previously discussed here as "arp problem
    ... Linux isn't unique in this regard as Solaris has the same behavior. ... On Linux, you could use this IP Tables command (eth0 external, and eth1 ...
    (Bugtraq)
  • Re: Two NICs
    ... can I find which NIC as been assigned to eth0, and which to eth1? ... that ifconfig returns the MAC address of each eth* device - but the ... problem is that I do not know what MAC address corresponds to what NIC to ...
    (comp.os.linux.hardware)
  • Re: Problem - second ethernet card
    ... you can see eth0 with ifconfig. ... if you want eth1 auto up and set a IP to it. ... copy a script from eth0 to eth1, ... > During the install, I saw the system recognize eth1. ...
    (comp.os.linux.networking)
  • Difficult networking problem
    ... mbit ethernet nics (eth0 and eth1). ... I can ping each interface but only one ... ifconfig eth0 down && ifconfig eth1 up ...
    (comp.os.linux.setup)