1,实验题目
2,实验拓扑图
3,实验步骤
lsw1,vlan配置;
lsw2,vlan配置;
路由器配置;
[router]dhcp enable
[router]ip pool v2
[router-ip-pool-v2]network 192.168.1.0 mask 24
[router-ip-pool-v2]gateway-list 192.168.1.1
[router]ip pool v3-v6
[router-ip-pool-v3-v6]network 192.168.2.0 mask 24
[router-ip-pool-v3-v6]gateway-list 192.168.2.1
[router]int g 0/0/0.1
[router-GigabitEthernet0/0/0.1]ip add 192.168.1.1 24
[router-GigabitEthernet0/0/0.1]dot1q termination vid 2
[router-GigabitEthernet0/0/0.1]arp broadcast enable
[router-GigabitEthernet0/0/0.1]dhcp select global
[router-GigabitEthernet0/0/0]ip add 192.168.2.1 24
[router-GigabitEthernet0/0/0]dhcp select global