隧道

r2:

int tunnel 0

ip add 172.16.100.2 255.255.255.0

tunnel souce 23.1.1.2

tunnel destianation 23.1.1.3

r3:

int tunnel 0

ip add 172.16.100.3 255.255.255.0

tunnel source 23.1.1.3

tunnel destination 23.1.1.2

r2:

router ospf 1

net 172.16.100.2 0.0.0.0 area 0

r3:

router ospf 1

net 172.16.100.3 0.0.0.0 area 0另一种方法:重发部

r3:

router ospf 23

router-id 3.3.3.3

net 23.1.1.3 0.0.0.0 area 23

router ospf 34

router ospf 34

router-id 33.3.3.3

net 34.1.1.3 0.0.0.0 area 34

net 3.3.3.3 0.0.0.0 area 34

router ospf 23

redistribute ospf 34 subnets

router ospf 34

red ospf 23 subnets