还有我是用默认路由来连同外网的
R1上的配置是:
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 192.168.4.2 0.0.0.0 area 0
network 192.168.5.2 0.0.0.0 area 0
default-information originate
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 200.0.1.1
R2上我配置了回来的默认路由