Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 07:29:20 +0900
From:      Luke Kearney <lukek@meibin.net>
To:        Marty Landman <MLandman@face2interface.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: No route to host
Message-ID:  <20031110072322.8868.LUKEK@meibin.net>
In-Reply-To: <6.0.0.22.0.20031109102036.04408558@pop.face2interface.com>
References:  <20031109235155.8861.LUKEK@meibin.net> <6.0.0.22.0.20031109102036.04408558@pop.face2interface.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 09 Nov 2003 12:21:09 -0500
Marty Landman <MLandman@face2interface.com> granted us these pearls of wisdom:

> 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^}
> 

OK I think I see the problem. Your winblows machines are on a different
network to the FBSD machine. Change FBSD to 192.168.0.7 and all should
be just fine. There is no route to host for the other machines because
as far as FBSD is concerned the other machines should be on a different
wire.

BTW 

> >in your rc.conf
> >
> >firewall_enable="yes"

the above was a typo on my part. should have been enable="no".
Nevertheless I think once you re-ip you will be pinging away quite
nicely.

HTH 

LukeK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031110072322.8868.LUKEK>