Date: Tue, 27 Aug 2002 00:32:10 +0700 From: budsz <budsz@kumprang.or.id> To: FBSDQ <freebsd-questions@FreeBSD.ORG> Subject: Re: How to configure multiple IPs on FreeBSD Message-ID: <20020826173210.GC3565@kumprang.kumprang.or.id> In-Reply-To: <20020826073216.GB8948@grimoire.chen.org.nz> References: <3D67FEA3.81CA0D0B@audiblefaith.com> <20020825113425.GB3075@happy-idiot-talk.infracaninophi> <20020825115333.GB12644@kumprang.kumprang.or.id> <20020825142500.36d479ee.freebsd@secspace.de> <20020826061406.GB1767@kumprang.kumprang.or.id> <20020826073216.GB8948@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 26, 2002 at 07:32:17PM +1200, Jonathan Chen wrote: >On Mon, Aug 26, 2002 at 01:14:06PM +0700, budsz wrote: >> On Sun, Aug 25, 2002 at 02:25:00PM +0200, Volker Kindermann wrote: >> >> 0xffffffff = 255.255.255.255 in decimal right..?, I tried with netmask >> >> 255.255.255.240 (I get 16 IP address from ISP). the question: it's >> >> possible make aliasing IP without netmask 255.255.255.255. for >> >> example: >> >> >> >> ifconfig_ed0_alias0="inet 202.143.103.230 netmask 255.255.255.240" >> >> ifconfig_ed0_alias1="inet 202.143.103.231 netmask 255.255.255.240" >> >> ifconfig_ed0_alias2="inet 202.143.103.232 netmask 255.255.255.240" >> >> I've already read that URL, basicly it's fine if I configure *only* >> one aliasing for example: >> >> ifconfig_ed0_alias0="inet 202.143.103.230 netmask 255.255.255.240" >> >> The problem is: >> >> ifconfig_ed0_alias0="inet 202.143.103.230 netmask 255.255.255.240" >> ifconfig_ed0_alias1="inet 202.143.103.231 netmask 255.255.255.240" >> >> The second line aliasing doesn't active. so only enough one aliasing? > >The correct answer is: ALWAYS use netmask of 255.255.255 for aliases. >If you use anything else, it won't work. 255.255.255 or 255.255.255.255 ? OK it will be just like in the manuals :-) -- budsz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020826173210.GC3565>