From owner-freebsd-questions Thu Feb 13 23:07:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA13148 for questions-outgoing; Thu, 13 Feb 1997 23:07:32 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA13143 for ; Thu, 13 Feb 1997 23:07:28 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id XAA00732; Thu, 13 Feb 1997 23:07:24 -0800 (PST) Date: Thu, 13 Feb 1997 23:07:24 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Roland Krocin cc: freebsd-questions@freebsd.org Subject: Re: Virtual IPs In-Reply-To: <33033C6E.72F7@netchicago.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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