Re: route command baffles me.



gl@xxxxxxxxxxxxxxxxxxxxxxxx (Jay G. Scott) writes:

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.


i assume if i rename the ifup (or whatever it is) script
and reboot it'll go away.

Gee, what's the opposite of up?

down.

Excellent. And what might then be the command corresponding to ifup eth1?

Note that under Linux, the system tries to assign eth when the device
driver is loaded. So the best idea for you would be to also remove the
device driver
eg
modprobe -r eth1






on solaris, i get along just fine.

I sincerely doubt that, given your proposed solutions to your troubles. May
I suggest a study of the use of the "man" command?


i've read the man pages.


.



Relevant Pages

  • 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)
  • Re: How to get my wireless adapter work?
    ... When I use ifconfig, the wireless adapter is not list unless I run: ... connection, but not DHCP requirement. ... When I use dhclient to get an IP address for my eth1, ... configuration for eth1 not found. ...
    (comp.os.linux.networking)
  • Re: LAN configuration - Debian Sarge
    ... My nic is the one identified as eth1 in ifconfig -a. ... I tried ifconfig eth1 inet 192.168.0.11/99 with success of a sort. ... route 192.168.0.0 (RWMHOMENET) appears in the routing table. ... localhost ...
    (comp.os.linux.networking)
  • Re: route command baffles me.
    ... when you do ifconfig -a under with eth1 down, ... something "the solaris way" when this ain't solaris. ... be quicker to recognize that eth0 was set up as i wanted. ...
    (comp.os.linux.networking)
  • Re: route command baffles me.
    ... when you do ifconfig -a under with eth1 down, ... show up as an unconfigured interface if that's what it is? ... something "the solaris way" when this ain't solaris. ...
    (comp.os.linux.networking)