View Full Version : Broken NAT with bridge mode
torjon
05-20-2006, 01:06 PM
NAT with bridge on StarOS 2 works good like:
ether1 10.0.0.1/24 bridge 0
wpci1 192.168.1.1/24 bridge 1
wpci2 bridge 1
default route gw 192.168.1.100
masq from 10.0.0.0/24 to dev wpci1
but on StarOS 3 it's not work :(
masq works good only without bridge
lonnie
05-20-2006, 04:58 PM
I guess I have to ask - Why do you require the two radios to be bridged? You are using private IP addresses, so what reason do you have? Typically people do that to make it easy to use their public subnet, but you do not have that issue.
Are you using AP mode on both radios?
torjon
05-21-2006, 12:50 AM
It's like on http://www.staros.pl/NAT_WAR.pdf. I change WRAP to WAR and I'm in trouble.
lonnie
05-21-2006, 09:25 AM
That diagram is quite a bit diferrent than the thread explanation. It should work for you as diagrammed. Set config as below: (it is like this on your drawing, but just check to make sure)
ether1 and wpci1 should be in bridge group 1,
wpci2 should be 0 for not bridged.
ether1 should have the public IP and the masq statement should use ether1 as the device for the wpci2 subnet. It will be as if wpc1 does not exist.
It's like on http://www.staros.pl/NAT_WAR.pdf. I change WRAP to WAR and I'm in trouble.
torjon
05-21-2006, 10:36 AM
You described situation from my diagram. I'm using exactly the same config like from you. It works with StarOS 2 ok but with v 3 not. I double check this on desk with WAR 2.
It's not my network I sold WAR to my client who needs more powerfull board. I can't change CA8 to WRAP or WAR with StarOS ;)
I have different question:
It's possible to extend Atheros driver to 5212A + 5111 + 2111 (5001X+) ? I see only 5212A + 5112 (5002) :(
5001X+ are very good better than 5002 or 5004.
We don't have plans to include support for legacy Atheros cards, however we do support the 5212A MAC with all Atheros supported PHY combinations, so the 5001X+ should be supported.
Update: The starv3 website has been updated to better reflect supported chipsets.
We will look into adding bridge/nat support in future releases.
Thanks!
torjon
05-21-2006, 11:30 AM
It's not supported I check 2 5001X+ from different producer. Card is recognized but it hang at the next (configuration) step.
Does the system hang (lockup), or does the card hang (seems idle, or 'deaf'). ?
Can you provide a system log snippet?
lonnie
05-21-2006, 02:19 PM
What would be the reason for using technology that is 4 generations old? What does it add that a new card would lack?
It's not supported I check 2 5001X+ from different producer. Card is recognized but it hang at the next (configuration) step.
torjon
05-22-2006, 01:34 AM
I'm sorry but i can't send logs beacouse I sold 533 WARs. WAR2 is without RS232 :(
System started ok but hang when Atheros card (5212A + 5111A + 2111A) is configured (detected ok). http://www.staros.pl/5001X.JPG