DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-45
# Configure OSPF routing protocol
router ospf 1
network 192.168.23.0 0.0.0.255 area 0
network 192.168.34.0 0.0.0.255 area 34
Configurations on Switch D:
# Configure Ethernet interface
interface FastEthernet 0/0
ip address 192.168.34.4 255.255.255.0
# Configure ports on Ethernet adapter
interface FastEthernet 1/0
ip address 200.200.1.1 255.255.255.0
interface FastEthernet 1/1
ip address 172.200.1.1 255.255.255.0
# Configure OSPF routing protocol and redistribute RIP routes
router ospf 1
network 192.168.34.0 0.0.0.255 area 34
redistribute rip metric-type 1 subnets tag 34
# Configure RIP routing protocol
router rip
network 200.200.1.0
network 172.200.0.0
The OSPF routes generated on device B are shown below. Please note that the
type of external routes has changed to E1.
O E1 200.200.1.0/24 [110/85] via 192.168.23.3,00:00:33,Serial1/0
O IA 192.168.34.0/24 [110/65] via 192.168.23.3,00:00:33,Serial1/0
O E1 172.200.1.0 [110/85] via 192.168.23.3,00:00:33,Serial1/0
4.4.5 OSPF Static Route Redistribution Configuration Example
Topological diagram
The following figure shows the networking diagram for OSPF autonomous system.
The entire autonomous system is divided into three areas: area 0, area 1 and
area 2. Segment 172.10.10.0 is outside the routing domain.