Bekijk de volledige versie : Seperate eth1 from br0

07-03-2007, 19:14
My goal is to seperate eth1 from br0 so Wifi users can surf the internet but not be able to access any machines on the wired lan. Like a free hotspot.

I have a wl500gx with Olegs firmware, running as an Access-Point.
What I have done is
brctl delif br0 eth1
which successfully removes the wlan from br0.
Then I run
ifconfig eth1 down
ifconfig add mask eth1 up
which successfully adds the IP to eth1 and I can see in ifconfig.
Adding the IP also appears to automatically add a route to the routing table.
Just running route shows that it is added to the interface eth1.
However looking on the webadmin page it shows the route for as WAN eth1, with the route for being LAN br0.
The end result is I am not even able to ping from a wireless device even though i set a static IP of I have a suspicion that "WAN" on the routes page on the webadmin page is a big tipoff, however I do not know how to fix that.

Am I missing any steps on successfully removing eth1 from br0?
Are there any IPTABLES that need adjustment?
Bonus question, how would I go about making it perminant so I do not have to put these commands in the post-boot script.