EFW Support

Support => General Support => Topic started by: imp on Friday 06 February 2009, 04:05:51 pm



Title: Multi-WAN routing issue
Post by: imp on Friday 06 February 2009, 04:05:51 pm
Installed 2.2 RC2. Set up rules as per our network. All fine with that setup.

Aim to have 1 GREEN and 4 RED interfaces (due to 4 WAN interfaces).

eth0 ends up as br0 (GREEN)

eth1 through eth4 end up as RED interfaces, aiming to be 4 eth DHCP adapters.

Interim plan is to route both ways (existing network arch) + Endian as a staged rollout of Endian. All interfaces thus far (RED and GREEN) are on the same subnet.

The GREEN adapter, on boot, should be able to route through the rest of the internal network to reach Google. It doesn't. So I add in an extra route using /sbin/route under SSH. That gets me external (Net) access back.

Routing table then looks like this:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 br0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 br0

However, whenever I plug in any of the router ethernet cables, the routing table defaults to that eth device (i.e. eth1 through eth4) and drops any mention of the bridge (br0). Digging around shows this to be due to dnsmasq.

How do I fix it? I need a staged rollout for a multi-WAN setup using Endian and dnsmasq (it seems) won't allow me. What do I need to hack / change / update to make it work the way I want?