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

RE: virtual ip's



Actually the ifconfig and the route worked perfectly.  I remembered the
ifconfig but was forgetting the route.
Now on my other machines I usually put these statements in the rc.local file
to work on boot-up.  But there doesn't seem to be one in debian, or am I
just blind and missing it?  If there isn't, what file should I put these
statements in?

Wayne

-----Original Message-----
From: Dariush Pietrzak [mailto:eyck@forumakad.pl]
Sent: Friday, May 05, 2000 1:41 PM
To: debian-isp@lists.debian.org
Cc: debian-isp@lists.debian.org
Subject: Re: virtual ip's



when using some stock kernel
you probably should run
insmod ip_alias, or modprobe it.
in 2.2.x there used to be some problems with aliases,
but there are no more.

> ifconfig eth0:22 206.29.139.35 broadcast 206.29.139.255 netmask
255.255.255.0
> route add -host 206.29.139.35 dev eth0:22

counting maybe starts with eth0:0, but it doesen't matter. 22 is as good
as first alias as :1 and :0, AFAIK



--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: