newbie dns mess w/ nic

Marty Landman MLandman at
Wed Nov 12 12:26:21 PST 2003

I had everything working as evidenced by installing a port or two - 
including the Lynx browser which worked; then rebooted last night and now 
can't get dns working again.

My LAN has a windoz xp box with dial up and ICS enabled. It is 
on the network. My FBSD box will ping to localhost, (itself), 
and other boxes on LAN by either name or IP. But when I try to ping google 
etc.. I get "No route to host".

$ cat /etc/rc.conf

# -- sysinstall generated deltas -- # Sat Nov  8 18:24:40 2003
# Created: Sat Nov  8 18:24:40 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file no longer contains just the overrides from /etc/defaults/rc.conf.
ifconfig_ep0="inet netmask media 10baseT/UTP"

$ cat /usr/local/etc/rc.d/
natd -dynamic -interface ep0
dhclient ep0
ifconfig ep0 inet
echo Everone Feeling Better Now? 8^}

$ netstat -rn
Routing tables

Destination        Gateway            Flags    Refs      Use  Netif Expire          UH          2        6    lo0
192.168.0          link#1             UC          3        0    ep0        00:08:74:c0:5e:69  UHLW        2      200    ep0   1065        00:20:af:4d:24:b7  UHLW        0        4    lo0      00:a0:cc:40:55:cf  UHLW        0        2    ep0    735          UGHS        0        2    lo0

Destination                       Gateway                       Flags 
Netif Expire
::1                               ::1                           UH          lo0
fe80::%ep0/64                     link#1                        UC          ep0
fe80::220:afff:fe4d:24b7%ep0      00:20:af:4d:24:b7             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%ep0/32                     link#1                        UC          ep0
ff02::%lo0/32                     ::1                           UC          lo0

$ ifconfig -a
         inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1
         inet netmask 0xffffff00 broadcast
         ether 00:20:af:4d:24:b7
         media: Ethernet 10baseT/UTP
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
         inet6 ::1 prefixlen 128
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
         inet netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552

Hey, at least I've got local connectivity stable now so I can copy and 
paste this stuff... oops maybe I shouldn't have even said anything to jinx 
this. <pondering how bad things will get before some knowledge pervades my 

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website:

More information about the freebsd-questions mailing list