Click to See Complete Forum and Search --> : Ping but no resolve


7
10-30-2001, 10:39 AM
Hi

I boot into a boot/root disk I've made from busybox. I type:

# ifconfig eth0 hw ether 00:50:FC:23:7C:FA up # Forge MAC address of card.

# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:FC:23:7C:FA <- accepts new address
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0x340

# pump

# ping -c 1 www.yahoo.com (http://www.yahoo.com)
ping: www.yahoo.com: (http://www.yahoo.com:) Resolver Error 0 (no error)

# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:FC:23:7C:FA
inet addr:62.31.151.73 Bcast:255.255.255.255 Mask:255.255.255.0 <- connected okay
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:156 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:15176 (14.8 kb) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0x340

# cat /etc/resolv.conf
search blueyonder.co.uk co.uk
nameserver 62.31.144.119 <-
nameserver 62.31.144.120 <- pump sets up dns server addresses okay

# ping -c 1 62.31.144.119
PING 62.31.144.119 (62.31.144.119): 56 data bytes
64 bytes from 62.31.144.119: icmp_seq=0 ttl=252 time=17.1 ms

--- 62.31.144.119 ping statistics ---
1 packets transmitted, 1 packets recieved, 0% packet loss
round-trip min/avg/max = 17.1/17.1/17.1 ms


I'm quite lost. I have Debian (potato) installed on the computer's hard drive and the above works perfectly (the ping to yahoo returns). Does anyone know what ping: www.yahoo.com: (http://www.yahoo.com:) Resolver Error 0 (no error) means? Is it some sick joke?

Cheers.

[ 30 October 2001: Message edited by: 7 ]

[ 30 October 2001: Message edited by: 7 ]

error27
10-30-2001, 11:42 AM
Fascinating... I have never seen anything like that.

My guess is that it is some kind of sick joke.

Are you behind a firewall?

7
10-30-2001, 11:57 AM
Nope. :(

What I'm trying to do is use a 486 as a NAT router, like this:

+~~~~~~~~~~+
| internet |------[ 486 ]----[ hub ]
+~~~~~~~~~~+ | |
<BOX 1>----+ |
+---<BOX 2>

My cable modem plugs straight into the 486.

The strange thing is that with the Debian install the above commands work perfectly. I'm using the same software (pump) to set up dhcp, so... ?

7
10-30-2001, 12:09 PM
Want more strangeness?

After pump under my busybox disk, the routing tables show:


# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
62.31.151.0 * 255.255.255.0 U 0 0 0 eth0

Under Debian, right after pump I get:

Priss:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
62.31.151.0 * 255.255.255.0 U 0 0 0 eth0
default s01-ubr02-fn.bl 0.0.0.0 UG 0 0 0 eth0

So I try to add a default route. Back under busybox:

# route add default gw eth0
route: can't resolve gw eth0


[ 30 October 2001: Message edited by: 7 ]