OSPF中点到点子接口的配置

 

 

R1的配置:

interface Serial1/1

 ip address 172.16.1.1 255.255.255.0

router ospf 1

 network 172.16.1.0 0.0.0.255 area 0

R2的配置:

interface Serial1/1

 no ip address

 encapsulation frame-relay

no frame-relay inverse-arp      

interface Serial1/1.1 point-to-point

 ip address 192.168.1.1 255.255.255.0

 frame-relay interface-dlci 101  

interface Serial1/1.2 point-to-point

 ip address 192.168.2.1 255.255.255.0

 frame-relay interface-dlci 102

router ospf 1

network 172.16.1.0 0.0.0.255 area 0

R3的配置:

interface Serial1/0

 no ip address

 encapsulation frame-relay  

interface Serial1/0.1 point-to-point

 ip address 192.168.1.2 255.255.255.0

 frame-relay interface-dlci 202

router ospf 1

network 192.168.1.0 0.0.0.255 area 0

R4的配置:

interface Serial1/0

 no ip address

 encapsulation frame-relay

!        

interface Serial1/0.1 point-to-point

 ip address 192.168.2.2 255.255.255.0

 frame-relay interface-dlci 203

router ospf 2

network 192.168.2.0 0.0.0.255 area 0

 

你可能感兴趣的:(职场,休闲,ospf,点到点,子接口)