[Ilugc] Need some help with routing on a WA1003A

  • From: arnstein87@xxxxxxxxx (Arnold Noronha)
  • Date: Fri Jul 11 21:05:53 2008

On Fri, Jul 11, 2008 at 7:17 PM, Arnold Noronha <arnstein87@xxxxxxxxx> wrote:

1. Make WA1003A to get the IP thru DHCP from WAN.

I'm not able to do this step :( I too think the rest should be do-able
once I get past this.


And now was able to do this, but I was wrong about the rest. :)
There was a command "udhcpc" after telnet-ing to the router.

# udhcpc -i eth0 &
# info, udhcp client (v0.9.7) started
debug, Sending discover...
debug, Sending select for 123.237.156.122...
info, Subnet mask 255.255.255.0 obtained
info, Router 123.237.156.1 obtained
info, Lease of 123.237.156.122 obtained, lease time 7200
deleting routers
SIOCDELRT: No such process
adding dns 220.225.236.85
adding dns 220.225.236.84
adding dns 202.138.96.47
adding dns 202.138.103.100

# 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 br0
123.237.156.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
239.0.0.0       0.0.0.0         255.0.0.0       U     1      0        0 br0
0.0.0.0         123.237.156.1   0.0.0.0         UG    0      0        0 eth0
# ping 123.237.156.1
PING 123.237.156.1 (123.237.156.1): 56 data bytes

<... stalled... >

So, I get an IP, and I get a route ... yet I can't ping the gateway.
The same process works if I connect the ethernet directly to my laptop
instead of the router. Am I missing anything here?

--Arnold

Other related posts: