搭建拓扑图,并进行一定的网络划分和分配
当出现电脑的时候,直接使用DHCP协议
R1
R2
R3和R4的操作同R1和R2
举例:
[r4]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[r4]ip pool 4
Info: It's successful to create an IP address pool.
[r4-ip-pool-4]network 192.168.4.0 mask 24
[r4-ip-pool-4]gateway-list 192.168.4.254
[r4-ip-pool-4]dns-list 8.8.8.8
[r4-ip-pool-4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip add 192.168.4.254 24
[r4-GigabitEthernet0/0/0]dhcp se glo
R3
R4
1、R1和R5进行PPP认证
先对R5进行主认证
再对R1认证
然后再进行双向认证
2、R2和R5进行chap认证
3、R3和R5进行HDLC封装
[r3]int s 4/0/0
[r3-Serial4/0/0]link-protocol hdlc
3、MGRE环境
测试:
4、基于RIP全网可达
R1
R2
R3
R4
实现可以访问R5的环回
R1
R2
R3
R4
测试: