Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 1996 11:56:05 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Jeremy Sigmon <jsigmon@www.hsc.wvu.edu>
Cc:        questions@freebsd.org
Subject:   Re: error question
Message-ID:  <Pine.BSI.3.94.961101115454.4598D-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.BSF.3.91.961031142128.436A-100000@www.hsc.wvu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961101115454.4598D-100000>