connection timed out on freebsd 7.0

Benno bennovandenberg at gmail.com
Thu Oct 18 06:27:16 PDT 2007


On 10/18/07, Yi Wang <wangyi6854 at gmail.com> wrote:
> Hi,
>
> My box is running FreeBSD 7.0 ( upgrade from 6-stable using src ).
>
> My problem is I can't connect to the network outside the router. eg.
> www.FreeBSD.org. Neither http nor ftp. But I can ping them. I can
> assure you that DNS works fine and the firewall is turned off.
>
> Here's some diagnostic messages:
>
> # uname -a
> FreeBSD wangyi.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Wed Oct
> 17 19:19:47 CST 2007     root at wangyi.com:/usr/obj/usr/src/sys/MYKERNEL
>  i386
>
> # ifconfig -a
> le0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=8<VLAN_MTU>
>         ether 00:0c:29:3c:47:47
>         inet 172.20.53.106 netmask 0xffffff00 broadcast 172.20.53.255
>         inet 192.168.0.106 netmask 0xffffff00 broadcast 192.168.0.255
>         media: Ethernet autoselect
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>         inet6 ::1 prefixlen 128
>         inet 127.0.0.1 netmask 0xff000000
> vmnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 00:bd:e4:45:00:01
>         inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
>
> PS: This is the result in vmware. I made a dual boot system and run it
> in vmware using raw disk.
> Actually, the real interface is nfe0.
>
> Sorry for my poor English.
>
> Thanks very much!
>
> --
> Regards,
> Wang Yi
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
>

Hi,

Have you setup your default route? check 'netstat -r', if you haven't
use 'route add default <router_ip>'

-- Benno


More information about the freebsd-stable mailing list