I have two Atheros wireless NICs using ar9223 and I just try to set[]up a small network between three computers. I use these two wireless NICs in "ad hoc" mode on two computers and another computer is connected to one of them just by cable. I also bridge the wireless interface and wired interface on the middle PC. All IPs were set as static IP.
It's like this:
I thought this should work without a problem, but I cannot
That means on PC1 I could ping 192.168.4.2 and 192.168.2.1 also 192.168.6.1 but not 192.168.6.2 and on PC3 I can ping 192.168.6.1 and 192.168.2.1 also 192.168.4.2 but not 192.168.4.1.
After a search in the forums I found that it was said not all wireless NICs support bridge mode; does this include Atheros wireless NICs? If Atheros wireless NICs do not support bridge, is there some other way to set up such a network? Do I need a router all run DHCP with NAT on PC2? [ what? -- Mod ]
It would be greatly appreciated it if someone could offer some help!!!
It's like this:
Code:
(PC1 wlan0 192.168.4.1/24) <---->(192.168.4.2/24 wlan0 PC2 em0 192.168.6.1/24)<-------->(192.168.6.2/24 em0 PC3)
bridge0 192.168.2.1/24
ping from PC1 to PC3. After adding a route to the table ping works fine between PC1 and PC2 also fine between PC3 and PC2, but just fails between PC1 and PC3.That means on PC1 I could ping 192.168.4.2 and 192.168.2.1 also 192.168.6.1 but not 192.168.6.2 and on PC3 I can ping 192.168.6.1 and 192.168.2.1 also 192.168.4.2 but not 192.168.4.1.
After a search in the forums I found that it was said not all wireless NICs support bridge mode; does this include Atheros wireless NICs? If Atheros wireless NICs do not support bridge, is there some other way to set up such a network? Do I need a router all run DHCP with NAT on PC2? [ what? -- Mod ]
It would be greatly appreciated it if someone could offer some help!