1.解决办法:将456的dr优先级改为0
5.明/密文认证
区域明文认证
[R2]ospf 1
[R2-ospf-1]area 1
[R2-ospf-1-area-0.0.0.1]authentication-mode simple cipher 123
区域密文认证
[R2]ospf 1
[R2-ospf-1]area 2
[R2-ospf-1-area-0.0.0.2]authentication-mode simple cipher 123
[R2-ospf-1-area-0.0.0.2]authentication-mode md5
加快收敛速度:
[R2]interface g0/0/0
[R2-GigabitEthernet0/0/0]ospf timer hello 5
[R2-GigabitEthernet0/0/0]ospf timer dead 20
3.在r4上强制下方缺省路由
[r4]ospf 1
[r4-ospf-1]default-route-advertise always
自动获取:
[dhcp]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[dhcp]ip pool jincheng
Info: It's successful to create an IP address pool.
[dhcp-ip-pool-jincheng]netbios-type
[dhcp-ip-pool-jincheng]network 192.168.1.0 mask 255.255.255.0
[dhcp-ip-pool-jincheng]gateway-list 192.168.1.1
[dhcp-ip-pool-jincheng]dns-list 8.8.8.8 114.114.114.114
[dhcp]interface g0/0/1
[dhcp-GigabitEthernet0/0/1]dhcp select global