Re: route command baffles me.
- From: hemphill@xxxxxxxxxxxxx
- Date: 26 Mar 2007 19:10:58 -0400
Unruh <unruh-spam@xxxxxxxxxxxxxx> writes:
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
But you don't want to remove this module if it is the same one that
serves eth0.
Depending on what module that is, there may be arguments that can be
passed to the module to override the automatic probing of the hardware
done at boot time. So at boot time, you could have the driver
recognize only one interface.
Scott
--
Scott Hemphill hemphill@xxxxxxxxxxxxxxxxxx
"This isn't flying. This is falling, with style." -- Buzz Lightyear
.
- References:
- route command baffles me.
- From: Jay G. Scott
- Re: route command baffles me.
- From: patrick
- Re: route command baffles me.
- From: Jay G. Scott
- Re: route command baffles me.
- From: Unruh
- route command baffles me.
- Prev by Date: Re: route command baffles me.
- Next by Date: Re: route command baffles me.
- Previous by thread: Re: route command baffles me.
- Next by thread: Re: route command baffles me.
- Index(es):
Relevant Pages
|