Network name resolution problem

Mark Ovens mark at ukug.uk.freebsd.org
Tue Dec 30 15:39:59 GMT 2003


Two machines, both dual-booting WinXP and FreeBSD (one 4.9, the other 
5.1), networked through a Netgear switch with an ADSL router/modem 
(Zyxel Prestige 650R) providing 'net access and is also the DHCP server.

Under both OSes both machines can access the 'net with no problem and 
under XP both machines can see each other (i.e. the other machine 
appears, by hostname, in Explorer). Under FreeBSD however, both machines 
can see each other but I can only use IP addresses to communicate:

/usr/marko{57}% ping redshift
ping: cannot resolve redshift: Unknown host
/usr/marko{58}% ping 192.168.254.1
PING 192.168.254.1 (192.168.254.1): 56 data bytes
64 bytes from 192.168.254.1: icmp_seq=0 ttl=128 time=1.036 ms
64 bytes from 192.168.254.1: icmp_seq=1 ttl=128 time=0.651 ms
64 bytes from 192.168.254.1: icmp_seq=2 ttl=128 time=0.641 ms
^C
--- 192.168.254.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.641/0.776/1.036/0.184 ms
/usr/marko/{59}%

Obviously this is a PITA with dynamic addresses. Is this a config 
problem with the router (i.e. should it be acting as a name server for 
the LAN side) or with my FreeBSD configuration? Four hours of searching 
the 'net has not yielded the answer.

Any ideas anyone?

Thanks

Regards,

Mark Ovens





More information about the Ukfreebsd mailing list