Configuring Advanced Features; Configuring Vlan (802.1Q Vlan) - H3C ETH682i User Manual

Mezz network adapter
Table of Contents

Advertisement

Figure 101 Adding a virtual NIC
12. Install the vNIC driver and execute the
command to configure an MAC address for the vNIC. The
virtual NIC name. The

Configuring advanced features

Configuring VLAN (802.1Q VLAN)

This section uses RHEL 7.5 as an example.
To configure 802.1Q VLAN in the operating system:
1.
Execute the
2.
Execute the
to create a VLAN interface on a physical port. The
name. The
3.
Execute the
been created successfully.
Figure 102 Creating a VLAN interface
4.
Execute the
set dev ethX.id up
xx:xx:xx:xx:xx:xx
command to load the 802.1Q module.
modprobe 8021q
ip link add link ethX name ethX.id type vlan id id
argument represents the VLAN ID.
id
ip -d link show ethX.id
ip addr add ipaddr/mask brd brdaddr dev ethX.id
commands to assign an IP address to the VLAN interface and set the
ifconfig ethVF hw ether xx:xx:xx:xx:xx:xx
ethVF
argument represents the MAC address.
argument represents the physical port
ethX
command to verify that the VLAN interface has
43
argument represents the
command
and
ip link

Advertisement

Table of Contents
loading

Table of Contents