Hello!
I tried almost everything, but still no result. I have a problem routing between my wireless and wired network. Here is the topology of my network.
http://img221.imageshack.us/img221/4...kschemecw5.png
Info on my Linux router box
Code:
root@ubuntuRouter:~# ifconfig
ath0 Link encap:Ethernet HWaddr 00:19:E0:8A:F3:9D
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:e0ff:fe8a:f39d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1703 errors:0 dropped:0 overruns:0 frame:0
TX packets:190 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:127771 (124.7 KiB) TX bytes:19222 (18.7 KiB)
eth0 Link encap:Ethernet HWaddr 00:10:5A:C4:43:75
inet addr:192.168.2.254 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::210:5aff:fec4:4375/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3321 errors:0 dropped:0 overruns:0 frame:0
TX packets:1263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:315295 (307.9 KiB) TX bytes:131601 (128.5 KiB)
Interrupt:10 Base address:0x400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:488 (488.0 b) TX bytes:488 (488.0 b)
wifi0 Link encap:UNSPEC HWaddr 00-19-E0-8A-F3-9D-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13996 errors:0 dropped:0 overruns:0 frame:696
TX packets:357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:2020000 (1.9 MiB) TX bytes:38763 (37.8 KiB)
Interrupt:11
root@ubuntuRouter:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"RostfreiNetwork" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 00:1D:68:F5:27:9D
Bit Rate:48 Mb/s Tx-Power:16 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:6159-6424-8D04-77EB-23F3-2510-4C07-9092 Security mode:restricted
Power Management:off
Link Quality=29/94 Signal level=-67 dBm Noise level=-96 dBm
Rx invalid nwid:303 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@ubuntuRouter:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
root@ubuntuRouter:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@ubuntuRouter:~# cat /proc/sys/net/ipv4/ip_forward
1
root@ubuntuRouter:~# arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.2.10 ether 00:15:99:24:94:A3 C eth0
192.168.1.66 ether 00:1D:E0:7F:8F:2B C ath0
192.168.1.254 ether 00:1D:68:F5:27:9B C ath0
192.168.2.5 ether 00:E0:18:ED:87:7D C eth0
Info on my Linux desktop
Code:
root@ubuntu-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:18:ed:87:7d
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:18ff:feed:877d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9626 errors:0 dropped:0 overruns:0 frame:0
TX packets:21762 errors:0 dropped:0 overruns:0 carrier:0
collisions:8 txqueuelen:1000
RX bytes:2208209 (2.1 MB) TX bytes:1679797 (1.6 MB)
Interrupt:20
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10299 errors:0 dropped:0 overruns:0 frame:0
TX packets:10299 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:805892 (787.0 KB) TX bytes:805892 (787.0 KB)
root@ubuntu-desktop:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.2.254 0.0.0.0 UG 100 0 0 eth0
root@ubuntu-desktop:~# ping 192.168.2.10
PING 192.168.2.10 (192.168.2.10) 56(84) bytes of data.
64 bytes from 192.168.2.10: icmp_seq=1 ttl=255 time=2.77 ms
64 bytes from 192.168.2.10: icmp_seq=2 ttl=255 time=0.249 ms
root@ubuntu-desktop:~# ping 192.168.2.254
PING 192.168.2.254 (192.168.2.254) 56(84) bytes of data.
64 bytes from 192.168.2.254: icmp_seq=1 ttl=64 time=0.273 ms
64 bytes from 192.168.2.254: icmp_seq=2 ttl=64 time=0.226 ms
root@ubuntu-desktop:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.250 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.254 ms
root@ubuntu-desktop:~# ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
--- 192.168.1.254 ping statistics ---
24 packets transmitted, 0 received, 100% packet loss, time 23004ms
root@ubuntu-desktop:~# arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.2.254 ether 00:10:5A:C4:43:75 C eth0
192.168.2.10 ether 00:15:99:24:94:A3 C eth0
From Linux desktop I can ping both wired and wireless interfaces (eth0 and ath0) on the Linux router, but I can't ping the SpeedTouch wireless ADSL router address 192.168.1.254. The same goes from Vista laptop from which I can ping wireless interface on the Linux router (ath0), but I can't ping wired network (eth0). Traffic is somehow not wired between networks if the traffic is coming from outside of Linux router box. Why not? I have ip_forward enabled.
Best regards,