Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Bridging multiple vlans

Posted on 2007-04-04
4
Medium Priority
?
981 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

610 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