From owner-freebsd-questions Fri Nov 1 11:55:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA25111 for questions-outgoing; Fri, 1 Nov 1996 11:55:02 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA25099 for ; Fri, 1 Nov 1996 11:54:48 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id LAA04643; Fri, 1 Nov 1996 11:56:05 -0800 (PST) Date: Fri, 1 Nov 1996 11:56:05 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Jeremy Sigmon cc: questions@freebsd.org Subject: Re: error question 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 Thu, 31 Oct 1996, Jeremy Sigmon wrote: > > > I have in my rc.local > > > route -add interface 157.182.105.123 127.0.0.1 > > > > Hm, that sort of looks OK... > > > > - What does route -a report? > > - what is the command line you are using to add the alias? > > > > Once again my problem: > > I have an aliased IP (157.182.105.123) on ep0 > my real is 157.182.105.122 > > sysconfig looks like: > network_interfaces="ep0 lo0" > ifconfig_ep0="inet 157.182.105.122 netmask 255.255.254.0" > ifconfig_lo0="inet localhost" > > rc.local looks like: > ifconfig ep0 inet 157.182.105.123 netmask 255.255.254.0 alias ^^^^^^^^^^^^^ Here is your problem: all aliases must have netmask 255.255.255.255. Change that, remove your 157 -> 127.0.0.1 route, and all should work properly. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major