Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 1997 13:06:45 +0800 (SGT)
From:      sweeting@tm.net.my
To:        questions@freebsd.org
Subject:   how to : route / routed ? (/kernel arpresolve:can't allocate llinfo)
Message-ID:  <v01540b0baf431e6a4eb7@[111.111.111.110]>

next in thread | raw e-mail | index | archive | help
The FreeBSD handbook arrived today and seems a little light on networking
configuration, especially virtual domains ;
I am waiting for the O'Reilly book but in the meantime, can somebody pls
explain routing in total layman's terms for the following problem =

Whenever i try to create an IP alias with the following :
# ifconfig zp0 202.184.153.18 netmask 255.255.255.255 alias

I receive :
#word routed[50]:punt RTM_ADD without a gateway
#word routed[50]:possible netmask problem between
             zp0:202.184.153.18/32 and zp0:202.184.153.0/24
#word /kernel:arp_rtrequest:bad gateway value

then i get the :
" /kernel arpresolve:can't allocate llinfo for 202.184.153.18 " error when
i try to ping
the virtual domain.

Does anyone know how to cure this ?

Apparently, my routing tables are screwed : but i used this in /etc/sysconfig =

hostname=word.com.my
defaultdomainname=NO
tcp_extensions=YES
network_interfaces="zp0 lo0"
ifconfig_lo0="inet localhost"
ifconfig_zp0="inet 202.184.153.84 netmask 0xffffff00"
static_routes=""
defaultrouter=202.184.153.1
router="routed"
routerflags=-q
namedflags="-b /etc/namedb/named.boot"
gateway=NO
firewall=NO


is any of this wrong ?????
why is it such a pain on FreeBSD and so easy on AIX / OSF etc ???

any help whatsoever much appreciated.

tia,

chas


 ps. if it helps =

-  running secondary name server on this FreeBSD box.
- zp0 is my interface which is a 3com pcmcia ethernet
- initial IP = word.com.my = 202.184.153.84
- virtual IP = models.com.my = 202.184.153.18

==== results of netstat -r  =====
Routing tables

Internet:
Destination           Gateway                 Flags     Refs     Use
Netif Expire
default                  202.184.153.1       UGc         0        0       zp0
localhost               localhost                 UH          0        1
lo0
202.184.153         link#2                    UC          0        0
202.184.153.1      link#2                    UHLW      1        0
neuronet                0:0:f8:21:2b:74    UHLW      0       90       zp0   1175
202.184.153.18    202.184.153.18     UH          0        0       zp0 =>
202.184.153.18/32  link#2                UC          0        0
love                       0:c0:4f:db:17:23   UHLW     0       59       zp0
686











Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01540b0baf431e6a4eb7>