Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The server is setup with 3 NICS, 1 main/management nic and 2 different VLAN nics - non routed. I am trying to bridge the VLAN nics together for a home-built WAN emulator. Below are the network configs:
I had to split the network up like this so that there was not a straight path on the network around the emulator. Also the hypervisor would not allow 2 different VLANS to have the same network assigned.
If I setup a temp IP on the bridge and take down either eth1 or eth2, I can ping the firewall/router that it is attached to, but not the other. If both VLAN interfaces are up, I can only access the VLAN of the nic that has the same mac as the bridge. The outcome I want is to be able to go from either end to the other end.
I'm not a networking expert but I don't see where you are creating or using a vlan anywhere in your description. I would expect the vlan id to be part of the interface name. Also the ifcfg script should have VLAN=yes.
Depends where you want to see the VLAN tags, I guess. You can do trunk mode to the VMs, but not sure what you do on the bridge in that case. I've only ever set it up in normal mode.
I was going down the wrong path with bridging. I had to remove the bridge, setup an IP on each eth of the PC, and use routes (route-ethX) to get traffic from one nic to the other.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.