Konfiguration auf router-01
statische routen
ip route 130.23.66.0 255.255.255.0 192.168.1.254 ip route 172.24.42.0 255.255.255.0 192.168.44.254 ip route 192.168.10.0 255.255.255.0 192.168.1.254 ip route 192.168.20.0 255.255.255.0 192.168.1.254 ip route 192.168.30.0 255.255.255.0 192.168.1.254
Access-List
ip access-list standard netz-42 permit 172.24.42.0 0.0.0.255
Route-Map
route-map static2ospf permit 10 match ip address netz-42
OSPF router
router ospf 1 router-id 1.2.3.4 redistribute static subnets route-map static2ospf network 10.0.0.0 0.255.255.255 area 0 network 172.20.0.0 0.0.255.255 area 0 network 172.30.0.0 0.0.255.255 area 0
Ergebnis: Verteilte Route auf Next-Hopps
router-02#sh ip route | include 172.24.42. O E2 172.24.42.0 [110/20] via 172.20.250.128, 00:48:18, Vlan42