Link to home
Start Free TrialLog in
Avatar of mb2297
mb2297

asked on

Bridging multiple vlans

Hello experts,

I've got a machine with three physical interfaces. Over each of the physical interfaces I run two vlans - an operational vlan and a management vlan.

The operational vlans are segmented so that there are 3 different subnets on each physical interface:

eth1 has eth1.1 (10.1.1.0/24)
eth2 has eth2.2 (10.1.2.0/24)
eth3 has eth3.3 (10.1.3.0/24)

The management vlan is currently segmented into subnets also:

eth1 has eth1.10 (10.10.1.0/24)
eth2 has eth2.10 (10.10.2.0/24)
eth3 has eth3.10 (10.10.3.0/24)

I'd like to have it so there's a single management subnet shared between all the machines:

e.g.
eth1 has eth1.10 (10.10.0.0/16)
eth2 has eth1.10 (10.10.0.0/16)
eth3 has eth1.10 (10.10.0.0/16)

I tried defining all the management vlans and then bridging them all with a single interface with the correct /16 subnet mask. My /etc/network/interfaces for that follows. The machine that is being configured is given 10.10.10.10 as it's IP address.

# Physical interfaces
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet manual

auto eth2
iface eth2 inet manual

auto eth3
iface eth3 inet manual

# Management network interfaces
auto eth1.10
iface eth1.10 inet manual

auto eth2.10
iface eth2.10 inet manual

auto eth3.10
iface eth3.10 inet manual

auto manbr0
iface manbr0 inet static
bridge-ports eth1.10 eth2.10 eth3.10
address 10.10.10.10
netmask 255.255.0.0


When I try to bring up manbr0, I get:

SIOCSIFADDR: No such device
manbr0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
manbr0: ERROR while getting interface flags: No such device
Failed to bring up manbr0.

How can I achieve what I'm trying to do?

Many thanks,
Matt.

Avatar of djohnson104
djohnson104
Flag of United States of America image

What hardware are you using?
Avatar of mb2297
mb2297

ASKER

They're all ubuntu boxes with identical NICs (I don't remember the manufacturer/model), linked together via a NetGear switch.

The switch isn't capable of tagging or detagging the frames -- that all gets left up to the linux kernel.

There's no fancy hardware stuff going on at all.

Thanks,
Matt.
ASKER CERTIFIED SOLUTION
Avatar of mb2297
mb2297

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial