Actually I do. Clients are able to connect to the router, as well as
the Internet (I use NAT). However, clients cannot communicate to
other clients. For example, ip 192.168.1.2 (connected through wired
interface) and ip 192.168.1.3 (connected through wireless interface)
are the clients. When I tried to ping from 192.168.1.2 to
192.168.1.3, I ran tcpdump from 192.168.1.3, and I got:
20. 383217 00:11:2f:39:51:ae > ff:ff:ff:ff:ff:ff, ethertype ARP
(0x0806), length 60: arp who-has 192.168.1.3 tell 192.168.1.2
000058 00:16:cb:05:d8:11 > 00:11:2f:39:51:ae, ethertype ARP
(0x0806), length 42: arp reply 192.168.1.3 is-at 00:16:cb:05:d8:11
000513 00:11:2f:39:51:ae > 00:16:cb:05:d8:11, ethertype IPv4
(0x0800), length 98: 192.168.1.2 > 192.168.1.3: ICMP echo request, id
23887, seq 1, length 64
000042 00:16:cb:05:d8:11 > 00:11:2f:39:51:ae, ethertype IPv4
(0x0800), length 98: 192.168.1.3 > 192.168.1.2: ICMP echo reply, id
23887, seq 1, length 64
1. 006677 00:11:2f:39:51:ae > 00:16:cb:05:d8:11, ethertype IPv4
(0x0800), length 98: 192.168.1.2 > 192.168.1.3: ICMP echo request, id
23887, seq 2, length 64
000066 00:16:cb:05:d8:11 > 00:11:2f:39:51:ae, ethertype IPv4
(0x0800), length 98: 192.168.1.3 > 192.168.1.2: ICMP echo reply, id
23887, seq 2, length 64
999905 00:11:2f:39:51:ae > 00:16:cb:05:d8:11, ethertype IPv4
(0x0800), length 98: 192.168.1.2 > 192.168.1.3: ICMP echo request, id
23887, seq 3, length 64
000066 00:16:cb:05:d8:11 > 00:11:2f:39:51:ae, ethertype IPv4
(0x0800), length 98: 192.168.1.3 > 192.168.1.2: ICMP echo reply, id
23887, seq 3, length 64
999919 00:11:2f:39:51:ae > 00:16:cb:05:d8:11, ethertype IPv4
(0x0800), length 98: 192.168.1.2 > 192.168.1.3: ICMP echo request, id
23887, seq 4, length 64
000069 00:16:cb:05:d8:11 > 00:11:2f:39:51:ae, ethertype IPv4
(0x0800), length 98: 192.168.1.3 > 192.168.1.2: ICMP echo reply, id
23887, seq 4, length 64
1. 000057 00:11:2f:39:51:ae > 00:16:cb:05:d8:11, ethertype IPv4
(0x0800), length 98: 192.168.1.2 > 192.168.1.3: ICMP echo request, id
23887, seq 5, length 64
000065 00:16:cb:05:d8:11 > 00:11:2f:39:51:ae, ethertype IPv4
(0x0800), length 98: 192.168.1.3 > 192.168.1.2: ICMP echo reply, id
23887, seq 5, length 64
It looks like there are requests and replies back and forth, but the
output from 192.168.1.2 is:
PING 192.168.1.3 (192.168.1.3) 56(84) bytes of data.
--- 192.168.1.3 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4009ms
Hope this gives more idea on the problem
Thanks,
Reza
On Nov 22, 2006, at 9:47 PM, Michael wrote:
You probably don't have IP forwarding activated.
sysctl -w net.inet.ip.forwarding=1
To set it permanently edit /etc/sysctl.conf
Michael