From owner-freebsd-questions Mon Aug 26 10:31:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF53237B405 for ; Mon, 26 Aug 2002 10:31:14 -0700 (PDT) Received: from kumprang.or.id (kumprang.or.id [202.143.103.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D54F43EAA for ; Mon, 26 Aug 2002 10:31:09 -0700 (PDT) (envelope-from budsz@kumprang.or.id) Received: (qmail 4141 invoked by uid 1000); 26 Aug 2002 17:32:10 -0000 Date: Tue, 27 Aug 2002 00:32:10 +0700 From: budsz To: FBSDQ Subject: Re: How to configure multiple IPs on FreeBSD Message-ID: <20020826173210.GC3565@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> <20020826073216.GB8948@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020826073216.GB8948@grimoire.chen.org.nz> User-Agent: Mutt/1.4i X-Pubkey: "http://www.kumprang.or.id/~budsz/Pubkey_FreeBSD.txt" X-Finger-Print: "A05A 268C 3CD4 ABBD D9EB 11E1 F64C 4B4E 6269 5304" X-System-Operation: FreeBSD 4.6-STABLE i386 X-Organization: "Internet Cafe and Game PC Kumprang" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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