[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Re: Network Goes on Holiday



On Fri, Jun 23, 2000 at 12:43:38PM +0100, Richard wrote:
> Jose
> 
> José Luis Gómez Dans wrote:
> 
> >         I think Chris made a typo in his message. This should work fine.
> > If you have IP aliasing compiled into the kernel that is...
> > 
> > > Chris J/#6 wrote:
> > >
> > > > However, try this on the SuSE box:
> > > >
> > > >         $ ifconfig eth0:1 192.168.1.254 netmask 255.255.255.0
> > > >         $ route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
> >                                                                    ^^^^^
> >                 Shouldn't this be eth0:0 ?               ____________|

	No, I meant eth0:1, as configured by ifconfig. Sorry about that.
Time to change to a bigger font :)

> BTW, how do I remove the eth0 entries ??

	man route? The first few lines might be enlightening...

NAME
       route - show / manipulate the IP routing table

SYNOPSIS
       route [-CFvnee]

       route  [-v]  [-A  family] add [-net|-host] target [netmask
              Nm] [gw Gw] [metric N] [mss M] [window W] [irtt  I]
              [reject] [mod] [dyn] [reinstate] [[dev] If]

       route  [-v]  [-A  family]  del [-net|-host] target [gw Gw]
              [netmask Nm] [metric N] [[dev] If]

       route  [-V] [--version] [-h] [--help]



	Before you try to delete them though, have a read in the NET 3
HOWTO, it has a very detailed explanation of what to do about your
situation. It might be a bit lengthy, but it will show you how it's
done. Ohterwise, we are just hitting a dead end here.

	Cheers,
	José
	
-- 
José L Gómez Dans			PhD student
					Radar & Communications Group
					Department of Electronic Engineering
					University of Sheffield UK
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.