From owner-freebsd-questions Wed Apr 16 11:12:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22947 for questions-outgoing; Wed, 16 Apr 1997 11:12:56 -0700 (PDT) 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 LAA22937 for ; Wed, 16 Apr 1997 11:12:53 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id LAA04588; Wed, 16 Apr 1997 11:12:50 -0700 (PDT) Date: Wed, 16 Apr 1997 11:12:50 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Wes Hester cc: freebsd-questions@FreeBSD.ORG Subject: Re: help with sysconfig file In-Reply-To: <335408EA.703B@crosslogic.com> 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, 15 Apr 1997, Wes Hester wrote: > In the file called test_ip I have the following: > > #This file configures multiple ips to a single ethernet card > address > > ifconfig ed0 inet 208.197.69.20 255.255.255.192 alias > route add -host 208.197.69.20 127.0.0.1 0 If I remember correctly: 1. The netmask should be 255.255.255.255 if the alias'd IP is on the same subnet as the main IP for this interface. 2. Your ifconfig syntax is wrong. You need a 'netmask' keyword between the ip addresses. 3. The route add is redundant; the system will DTRT with regard to routing your alias. So, try the following in sysconfig: ifconfig_ed0_alias0="208.197.69.20 netmask 0xffffffff alias" Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major