Creating Virtual and VLAN Interfaces
Creating Virtual ethernet and Vlan interfaces
- Virtual and Vlan interfaces can only be created on a configured and non-virtual interface.
- The syntax for virtual interface is eth<#>:<#> e.g. eth0:200 where 200 is a locally significant number to distinguish within the blade.
- The syntax for vlan interface is eth<#>.<#> e.g. eth1.100 where 100 is the VLAN ID tag used to send traffic.
Creating Virtual Ethernet Interface
se-1-100-50-127> configure t
Enter configuration commands, one per line. End with CNTL/Z.
se-1-100-50-127(config)> interface eth0:200
se-1-100-50-127(config-interface)> ip address 12.12.13.10 255.255.255.0
se-1-100-50-127(config-interface)> end
se-1-100-50-127>
- Make sure on the IOS side a appropriate route is setup to direct traffic to this new network
Creating VLAN interface
se-1-100-50-127> configure t
Enter configuration commands, one per line. End with CNTL/Z.
se-1-100-50-127(config)> interface eth0.10
se-1-100-50-127(config-interface)> ip address 10.7.8.9 255.255.255.0
se-1-100-50-127(config-interface)> end
se-1-100-50-127>
- On top of making sure that the IOS side has the appropriate route to setup traffic to the VLAN interface. Need to configure the IOS interface to the DOT1Q mode (causes the interface to inject 802.1q VLAN tag)
- Note the DOT1Q mode only affects the traffic flowing to and from this interface and not injecting the VLAN tag for end to end traffic.
interface Integrated-Service-Engine1/0.1
encapsulation dot1Q 10