Date: Wed, 3 Mar 2004 18:11:28 +0000 (GMT) From: Jim Dixon <jdd@dixons.org> To: Erik Sliman <p500.2004@openstandards.net> Cc: freebsd-java@freebsd.org Subject: Re: Multiple static IPs Message-ID: <20040303180844.M21204-100000@localhost> In-Reply-To: <404604FC.1020506@openstandards.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Mar 2004, Erik Sliman wrote: > How do you give a computer multiple static IPs? > > I've tried many things, including the ifaliases setting in rc.conf: > > ifconfig_vr0="inet 192.168.1.3 netmask 255.255.255.0" > ifaliases_vr0="192.168.1.36 255.255.255.0" > > but none seem to work. It would help to know what kind of computer ;-) On FreeBSD, as I recall, the syntax is ifconfig vr0 inet 192.168.1.3 netmask 255.255.255.0 ifconfig vr0 inet 192.168.2.254 netmask 255.255.255.0 alias If you then do a ifconfig vr0 it will list all of the active aliases. -- Jim Dixon jdd@dixons.org tel +44 117 982 0786 mobile +44 797 373 7881 "Be liberal in what you accept, Jon Postel and conservative in what you send." RFC 793 http://jxcl.sourceforge.net Java unit test coverage http://xlattice.sourceforge.net p2p communications infrastructure
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040303180844.M21204-100000>