On Tue, Jun 22, 2004 at 02:15:46AM +0000, Jorge Manuel B. S. Vicetto wrote:
I am not sure what traceroutes I should report since I can't get any routes
to work!
For future reference, a traceroute from this station to a printer would
let you
see that the station wasn't contacting the gateway. Traceroutes are a very
powerful tool to discover routing problems.
Here's an example:
At home I have a server, atlantis, with the 172.28.2.5 IP address and a
gateway,
fw, with the 172.28.2.2 IP address.
fw:~ # ip addr
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
2: sit0@NONE: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
3: eth0: mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:04:76:0f:99:59 brd ff:ff:ff:ff:ff:ff
inet 172.28.2.2/24 brd 172.28.2.255 scope global eth0
inet6 fe80::204:76ff:fe0f:9959/64 scope link
4: eth1: mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:01:02:fa:e0:9e brd ff:ff:ff:ff:ff:ff
inet 10.0.0.5/24 brd 10.0.0.255 scope global eth1
inet6 fe80::201:2ff:fefa:e09e/64 scope link
fw:~ #
I notice that your output from "ip addr" says that eth0 is "PROMISC". What
does this mean? My eth0 is "NOTRAILERS" and I don't know what this means
either!
#ip addr
1: lo: mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlan0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:09:5b:ba:65:c9 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.2/24 brd 192.168.0.255 scope global wlan0
inet6 fe80::209:5bff:feba:65c9/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noqueue
link/sit 0.0.0.0 brd 0.0.0.0
4: vmnet8: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:56:c0:00:08 brd ff:ff:ff:ff:ff:ff
5: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:81:28:73:f9 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
inet6 fe80::2e0:81ff:fe28:73f9/64 scope link
valid_lft forever preferred_lft forever
#
Here is a traceroute to a printer
traceroute to 192.168.1.5 (192.168.1.5), 30 hops max, 40 byte packets
1 192.168.1.5 3.252 ms 2.896 ms 4.236 ms
and to my wife's mac on the other subnet
traceroute to 192.168.0.22 (192.168.0.22), 30 hops max, 40 byte packets
1 192.168.0.22 9.513 ms 12.508 ms 9.897 ms
As I said in another message I changed the netmask on the laptop and printer
to /24 but nothing seems to have improved.
Can you suggest something I should be reading? I usually rely on Welsh et
al "Running Linux" but I think I have exhausted it in this case.
Thanks to you and Anders,
Best regards, Henry Harpending