Date: Wed, 5 Mar 1997 03:46:22 +0800 (SGT) From: sweeting@tm.net.my To: Steve <shovey@buffnet.net> Cc: questions@freebsd.org Subject: Re: pls help : route and virtual domains ? Message-ID: <v01540b04af429d90ffba@[111.111.111.110]>
next in thread | raw e-mail | index | archive | help
>its 255.255.255.255 alias - unless the second ip is in a different class >c. ... thank you .... i think i did that ..... and that is where is started to get really horrible : >> # ifconfig zp0 202.184.153.18 netmask 255.255.255.255 alias >> >> but when i did that, i got the following output : >> >> #Feb 22 05:32:16 word routed[50]:punt RTM_ADD without a gateway >> Feb 22 05:32:16 word routed[50]:punt RTM_ADD without a gateway >> Feb 22 05:32:16 word routed[50]:punt RTM_ADD without a gateway >> #Feb 22 05:32:16 word routed[50]:possible netmask problem between >> zp0:202.184.153.18/32 and zp0:202.184.153.0/24 >> Feb 22 05:32:16 word routed[50]:possible netmask problem between >> zp0:202.184.153.18/32 and zp0:202.184.153.0/24 >> Feb 22 05:32:16 word routed[50]:possible netmask problem between >> zp0:202.184.153.18/32 and zp0:202.184.153.0/24 >> #Feb 22 05:32:16 word /kernel:arp_rtrequest:bad gateway value >> >> >> I can ping both word.com.my and models.com.my from any other >> machine. But if I ping them from the FreeBSD box itself, I can >> ping the original interface IP (word.com.my) but pinging >> the alias, models.com.my, gives : >> >> Feb 22 05:32:16 word /kernel arpresolve:can't allocate llinfo for >> 202.184.153.18 >> >> I checked the archives and it would appear that >> arpresolve errors are due to the routing tables being >> not set up properly. >> >> >> >> The Evidence : >> ------------- >> >> ==== 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 >> >> >> >> ==== the networking part of /etc/sysconfig contains the following : ==== >> 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 >> >> >> >> additional info : >> ----------------- >> running secondary name server on this FreeBSD box. >> BUT the zone files equating models.com.my to 202.184.153.18 are >> on the Domain Name server one up from us in the food chain. >> (202.184.153.1 is our router) >> ie. named.root contains ... >> >> >> . 3600000 IN NS duke.neuronet.com.my. >> duke.neuronet.com.my. 3600000 A 202.184.153.3 >> >> >> === localhost.rev : === >> >> ; This file is automatically edited by the `make-localhost' script in >> ; the /etc/namedb directory. >> ; >> >> @ IN SOA world.com.my. root.word.com.my. ( >> 970221 ; Serial >> 3600 ; Refresh >> 300 ; Retry >> 3600000 ; Expire >> 3600 ) ; Minimum >> IN NS word.com.my. >> 1 IN PTR localhost.com.my. >> >> >> >> >> === /etc/resolv.conf === >> nameserver 202.184.153.3 >> domain neuronet.com.my >> >> >> >> >> >> >> Can anyone pls point me in the right direction here? >> Evi Nemeth's normally very helpful book is confusing me with routing and >> "route" . >> if you could email me at sweeting@tm.net.my, i would be extremely grateful. >> >> thank you very much in advance., >> >> chas >> >> >> >> >> ps. >> >> also, the results of ifconfig -a >> ---------------------------------- >> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 >> zp0: flags=1843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0> mtu 1500 >> inet 202.184.153.84 netmask 0xffffff00 broadcast 202.184.153.255 >> inet 202.184.153.18 netmask 0xffffffff broadcast 202.184.153.18 >> ether 00:a0:24:ac:13:e7 >> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 >> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 >> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 >> inet 127.0.0.1 netmask 0xff000000 >> >> >> /etc/hosts >> ---------- >> 127.0.0.1 localhost.word.com.my localhost >> 202.184.153.84 word.com.my word >> 202.184.153.3 duke.neuronet.com.my >> >> >> >> >> >> >> >> >> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01540b04af429d90ffba>
