Date: Thu, 13 Feb 1997 23:07:24 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Roland Krocin <roland@netchicago.net> Cc: freebsd-questions@freebsd.org Subject: Re: Virtual IPs Message-ID: <Pine.BSI.3.94.970213230632.612b-100000@localhost> In-Reply-To: <33033C6E.72F7@netchicago.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Feb 1997, Roland Krocin wrote: > I'm using FBSD 2.1.6 and a 3Com590 NIC. What is the proper syntax for > adding IP's to an interface? This is my current portion of sysconfig, > > network_interfaces="vx0 lo0" > ifconfig_vx0="inet 205.164.13.80 netmask 255.255.255.0" > ifconfig_lo0="inet localhost" > > so if I would want to put another IP on vx0, can I just say > > ifconfig_vx0="inet another.ip.goes.here netmask another.ips.net.mask" > > or do I need to do something like > > ifconfig_vx0_somealias=... The way seems to be to put a construct inside of /etc/rc.local running ifconfig in sequence, adding the ips. ifconfig vx0 xxx.yyy.zzz.qqq alias ifconfig vx0 aaa.bbb.cc.dd alias ... Check the mail archives, multiple ways exist. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970213230632.612b-100000>