[plug] Misconfiguration on server tcp/routing
Peter
demo9 at gswd.com
Sat Feb 20 13:09:58 WST 2010
Lucas van Staden wrote:
> Hello.
>
> I have found an odd problem on my webserver box (use purely to just
> host my own two personal websites)
>
> I cannot seem to ping certain addresses, but browsing them from links,
> works fine.
> Some work fine.
> For the life of me I cannot find what is wrong.
> Other machines on this network works fine.
> I am sure it is something obvious, but I just can't see it.
>
> web at webserver:~$ ping www.google.com
> PING www.l.google.com (66.102.11.104) 56(84) bytes of data.
> From 192.168.0.6 icmp_seq=1 Destination Port Unreachable
>
> (takes about 1-2 minutes for that response, and for each thereafter)
>
> Network setup:
>
> auto eth1
> iface eth1 inet static
> address 192.168.0.6
> netmask 255.255.255.0
> gateway 192.168.0.1
> network 192.168.0.0
> broadcast 192.168.0.255
>
> web at webserver:~$ sudo route -n
> [sudo] password for web:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
> 0 eth1
> 0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0
> 0 eth1
>
> web at webserver:~$ sudo ifconfig
> eth1 Link encap:Ethernet HWaddr 00:13:8f:a3:cd:e1 inet
> addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::213:8fff:fea3:cde1/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:13720 errors:0 dropped:0 overruns:0 frame:0
> TX packets:18280 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:4039608 (4.0 MB) TX bytes:16416771 (16.4 MB)
> Interrupt:20 Base address:0xd800
>
> lo Link encap:Local Loopback inet addr:127.0.0.1
> Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:434 errors:0 dropped:0 overruns:0 frame:0
> TX packets:434 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:65165 (65.1 KB) TX bytes:65165 (65.1 KB)
>
> web at webserver:~$ traceroute www.google.com
> traceroute to www.google.com (66.102.11.104), 30 hops max, 40 byte
> packets
> 1 (192.168.0.6) 0.090 ms 0.038 ms 0.034 ms
>
> Does not go any further
>
> I new d-link modem/router has been put in use, and I am unsure if this
> issue existed before then.
>
> Routing on the router:
>
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 203.59.14.16 203.59.48.28 255.255.255.255 UGH 0 0
> 0 ppp0
> 203.59.14.16 0.0.0.0 255.255.255.255 UH 0 0
> 0 ppp0
> 203.59.48.28 127.0.0.1 255.255.255.255 UGH 0 0
> 0 lo
> 192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0
> 0 br0
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
> 0 br0
> 239.0.0.0 0.0.0.0 255.0.0.0 U 1 0
> 0 br0
> 0.0.0.0 203.59.14.16 0.0.0.0 UG 0 0
> 0 ppp0
>
>
> What could be wrong?
>
Hi Lucas,
Looks like a DNS issue to me. Is the server running DNS (bind)? Do you
have another DNS server on your network or is your modem/router
configured to supply DNS info?
What are the DNS settings you are using on the server (Network
Manager?).... Auto or manual DNS?
What does /etc/resolv.conf look like?
-Peter.
More information about the plug
mailing list