R1 interface Serial1/0 no ip add encap frame-relay ! interface s1/0.102 ip add 1.1.1.1 255.255.255.0 ip ospf net point-to-point frame-relay interface-dlci 102 ! interface s1/0 103 ip add 2.2.2.1 255.255.255.0 ip ospf net point-to-point frame-relay interface-dlci 103 ! interface lo0 ip add 10.10.10.10 255.255.255.255 ! router ospf 1 redistribute connected subnets network 1.1.1.1 0.0.0.0 area 0 network 2.2.2.1 0.0.0.0 area 0 R2 interface Serial1/0 ip address 1.1.1.2 255.255.255.0 encap frame-relay ip ospf net point-to-point frame-relay map ip 1.1.1.1 201 broadcast ! inteface s1/1 ip add 2.2.2.2 255.255.255.0 encap frame-relay ip ospf net point-to-point frame-relay map ip 2.2.2.1 301 broadcast ! interface lo0 ip address 20.20.20.20 255.255.255.0 ! router ospf 1 redistribute connected subnets network 1.1.1.2 0.0.0.0 area 0 network 2.2.2.2 0.0.0.0 area 0 |
R1#sh ip route Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnets C 1.1.1.0 is directly connected, Serial1/0.102 2.0.0.0/24 is subnetted, 1 subnets C 2.2.2.0 is directly connected, Serial1/0.103 20.0.0.0/32 is subnetted, 1 subnets O E2 20.20.20.20 [110/20] via 2.2.2.2, 00:08:13, Serial1/0.103 [110/20] via 1.1.1.2, 00:08:13, Serial1/0.102 10.0.0.0/32 is subnetted, 1 subnets C 10.10.10.10 is directly connected, Loopback0 |