单臂路由技术-------------------------------
用路由器充当不同vlan的网关
实验拓扑与配置思路:
实验步骤:
1基本配置(略)
2.配置单臂路由(配网关IP+封装dot1q+ARP广播)
[Huawei]sys AR1
[AR1]int g0/0/0.10
[AR1-GigabitEthernet0/0/0.10]ip add 192.168.1.1 24
[AR1-GigabitEthernet0/0/0.10]dot1q termination vid 10
[AR1-GigabitEthernet0/0/0.10]arp broadcast enable
[AR1-GigabitEthernet0/0/0.10]
[AR1-GigabitEthernet0/0/0.10]int g0/0/0.20
[AR1-GigabitEthernet0/0/0.20]ip add 192.168.2.1 24
[AR1-GigabitEthernet0/0/0.20]dot1q termination vid 20
[AR1-GigabitEthernet0/0/0.20]arp broadcast enable
[AR1-GigabitEthernet0/0/0.20]
3.测试网络连通性