From owner-freebsd-questions Tue Mar 4 21:07:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA23558 for questions-outgoing; Tue, 4 Mar 1997 21:07:45 -0800 (PST) Received: from mail.tm.net.my (janeway.tm.net.my [202.188.0.155]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA23551 for ; Tue, 4 Mar 1997 21:07:34 -0800 (PST) From: sweeting@tm.net.my Received: from [111.111.111.110] ([202.184.153.105]) by mail.tm.net.my (8.8.5/8.8.4) with SMTP id NAA12793 for ; Wed, 5 Mar 1997 13:06:45 +0800 (SGT) Date: Wed, 5 Mar 1997 13:06:45 +0800 (SGT) X-Sender: sweeting@mail.tm.net.my Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: questions@freebsd.org Subject: how to : route / routed ? (/kernel arpresolve:can't allocate llinfo) Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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