No route to host

Marty Landman MLandman at face2interface.com
Sun Nov 9 09:21:16 PST 2003


At 09:53 AM 11/9/2003, Luke Kearney wrote:

>please make a rough ascii sketch of your network and post the output to
>the following :-
>
>netstat -rn
>ifconfig -a
>
>in your rc.conf
>
>firewall_enable="yes"

Ok, I edited rc.conf and rebooted; when trying to ping myself by ip or as 
localhost got "Permission denied" so I then did "ipfw disable firewall" and 
was able to do  those two pings. And when trying to then ping some other 
nodes again got "No route to host".

my local area network:

192.168.0.1 (win-xp)
192.168.0.150 (win-95)
192.168.7.7 (freebsd-4.8/mini)
192.168.0.3 (win-98)
192.168.0.160 (win-95)

these five boxes each have a nic and all connect to a switch.

#netstat -rn

Routing tables

Internet:
Destination               Gateway           Flags      Refs         Use 
   Netif Expire
127.0.0.1                  127.0.0.1          UH               0 
  0         lo0
192.168.7                 link#1               UC               1 
   0         ep0
192.168.7.7              00:20:af:4d:24:b7 
UHLW        0             1         lo0

Internet6:
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
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
           inet 192.168.7.7 netmask 0xffffff00 broadcast 192.168.7.255
           inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1
           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 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552


Hey Luke, wanna hear something funny? I didn't want to take 20 minutes to 
write all this so I spent an hour and a half instead trying to mount a 
floppy and then copy the output from these commands onto it so I could then 
copy & paste the verbiage onto my email from a windows box. Didn't get it 
working though. 8^}


Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml



More information about the freebsd-questions mailing list