Date: Mon, 26 Aug 2002 19:32:17 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: budsz <budsz@kumprang.or.id> Cc: FBSDQ <freebsd-questions@FreeBSD.ORG> Subject: Re: How to configure multiple IPs on FreeBSD Message-ID: <20020826073216.GB8948@grimoire.chen.org.nz> In-Reply-To: <20020826061406.GB1767@kumprang.kumprang.or.id> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925 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?20020826073216.GB8948>