Tags
cisco, dynamic routing protocol, eigrp, ospf, rip, route redistribution, v2
RIPv2
R0# conf t R0# int lo0 R0# ip add 10.10.10.1 255.255.255.0 R0# no shut R0# exit R0# int f0/0 R0# ip add 10.10.1.1 255.255.255.0 R0# no shut R0# exit R0# router rip R0# version 2 R0# no auto R0# network 10.10.10.0 255.255.255.0 R1# conf t R1# int lo0 R1# ip add 10.10.11.1 255.255.255.0 R1# no shut R1# exit R1# int f0/0 R1# ip add 10.10.1.2 255.255.255.0 R1# no shut R1# exit R1# router rip R1# version 2 R1# no auto R1# network 10.10.11.0 255.255.255.0
OSPF
R1# conf t R1# int f0/1 R1# ip add 10.10.2.1 255.255.255.0 R1# no shut R1# exit R1# router ospf 1 R1# network 10.10.2.0 0.0.0.255 area 0 R1# network 10.10.11.0 0.0.0.255 area 0 R2# conf t R2# int lo0 R2# ip add 10.10.12.1 255.255.255.0 R2# no shut R2# exit R2# int f0/1 R2# ip add 10.10.2.2 255.255.255.0 R2# no shut R2# exit R2# router ospf 1 R2# network 10.10.2.0 0.0.0.255 R2# network 10.10.12.0 0.0.0.255
EIGRP
R2# conf t R2# int f0/0 R2# ip add 10.10.3.1 255.255.255.0 R2# no shut R2# exit R2# router eigrp 1 R2# network 10.10.3.0 0.0.0.255 R2# network 10.10.12.0 0.0.0.255 R3# conf t R3# int lo0 R3# ip add 10.10.13.1 255.255.255.0 R3# no shut R3# exit R3# int f0/1 R3# ip add 10.10.3.2 255.255.255.0 R3# no shut R3# exit R3# router eigrp 1 R3# network 10.10.3.0 0.0.0.255 R3# network 10.10.13.0 0.0.0.255
Route redistribution
R1# conf t R1# router rip R1# redistribute ospf 1 metric 1 match internal R1# exit R1# router ospf 1 R1# redistribute rip metric 1 subnets R2# conf t R2# router ospf 1 R2# redistribute eigrp 1 subnets R2# exit R2# router eigrp 1 R2# redistribute ospf 1 metric 1544 2000 255 1 1500 match internal external 2
Advertisements