I have three VM's runing CentOS. host1 has a vlan of 101 (eth0.101), host2 has a vlan of 102 (eth0.102) and hostgw has vlans 101 and 102 defined (eth1.101 and eth1.102). All VM's are assigned to the same vSwitch ("All 4095").
If I bring up all interfaces on hostgw (including both vlan interfaces) I can ping the IP address assigned to eth1.101 on hostgw from host1. But, I can't ping eth1.102 on hostgw from host2. However, if I go to hostgw and run 'ifdown eth1.101' I can then ping eth1.102 on hostgw from host2.
In a nutshell, it seems that I can't have multiple vlans active on one network interface.
Something that I played around with but couldn't figure how to implement was creating a virtual interface and assigning a vlan to that. Something like eth1:101.101. Any thoughts on that option?
Thanks in advance.
Steve
Multiple vLAN's on one NIC
Issues related to configuring your network
-
- Posts: 6
- Joined: 2014/06/17 17:18:41
Return to “CentOS 7 - Networking Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support