单臂路由:实现不同VLAN之间的通信
其原理是在子接口上配置:VLAN封装,网关地址
其中华为路由器一定记得要在子接口上启用arp broadcast !!!
sys
vlan batch 32 33 34
int e0/0/1
port link-type access
port default vlan 32
int e0/0/2
port link-type access
port default vlan 33
int e0/0/3
port link-type access
port default vlan 34
int g0/0/1
port link-type trunk
port trunk allow-pass vlan 32 33 34
AR1:
system
int g0/0/1.1
dot1q termination vid 32
ip address 192.168.32.1 24
arp broadcast enable
int g0/0/1.2
dot1q termination vid 33
ip address 192.168.33.1 24
arp broadcast enable
int g0/0/1.1
dot1q termination vid 33
ip address 192.168.33.1 24
arp broadcast enable
查看当前配置信息:dis cu
开启DHCP功能:
华为的默认从后面往前面分配Ip地址:要进入子接口,开启dhcp功能!
int g0/0/1.1
dhcp select interface