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
Solved

Bridging multiple vlans

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

809 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