From owner-freebsd-questions Tue Apr 1 11:33:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA23454 for questions-outgoing; Tue, 1 Apr 1997 11:33:26 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA23448 for ; Tue, 1 Apr 1997 11:33:16 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id LAA03875; Tue, 1 Apr 1997 11:33:05 -0800 (PST) Date: Tue, 1 Apr 1997 11:33:05 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: sweeting@tm.net.my cc: freebsd-questions@freebsd.org, softweyr@xmission.com, langfod@dihelix.com Subject: Re: [Q] why not use routed ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 1 Apr 1997 sweeting@tm.net.my wrote: > No problems. I was just wondering if it should be possible to > do the ifconfig aliasing and addition of the route within /etc/sysconfig. > > I tried this in /etc/sysconfig : > ifconfig_lo0="inet localhost" > ifconfig_ep0="inet 202.184.153.13 netmask 255.255.255.0" > ifconfig_ep0="inet 202.184.153.5 netmask 255.255.255.255 alias" > > and that didn't work. should it ? I believe it should, at least in 2.2. Note the following comment: # network_interfaces="ed0 sl0 lo0" # # ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00" # ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00" # ifconfig_lo0="inet localhost" # ifconfig_ed0_alias0="inet 10.0.2.1 netmask 0xffffff00" # ifconfig_ed0_alias1="inet 10.0.2.2 netmask 0xffffffff" # ifconfig_ed0_ipx="ipx 0x1234" Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major