From owner-freebsd-questions@FreeBSD.ORG Sat Aug 27 22:05:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5670E16A41F for ; Sat, 27 Aug 2005 22:05:14 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F42143D68 for ; Sat, 27 Aug 2005 22:05:13 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (216-70-228-172.cust.telepacific.net [216.70.228.172]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j7RM5BLJ016495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Aug 2005 15:05:12 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20050827150200.038c08a0@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sat, 27 Aug 2005 15:05:27 -0700 To: John Barbieri , "albi@scii.nl" From: Glenn Dawson In-Reply-To: <4310E0FC.2050108@metrocast.net> References: <20050827234044.221a929e.albi@scii.nl> <4310E0FC.2050108@metrocast.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-questions@freebsd.org, Carstea Catalin Subject: Re: interface alias at start-up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2005 22:05:14 -0000 At 02:54 PM 8/27/2005, John Barbieri wrote: >FWIW: > >That doesnt work for me :( One other thing. If the aliases you're trying to create are on a different network, the subnet mask of the first one has to be the "real" mask, and any further aliases in that same network have to use a mask of 255.255.255.255. Example: ifconfig_fxp0="inet 10.0.0.1 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 10.0.0.2 netmask 255.255.255.255" ifconfig_fxp0_alias1="inet 10.1.1.1 netmask 255.255.255.0" ifconfig_fxp0_alias2="inet 10.1.1.2 netmask 255.255.255.255" -Glenn >any other way? > >albi@scii.nl wrote: > > >On Sat, 27 Aug 2005 14:26:32 -0700 > >Carstea Catalin wrote: > > > > > > > >>how tu setting-up interface alias at start-up > >> > >> > > > ># example /etc/rc.conf part > > > >defaultrouter="192.168.2.1" > > > >ifconfig_rl0="inet 192.168.2.222 netmask 255.255.255.0" > > > >ifconfig_rl0_alias0="inet 192.168.2.2 netmask 0xffffffff" > >ifconfig_rl0_alias1="inet 192.168.2.3 netmask 0xffffffff" > >ifconfig_rl0_alias2="inet 192.168.2.4 netmask 0xffffffff" > >ifconfig_rl0_alias3="inet 192.168.2.5 netmask 0xffffffff" > >ifconfig_rl0_alias4="inet 192.168.2.6 netmask 0xffffffff" > > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"