-------------- Original message ----------------------
From: "Thomas D. Dean" <[EMAIL PROTECTED]>
> I had a wired network with a FreeBSD gateway/firewall.  The gateway
> died and I converted to a mixed network with a Belkin N1 wireless
> router.
> 
> I have 2 windows machines and 3 FreeBSD 6.2-stable machines.
> 
> fix etc/rc.conf and reboot.
> 
> dhclient is running.  I have leases and can access the web.
> 
> All machines can ping the outside world by name and any other machine
> by IP.
> 
> The windows machines can ping any other maching by name.
> 
> The FreeBSD machines can not ping any local machine by name.
> 
> What accesses the router to get DHCP info?
> 
> # cat /etc/hosts | sed '/^#/d'
> ::1                     localhost localhost.my.domain
> 127.0.0.1               localhost localhost.my.domain
> # hostname
> dv6000
> # ping dv6000
> ping: cannot resolve dv6000: Unknown host
> 
> I am missing something.  What?
> 
> tomdean
> 
> 
> # cat /var/db/dhclient*
> lease {
>   interface "fxp0";
>   fixed-address 192.168.2.5;
>   option subnet-mask 255.255.255.0;
>   option routers 192.168.2.1;
>   option domain-name-servers 192.168.2.1,66.93.87.2,216.231.41.2;
>   option domain-name "tddhome";
>   option dhcp-lease-time 283824000;
>   option dhcp-message-type 5;
>   option dhcp-server-identifier 192.168.2.1;
>   renew 3 2012/3/28 05:36:11;
>   rebind 3 2015/8/12 02:36:11;
>   expire 0 2016/9/25 17:36:11;
> }
> 
> I cannot get DNS for machines inside the router
> # dig dv6000
> ; <<>> DiG 9.3.4-P1 <<>> dv6000
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 42504
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUESTION SECTION:
> ;dv6000.                                IN      A
> ;; Query time: 0 msec
> ;; SERVER: 192.168.2.1#53(192.168.2.1)
> ;; WHEN: Fri Sep 28 11:37:49 2007
> ;; MSG SIZE  rcvd: 24
> 
> But, I can see machines outside the router
> # dig mail.speakeasy.org
> ; <<>> DiG 9.3.4-P1 <<>> mail.speakeasy.org
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27174
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUESTION SECTION:
> ;mail.speakeasy.org.            IN      A
> ;; ANSWER SECTION:
> mail.speakeasy.org.     60      IN      A       69.17.117.59
> ;; Query time: 1 msec
> ;; SERVER: 192.168.2.1#53(192.168.2.1)
> ;; WHEN: Fri Sep 28 11:46:20 2007
> ;; MSG SIZE  rcvd: 52

Do you have an internal DNS server?  Is it possible the windows boxes are using 
NetBIOS for name resolution, and hence can ping each other by name?  Absent and 
internal DNS server, the FreeBSD machines would be stumped...for internal name 
resolution.

Bob 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to