D-Link DI-1750 Reference Manual page 242

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

Advertisement

!
router ospf 1
network 10.0.1.0 0.0.0.255 area 0
neighbor 10.0.1.3 cost 5
neighbor 10.0.1.4 cost 10
neighbor 10.0.1.5 cost 15
The following example is the configuration for the router on the other side:
interface Serial1/2
ip address 10.0.1.3 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-multipoint non-broadcast
no ip mroute-cache
no keepalive
no fair-queue
frame-relay local-dlci 301
frame-relay map 10.0.1.1 pvc 300
no shut
!
router ospf 1
network 10.0.1.0 0.0.0.255 area 0
3. Variable-Length Subnet Masks Example
OSPF, static routes, and IS-IS support variable-length subnet masks (VLSMs). With VLSMs, you can
use different masks for the same network number on different interfaces, which allows you to conserve
IP addresses and more efficiently use available address space.
In the following example, a 30-bit subnet mask is used, leaving two bits of address space reserved for
serial line host addresses. There is sufficient host address space for two host endpoints on a
point-to-point serial link.
interface ethernet 1/0
ip address 131.107.1.1 255.255.255.0
! 8 bits of host address space reserved for ethernets
interface serial 1/1
ip address 131.107.254.1 255.255.255.252
! 2 bits of address space reserved for serial lines
! Router is configured for OSPF and assigned AS 107
router ospf 107
! Specifies network directly connected to the router
network 131.107.0.0 0.0.255.255 area 0.0.0.0
4. OSPF Routing and Route Redistribution Examples
OSPF Routing and Route Redistribution Examples
OSPF typically requires coordination among many internal routers, area border routers, and
autonomous system boundary routers. At a minimum, OSPF-based routers can be configured with all
default parameter values, with no authentication, and with interfaces assigned to areas.
Three examples follow:
The first is a simple configuration illustrating basic OSPF commands.
The second example illustrates a configuration for an internal router, ABR, and ASBRs within a single,
arbitrarily assigned, OSPF autonomous system.
The third example illustrates a more complex configuration and the application of various tools
available for controlling OSPF-based routing environments.
Model Name
- 240 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Di-2621Di-2630Di-3660

Table of Contents