Are there any new tools in CentOS 6 to configure VLAN interfaces (where the switch passes multiple tagged VLANs over one physical link to the host) or is it best to edit /etc/sysconfig/network-scripts/eth?.vlan# files manually?
----- Original Message ----- | Are there any new tools in CentOS 6 to configure VLAN interfaces | (where | the switch passes multiple tagged VLANs over one physical link to the | host) or is it best to edit /etc/sysconfig/network-scripts/eth?.vlan# | files manually? | | -- | Les Mikesell | lesmikesell@gmail.com
So far none that I've found. I use VLANs quite extensively so I'm stuck rolling it with kickstart/puppet or manually when testing.
On Wed, Aug 3, 2011 at 11:12 PM, James A. Peltier jpeltier@sfu.ca wrote:
| Are there any new tools in CentOS 6 to configure VLAN interfaces | (where | the switch passes multiple tagged VLANs over one physical link to the | host) or is it best to edit /etc/sysconfig/network-scripts/eth?.vlan# | files manually? |
So far none that I've found. I use VLANs quite extensively so I'm stuck rolling it with kickstart/puppet or manually when testing.
Where is the best place to find documentation on how to set them up manually? When I use the same ifcfg-eth#.vlan# configs as in 5.x, ifup gives me an error about 'Device not managed by NetworkManager' .
Not sure if someone has asked this previously, but have you got the 8021q kernel module installed and loaded?
On 29 September 2011 20:15, Les Mikesell lesmikesell@gmail.com wrote:
On Wed, Aug 3, 2011 at 11:12 PM, James A. Peltier jpeltier@sfu.ca wrote:
| Are there any new tools in CentOS 6 to configure VLAN interfaces | (where | the switch passes multiple tagged VLANs over one physical link to the | host) or is it best to edit /etc/sysconfig/network-scripts/eth?.vlan# | files manually? |
So far none that I've found. I use VLANs quite extensively so I'm stuck
rolling it with kickstart/puppet or manually when testing.
Where is the best place to find documentation on how to set them up manually? When I use the same ifcfg-eth#.vlan# configs as in 5.x, ifup gives me an error about 'Device not managed by NetworkManager' .
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, Sep 29, 2011 at 5:35 PM, Michael Crilly mrcrilly@gmail.com wrote:
Not sure if someone has asked this previously, but have you got the 8021q kernel module installed and loaded?
That seems to have happened by itself - and I now see that if the NetworkManager service is not running the 5.x style ifcfg- files work with ifup/ifdown. But I still haven't found the documentation describing that requirement or what the new entries that might be in the ifcfg-* files mean.
----- Original Message ----- | On Thu, Sep 29, 2011 at 5:35 PM, Michael Crilly mrcrilly@gmail.com | wrote: | > Not sure if someone has asked this previously, but have you got the | > 8021q | > kernel module installed and loaded? | | That seems to have happened by itself - and I now see that if the | NetworkManager service is not running the 5.x style ifcfg- files work | with ifup/ifdown. But I still haven't found the documentation | describing that requirement or what the new entries that might be in | the ifcfg-* files mean. | | -- | Les Mikesell | lesmikesell@gmail.com
Yes, the 8021q module will load automatically when it sees any ifcfg-* entry that contains <ifname>.<vlandid> or for hosts with ifcfg-vlan<id> and the VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD.
Below is the configuration that I use for my VLANs for KVM.
# configure a bridge device for NAT VLAN support /etc/sysconfig/network-scripts/ifcfg-NAT DEVICE=NAT BOOTPROTO=none ONBOOT=yes TYPE=Bridge USERCTL=no IPV6INIT=no NM_CONTROLLED=no
# configure a VLAN for NAT /etc/sysconfig/network-scripts/ifcfg-vlan303 VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD DEVICE=vlan303 PHYSDEV=em1 BOOTPROTO=none VLAN=yes ONBOOT=yes BRIDGE=NAT NM_CONTROLLED=no TYPE=Ethernet
Is there a specific option that you are trying to get information on?
On Fri, Sep 30, 2011 at 5:39 PM, James A. Peltier jpeltier@sfu.ca wrote:
----- Original Message ----- | On Thu, Sep 29, 2011 at 5:35 PM, Michael Crilly mrcrilly@gmail.com | wrote: | > Not sure if someone has asked this previously, but have you got the | > 8021q | > kernel module installed and loaded? | | That seems to have happened by itself - and I now see that if the | NetworkManager service is not running the 5.x style ifcfg- files work | with ifup/ifdown. But I still haven't found the documentation | describing that requirement or what the new entries that might be in | the ifcfg-* files mean. | | -- | Les Mikesell | lesmikesell@gmail.com
Yes, the 8021q module will load automatically when it sees any ifcfg-* entry that contains <ifname>.<vlandid> or for hosts with ifcfg-vlan<id> and the VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD.
Below is the configuration that I use for my VLANs for KVM.
# configure a bridge device for NAT VLAN support /etc/sysconfig/network-scripts/ifcfg-NAT DEVICE=NAT BOOTPROTO=none ONBOOT=yes TYPE=Bridge USERCTL=no IPV6INIT=no NM_CONTROLLED=no
# configure a VLAN for NAT /etc/sysconfig/network-scripts/ifcfg-vlan303 VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD DEVICE=vlan303 PHYSDEV=em1 BOOTPROTO=none VLAN=yes ONBOOT=yes BRIDGE=NAT NM_CONTROLLED=no TYPE=Ethernet
Is there a specific option that you are trying to get information on?
I'm looking for documentation for all of the name/values that mean something in these files. Also, anything that relates to the new feature in 6.1 to refer to NICs by bios name conventions. I'd really like to find a way to configure machines when you know the physical NIC locations (card type/slot/port) but nothing else.
On Thu, 2011-09-29 at 14:15 -0500, Les Mikesell wrote:
On Wed, Aug 3, 2011 at 11:12 PM, James A. Peltier jpeltier@sfu.ca wrote:
| Are there any new tools in CentOS 6 to configure VLAN interfaces | (where | the switch passes multiple tagged VLANs over one physical link to the | host) or is it best to edit /etc/sysconfig/network-scripts/eth?.vlan# | files manually? |
So far none that I've found. I use VLANs quite extensively so I'm stuck rolling it with kickstart/puppet or manually when testing.
Where is the best place to find documentation on how to set them up manually? When I use the same ifcfg-eth#.vlan# configs as in 5.x, ifup gives me an error about 'Device not managed by NetworkManager' .
Don't use NetworkManager, chkconfig NetworkManager off; chkconfig network on will do the trick. I don't know that Networkmanagr can handle tagged vlan interfaces