js333 > 计算机互联网 > Create a bridge using a tagged vlan (8021.q) interface,tagg

原标题:Create a bridge using a tagged vlan (8021.q) interface,tagg

浏览次数:92 时间:2019-12-25

Create a bridge using a tagged vlan (8021.q) interface,tagged8021.q

SOLUTION VERIFIED

  •  April 27 2013 KB26727

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Issue

  • How to create a bridge using a tagged vlan (8021.q) interface?

Resolution

  • Create the VLAN interface (here using eth0)
# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
HWADDR=XX:XX:XX:XX:XX:XX
ONBOOT=yes
USERCTL=no

# vi /etc/sysconfig/network-scripts/ifcfg-eth0.# (Where # is the vlan ID)

DEVICE=eth0.#
ONPARENT=yes
TYPE=Ethernet
VLAN=yes
USERCTL=no
BRIDGE=br0
  • If using DHCP,
# vi /etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes
DELAY=0
  • 金沙js333娱乐场 ,If not using DHCP,
# vi /etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
ONBOOT=yes
IPADDR=<IP>
NETMASK=<SUBNET MASK>
DELAY=0
  • After modifying these files a restart of the network service is needed.
# service network restart

 

a bridge using a tagged vlan (8021.q) interface,tagged8021.q SOLUTION VERIFIED April 27 2013 KB26727 Environment Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Issu...

本文由js333发布于计算机互联网,转载请注明出处:Create a bridge using a tagged vlan (8021.q) interface,tagg

关键词:

上一篇:2017年实时更新系统hosts文件,FaceBook最新可用Ho

下一篇:没有了