Date: Tue, 22 Dec 1998 22:59:58 From: Kurt Keller <Kurt@pinboard.com> To: net@FreeBSD.ORG Cc: wes@softweyr.com, shigetoh@zip.com.au Subject: Re: IP aliases Message-ID: <3.0.5.16.19981222225958.44879f9a@pop.pbdhome.pinboard.com> In-Reply-To: <367F469C.E57CD5C2@softweyr.com> References: <3.0.5.16.19981221225911.439f4d8a@pop.pbdhome.pinboard.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for your help. I actually had a look in rc.conf as well, but was sure the netmask of 255.255.255.255 was wrong. Actually it does work fine that way. Still, I can't imagine why the netmask on this virtual interface should have all bits set. This would mean, that FreeBSD won't let me simulate subnets on one adapter card. Even though physically such networks would not be separated, the pure logical separation can be handy for testing routing stuff. For example something like 192.168.1.0/255.255.255.192 192.168.1.64/255.255.255.240 192.168.1.96/255.255.255.248 172.17.32.0/255.255.0.0 on one single adapter card can be very handy for simulations. Which makes me wonder whether FreeBSD supports variable length subnet masks. Kurt >Have you looked at /etc/rc.conf file? There is a sample setting for >network alias. >I believe you need to add "netmask 255.255.255.255" to the end of the >"ifconfig alias" command. Checking... >> On my FreeBSD 2.2.5 server I need to assign at least one more IP >> address to the ethernet card (only one, not even a slot free for an >> additional card). So I did >> >> ifconfig ed1 inet 192.168.0.8 alias -- -------------------------------------------------------------------- ¦ Kurt@pinboard.com http://www.pinboard.com/ business ¦ ¦ http://www.pinboard.com/kurt/ private ¦ ¦--------------------------------------------------------------------¦ ¦ Unix and Internet Specialist ¦ -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.16.19981222225958.44879f9a>