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

Re: virtual ip's



As stated earlier, we are running the 2.0.X tree on this machine. There is
absolutely no module support compiled into this kernel either.

Besides, the machine routinely has uptimes in the 250+ day period, and has
over 60 virtual interfaces. All without a single hiccup. (If it aint
broke, dont fix it :))

On Fri, 5 May 2000, Dariush Pietrzak wrote:

>
>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

ahh, the eth interfaces start at 0:0 -- but 22 i just picked out of my
head... with:

cat /etc/rc.d/rc.inet1 | grep 0:22

It goes from 0:0 to 0:60+

this also isnt a debian box :)

  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  1:45pm  up 101 days, 20:42,  5 users,  load average: 0.10, 0.17, 0.12


Reply to: