Wed Dec 26, 2007 5:17 pm
HI,
Where is the public Ip? in a PC or a modem that has an interface towards your network that you can change ...
Because u need to have an IP of ether1. u can use a classe C like 172.30.1.0/24 to do all and still save some IPs
starting the PC with public Ip. Must be 172.30.1.1/30 that connects to your C1 ether port that will be 172.30.1.2/30
then C1 wlan is 172.30.1.5/30 that connects to S1 172.30.1.6/30. the other side S2 will be 172.30.1.9/30 and the wlan on C2 is 172.30.1.10/30. The ether of C2 is 172.30.1.13/30 and the PC (or other thing) must be 172.30.1.14/30.
On that PC gateway is 172.30.1.13 on C2 gateway is 172.30.1.9 on base station gateway is 172.30.1.5 and finally on C1 gateway is 172.30.1.1
On PC with publicIP add route 172.30.1.14 (PC at C2) gateway 172.30.1.2 , on C1 add route 172.30.1.14 gateway 172.30.1.6 at base station add route 172.30.1.14 gateway 172.30.1.10 .
At the public Ip machine u need to masquerade your internal Ips
I hope u can understand this.