[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: route table behind router



Hello,

Mike McClain a écrit :
> 
>     I can access the windows box through the router via smbclient.
> Even with IPtables that are ACCEPT, ACCEPT, ACCEPT, ... neither lynx
> or Firefox can access the inet though they can access the router. 

Web browers are poor tools when it comes to check IP connectivity.
Try ping and traceroute instead, with both host names and numeric IP
addresses as targets.

> root@/deb40a:~> ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:01:02:38:DA:9F
>           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:2755 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1319 errors:0 dropped:0 overruns:0 carrier:1
>           collisions:0 txqueuelen:1000
>           RX bytes:679139 (663.2 KiB)  TX bytes:184119 (179.8 KiB)
>           Interrupt:10 Base address:0x6500
>           ...
> root@/deb40a:~> route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

This looks perfectly fine. What about /etc/resolv.conf ?


Reply to: