Solved

Bridging multiple vlans

Posted on 2007-04-04
4
896 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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Join & Write a Comment

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 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

12 Experts available now in Live!

Get 1:1 Help Now