Date: Tue, 6 Jan 1998 09:12:35 +1100 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Karl Pielorz <kpielorz@tdx.co.uk> Cc: isp@FreeBSD.ORG Subject: Re: Ifconfig & 2nd IP address - weird... Message-ID: <Pine.BSF.3.91.980106091106.28150Q-100000@panda.hilink.com.au> In-Reply-To: <34B13CDA.AF845AFD@tdx.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Jan 1998, Karl Pielorz wrote: > If I do the following on my BSD box (to serve as a secondary IP for a virtual > web-server):- > > ifconfig de0 192.168.100.2 alias > > "ifconfig -a" then shows:- > > de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 192.168.100.1 netmask 0xffffffe0 broadcast 192.168.100.31 > inet 192.168.100.2 netmask 0xffffffe0 broadcast 192.168.100.31 > ether 00:00:c0:eb:a3:0b See what happens if you do: ifconfig de0 192.168.100.2 netmask 0xffffffff alias Sometimes I have had to add a host route to the alias address: route add 192.168.100.2 127.0.0.1 Danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.980106091106.28150Q-100000>