LAPTOP has iptables running. Even when I disable iptables, I still cannot resolve names.
from PC:
[root@epc ~]# cat /etc/resolv.conf
search triad.rr.com
nameserver 24.25.5.150
nameserver 24.25.5.149
[root@epc ~]# ping
www.linuxquestions.org
ping: unknown host
www.linuxquestions.org
[root@epc ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:01:02:07:1D
2
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::201:2ff:fe07:1dd2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:559 errors:0 dropped:0 overruns:0 frame:0
TX packets:431 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:54850 (53.5 KiB) TX bytes:46268 (45.1 KiB)
Interrupt:3 Base address:0xcf80
[root@epc ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
[root@epc ~]#
From LAPTOP:
[root@omni6k ~]# ping
www.linuxquestions.org
PING
www.linuxquestions.org (64.179.4.146) 56(84) bytes of data.
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=1 ttl=45 time=41.7 ms
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=2 ttl=45 time=42.9 ms
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=3 ttl=45 time=43.9 ms
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=4 ttl=45 time=44.3 ms
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=5 ttl=45 time=44.5 ms
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=6 ttl=45 time=42.4 ms
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=7 ttl=45 time=41.6 ms
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=8 ttl=45 time=42.4 ms
---
www.linuxquestions.org ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 16109ms
rtt min/avg/max/mdev = 41.688/43.011/44.569/1.062 ms
[root@omni6k ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:04:75:19:90:57
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::204:75ff:fe19:9057/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:442 errors:0 dropped:0 overruns:0 frame:0
TX packets:590 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49000 (47.8 KiB) TX bytes:57178 (55.8 KiB)
Interrupt:10 Base address:0xe400
[root@omni6k ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:02:2D:2D:CD:25
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::202:2dff:fe2d:cd25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8288 errors:12 dropped:12 overruns:0 frame:12
TX packets:4978 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10496008 (10.0 MiB) TX bytes:1052301 (1.0 MiB)
Interrupt:3 Base address:0x100
[root@omni6k ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
[root@omni6k ~]#
---------------------------------
From PC, when I ping
www.linuxquestions, i see the following in Wireshark:
Name:
www.linuxquestions.org.triad.rr.com
triad.rr.com is appended to every query that is put out.
If I edit /etc/resolv.conf and remove the search triad.rr.com, the DNS queries are submitted properly, but the response is never forwarded back to PC.
I will attempt to save and post the screenshot from the Wireshark capture.