From owner-freebsd-questions@FreeBSD.ORG Sat Aug 27 22:25:58 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 B79B116A43A for ; Sat, 27 Aug 2005 22:25:58 +0000 (GMT) (envelope-from sineathj1@citadel.edu) Received: from imf23aec.mail.bellsouth.net (imf23aec.mail.bellsouth.net [205.152.59.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2E5643D45 for ; Sat, 27 Aug 2005 22:25:57 +0000 (GMT) (envelope-from sineathj1@citadel.edu) Received: from ibm66aec.bellsouth.net ([70.153.35.66]) by imf23aec.mail.bellsouth.net with ESMTP id <20050827222557.NFII3200.imf23aec.mail.bellsouth.net@ibm66aec.bellsouth.net> for ; Sat, 27 Aug 2005 18:25:57 -0400 Received: from IBMTWAQPEF2DWZ ([70.153.35.66]) by ibm66aec.bellsouth.net with SMTP id <20050827222557.NGTC7830.ibm66aec.bellsouth.net@IBMTWAQPEF2DWZ>; Sat, 27 Aug 2005 18:25:57 -0400 Message-ID: <001f01c5ab56$4b22b4b0$030a000a@IBMTWAQPEF2DWZ> From: "James Bowman Sineath, III" To: "John Barbieri" , References: <20050827234044.221a929e.albi@scii.nl> <4310E0FC.2050108@metrocast.net> Date: Sat, 27 Aug 2005 18:25:55 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 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:25:58 -0000 > FWIW: > > That doesnt work for me :( Make sure that you replaced rl0 with the name of your interface, which can be found with a simple ifconfig -a. > any other way? write a simple shell script to do it or do it manually with the following: ifconfig inet netmask alias However, using your rc.conf should bind them when you boot up. I have heard that sometimes you have to statically add routes to your kernel routing table for aliases to work, however I don't know if there is any truth to that. You can try adding them with the following command: route add -host 127.0.0.1 0 Bow Sineath Class of 2006, the Citadel sineathj1@citadel.edu - bow.sineath@gmail.com > 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"