On 13-Apr-06 Ewan Leith wrote:
What output does
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:10:5A:8A:FB:90 inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNIG MULTICAST MTU:1500 Metric:1 [etc]
and
netstat -r -n
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.3 0.0.0.0 UG 0 0 0 eth0
give you?
Also, a traceroute 192.168.0.1 might give some insight
Interestingly, traceroute finds it:
1 192.168.1.3 (192.168.1.3) 2.388 ms [etc] 2 192.168.0.1 (192.168.0.1) 1.111 ms [etc]
However, 'ping' won't work, nor will 'telnet'.
BUT: If I go to machine 192.168.0.1, I can ping 192.168.1.5 successfully, so the pings are getting there AND coming back!
Any clues in the above?
Thanks, Ewan, and Simon also for the same suggestions!
Ewan
On 4/13/06, Ted Harding Ted.Harding@nessie.mcc.ac.uk wrote:
Hi Folks,
I thought I'd toy with Slaxkware in the shape of the "Slackware Live", or "Slax", CD for which an ISO can be downloaded from
It seems very nice! But there's a network problem which puzzles me.
I tried it on a laptop, whose normal LAN address is 192.168.1.5, using as gateway another machine on that net is 192.168.1.3 and which also connects to an ADSL router which has address 192.168.1.1; and has a second NIC for local subnet 192.168.0.0
So, once I'm logged in to Slax (which defaults its network to 192.168.0.0), I
ifconfig -a eth0 192.168.1.5
which seems to do that job OK; then
route del default eth0 route add default gw 192.168.1.3 eth0
which also seems to do that job OK. When I now do
ifconfig
and
route
the results are identical to what that laptop has in normal use.
However, while I can
ping 192.168.1.3 [the gateway nachine] ping 192.168.1.1 [the router]
any attempt to say
ping 192.168.0.1 [a third machine on the other subnet]
or any external IP address such as
ping 130.88.200.20
fails. It's as though the gateway is not acting as a gateway.
I can't make out why this should be so, since the laptop setup looks the same as it does in normal use, and nothing has been changed on any other machine.
Any ideas, anyone?
With thanks, and best wishes, Ted.
E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 13-Apr-06 Time: 11:26:03 ------------------------------ XFMail ------------------------------
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 13-Apr-06 Time: 12:45:18 ------------------------------ XFMail ------------------------------