Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 1996 14:30:04 -0500 (EST)
From:      Jeremy Sigmon <jsigmon@www.hsc.wvu.edu>
To:        dwhite@resnet.uoregon.edu
Cc:        questions@freebsd.org
Subject:   Re: error question
Message-ID:  <Pine.BSF.3.91.961031142128.436A-100000@www.hsc.wvu.edu>
In-Reply-To: <Pine.BSI.3.94.961030182754.2083C-100000@gdi.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


> > 
> > 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
route add -host 157.182.105.123 127.0.0.1

netstat -rn looks like:
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            157.182.104.1      UGSc       49        9       ep0
127.0.0.1          127.0.0.1          UH          0        7       lo0
157.182.104/23     link#2             UC          0        0 
157.182.104.1      aa:0:4:0:1:50      UHLW       49        0       ep0    457
157.182.105.41     0:5:2:18:d4:5e     UHLW        0       27       ep0    653
157.182.105.119    0:a0:24:b5:86:c2   UHLW        6     3934       ep0    816
157.182.105.122    0:a0:24:b5:83:2f   UHLW        0        4       lo0
157.182.105.123    127.0.0.1          UGHS        0       15       ep0

problem:
I cannot ping to 157.182.105.123
pings to localhost or 122 work fine.
of course no telnet etc also....

i get the following in my logs
Oct 31 14:24:08 www /kernel: arpresolve: can't allocate llinfo for 127.0.0.1
or
Oct 31 14:24:08 www /kernel: arpresolve: can't allocate llinfo for 
157.182.105.123

The outside world connects and pings fine to the machine.  I have apache 
running and it sees both such (one is virtual)  122 = www  123 = hscnet
both work fine.

The reason I want this is so I can run MOMSpider against hscnet to find 
bad links.  It works for WWW, but of course not HSCNET

thanks for all the help.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961031142128.436A-100000>