In article <chpkq0$ae9$(E-Mail Removed)>,
(E-Mail Removed) says...
> BGates <(E-Mail Removed)> writes:
>
> ]I'm trying to get my WRT54G setup so it can ping / communicate outside
> ]of my network. Right now I have it connected directly into my Linksys
> ]BEFSR41 4-port DSL router, which is connected to my DSL modem.
>
> ]I've installed the Sveasoft Satori v4.0 firmware, so I can get a SSH
> ]shell going. The problem is that I cannot ping outside of my network
> ]from my WRT54G (192.168.1.2), but I can ping the BEFRS41 at 192.168.1.1
> ]fine - here's my setup:
>
> ]BEFSR41 - 192.168.1.1
> ](DHCP server enabled)
>
> ]WRT54G - 192.168.1.2 (static IP)
> ](DHCP server disabled)
>
> ??? no idea what you mean. You cannot have two routes to any host. Use one
> or the other.
>
Well, I have a route defined, my default gw address (as shown below)
that goes to 192.168.1.1, therefore I can ping from 192.168.1.2 to
192.168.1.1 as well as any other computer inside my 192.168.1.* subnet
network.
>
> ]Is there a routing problem, here's my routing table (I hope the
> ]formatting is okay):
>
>
> ]Kernel IP routing table
> ]Destination Gateway Genmask [Iface]
> ]192.168.1.0 0.0.0.0 255.255.255.0 br0
> ]192.168.1.0 0.0.0.0 255.255.255.0 vlan1
> ]127.0.0.0 0.0.0.0 255.0.0.0 lo
> ]0.0.0.0 192.168.1.1 0.0.0.0 vlan0
> ]0.0.0.0 192.168.1.1 0.0.0.0 br0
>
> You forgot to include the interface. If those doubles are on different
> interfaces, they make no sense. There can be only one interface for a
> route. The last one set will be the opertive one. Otherwise teh machines on
> the net would get schizophrenic. Ie, get rid of those doubling ups of the
> routes.
>
>
>
> ](continued...)
>
> ]Flags MSS Window irtt Iface
> ]U 40 0 0 br0
> ]U 40 0 0 vlan1
> ]U 40 0 0 lo
> ]UG 40 0 0 vlan0
> ]UG 40 0 0 br0
>
>
> If these are the continuation of the previous lines then as I said they
> make no sense. Having the same route on two different interfaces (br0 and
> vlan1) does not work. Only the last one defined will be used. What did you
> think would happen?
I should mention, I didn't create any new interfaces, these are what
comes with it. In other words, this is what is there by default. There
is some sort of br0 (bridging) going on, I believe.
>
>
> ]Here's what `ifconfig` says:
>
> Sheesh 5 interfaces?? That is nuts.
>
> and different named interfaces for the same card? (same hardware MAC
> addresses) What are you trying to do?
>
> br0 and eth0 and vlan0 are the same MAC.
>
Also, I was wondering: eth1 only has TX errors, while br0, eth0 and
vlan0 all have the same TX/RX statistics.
>
>
>
> ]br0 Link encap:Ethernet HWaddr 00:0F:66:46:91:88
> ] inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
> ] UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> ] RX packets:4508 errors:0 dropped:0 overruns:0 frame:0
> ] TX packets:4421 errors:0 dropped:0 overruns:0 carrier:0
> ] collisions:0 txqueuelen:0
> ] RX bytes:378893 (370.0 KiB) TX bytes:753654 (735.9 KiB)
> ]
> ]eth0 Link encap:Ethernet HWaddr 00:0F:66:46:91:88
> ] UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> ] RX packets:4508 errors:0 dropped:0 overruns:0 frame:0
> ] TX packets:4421 errors:0 dropped:0 overruns:0 carrier:0
> ] collisions:0 txqueuelen:100
> ] RX bytes:482606 (471.2 KiB) TX bytes:771338 (753.2 KiB)
> ] Interrupt:5 Base address:0x2000
> ]
> ]eth1 Link encap:Ethernet HWaddr 00:0F:66:46:91:8A
> ] UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
> ] RX packets:0 errors:0 dropped:0 overruns:0 frame:110165
> ] TX packets:0 errors:1452 dropped:0 overruns:0 carrier:0
> ] collisions:0 txqueuelen:100
> ] RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> ] Interrupt:4 Base address:0x1000
> ]
> ]lo Link encap:Local Loopback
> ] inet addr:127.0.0.1 Mask:255.0.0.0
> ] UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
> ] RX packets:3 errors:0 dropped:0 overruns:0 frame:0
> ] TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
> ] collisions:0 txqueuelen:0
> ] RX bytes:195 (195.0 B) TX bytes:195 (195.0 B)
> ]
> ]vlan0 Link encap:Ethernet HWaddr 00:0F:66:46:91:88
> ] UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> ] RX packets:4508 errors:0 dropped:0 overruns:0 frame:0
> ] TX packets:4421 errors:0 dropped:0 overruns:0 carrier:0
> ] collisions:0 txqueuelen:0
> ] RX bytes:401462 (392.0 KiB) TX bytes:771338 (753.2 KiB)
> ]
> ]vlan1 Link encap:Ethernet HWaddr 00:0F:66:46:91:89
> ] inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
> ] 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:0
> ] RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> ]
>
>