Afternoon,

I'm trying to bridge two VLANs and want the bridge to acquire it's IP 
configuration via DHCP. I attempted to use the following config but the 
device didn't pick up a lease and was unreachable...

# Loopback
auto lo
iface lo inet loopback

# LAN ports
auto eth0.0
iface eth0.0 inet manual
         switch-ports 0 1 2 3 5*

# WAN port
auto eth0.1
iface eth0.1 inet manual
         switch-ports 4 5

# Bridge
auto br0
iface br0 inet dhcp
         bridge-ifaces eth0.0 eth0.1
         broadcast +

I would have expected the above to work. As soon as I change the config 
for br0 to use a static IP config it all works perfectly.

You might ask why I don't just put all the switch ports in one VLAN and 
get that to acquire a DHCP lease. Well, that works just fine, but it 
means that all of the traffic is switched and does not pass through the 
bridge. I need traffic to/from the WAN to pass through the bridge so 
that I can capture it with tcpdump. Trying tcpdump on setup with just a 
single VLAN containing all ports yields no traffic (except for traffic 
destined to the router itself).

I'm running a WRT54GL with freewrt 1.03 built via the web image builder.

Any bright ideas?

Thanks!

Sam
_______________________________________________
freewrt-users mailing list
freewrt-users@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to