兩臺路由器RTA、RTB的串口S0用一條鏈路連接,鏈路協(xié)議位PPP,兩各接口的網(wǎng)絡(luò)類型均為point-to-point,此時(shí)接口與鏈路均為UP,配置該網(wǎng)段:
RTA(config-if-serial0)#ip address 10.10.10.1 255.255.0.0
RTA(config-router-ospf)#network 10.10.10.1 0.0.0.0 area 1
RTB(config-if-serial0)#ip address 10.10.10.2 255.255.255.0
RTB(config-router-ospf)# network 10.10.10.2 0.0.0.0 area 1
RTA(config)#show ip ospf neighbour
RTA鄰居狀態(tài)機(jī)最終狀態(tài)()