D-Link DI-1750 Reference Manual page 243

Hide thumbs Also See for DI-1750:
Table of Contents

Advertisement

Basic OSPF Configuration Example
The following example illustrates a simple OSPF configuration that enables OSPF routing process
9000, attaches Ethernet 0 to area 0.0.0.0, and redistributes RIP into OSPF, and OSPF into RIP:
interface ethernet 1/0
ip address 130.130.1.1 255.255.255.0
ip ospf cost 1
!
interface ethernet 1/0
ip address 130.130.1.1 255.255.255.0
!
router ospf 90
network 130.130.0.0 255.255.0.0 area 0
redistribute rip
!
router rip
network 130.130.0.0
redistribute ospf 90
5. Basic OSPF Configuration Example for Internal Router, ABR, and ASBRs
The following example illustrates the assignment of four area IDs to four IP address ranges. In the
example, OSPF routing process 109 is initialized, and four OSPF areas are defined: 10.9.50.0, 2, 3,
and 0. Areas 10.9.50.0, 2, and 3 mask specific address ranges, while Area 0 enables OSPF for all other
networks.
router ospf 109
network 131.108.20.0 255.255.255.0 area 10.9.50.0
network 131.108.0.0 255.255.0.0 area 2
network 131.109.10.0 255.255.255.0 area 3
network 0.0.0.0 0.0.0.0 area 0
!
! Interface Ethernet1/0 is in area 10.9.50.0:
interface ethernet 1/0
ip address 131.108.20.5 255.255.255.0
!
! Interface Ethernet1/1 is in area 2:
interface ethernet 1/1
ip address 131.108.1.5 255.255.255.0
!
! Interface Ethernet1/2 is in area 2:
interface ethernet 1/2
ip address 131.108.2.5 255.255.255.0
!
! Interface Ethernet1/3 is in area 3:
interface ethernet 1/3
ip address 131.109.10.5 255.255.255.0
!
! Interface Ethernet1/4 is in area 0:
interface ethernet 1/4
ip address 131.109.1.1 255.255.255.0
!
! Interface FastEthernet0/0 is in area 0:
interface FastEthernet0/0
ip address 10.1.0.1 255.255.0.0
Each network area router configuration command is evaluated sequentially, so the order of these
commands in the configuration is important. The D-Link router sequentially evaluates the
address/wildcard-mask pair for each interface. See the "OSPF Commands" chapter of the Network
Protocols Command Reference for more information.
Model Name
- 241 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Di-2621Di-2630Di-3660

Table of Contents