Solved

Bridging multiple vlans

Posted on 2007-04-04
4
911 Views
Last Modified: 2008-02-01
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.

0
Comment
Question by:mb2297
  • 2
4 Comments
 
LVL 2

Expert Comment

by:djohnson104
ID: 18852740
What hardware are you using?
0
 

Author Comment

by:mb2297
ID: 18853165
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.
0
 

Accepted Solution

by:
mb2297 earned 0 total points
ID: 18867750
Ok, I figured this one out. The problem was simply that 'bridge-utils' wasn't installed on the machine I was trying to use.

I guess the "SIOCSIFADDR: No such device" was the kernel complaining because it didn't understand what to do with my bridge device.

Thanks anway.

Matt.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let’s list some of the technologies that enable smooth teleworking. 
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now