H Ho ow w t to o C Co on nf fi ig gu ur re e O OS SP PF F i in n V Vi ig go or r 2 29 96 60 0/ /3 39 90 00 0 S Se er ri ie es s? ?

smashlizardsΔίκτυα και Επικοινωνίες

29 Οκτ 2013 (πριν από 4 χρόνια και 9 μέρες)

79 εμφανίσεις

1
H
H
o
o
w
w


t
t
o
o


C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
e
e


O
O
S
S
P
P
F
F


i
i
n
n


V
V
i
i
g
g
o
o
r
r


2
2
9
9
6
6
0
0
/
/
3
3
9
9
0
0
0
0


S
S
e
e
r
r
i
i
e
e
s
s
?
?


OSPF uses the algorithm of SPF (Shortest Path First) to calculate the route metric. It is suitable for
large network and complicated data exchange. Vigor 2960/3900 supports up to OSPF version
2(only for IPv4).
The Autonomous System (AS) used in OSPF indicates the largest entity and can be divided into
several areas. Usually, Area 0 will be used as OSPF backbone which distributing the routing
information among areas.
When you need faster convergence than distance vector, want to support much larger networks or
want to have less susceptible to bad routing information, you can enable OSPF feature to fit your
request. Note that both routers must support OSPF function at the same time to build the OSPF
connection.
In the following example, a PC can go 192.168.2.0/24 and 192.168.4.0/24 without setting any Static
Route. Refer to the OSPF topology diagram listed below.

OSPF can place each router (e.g., Vigor3900A, Vigor3900B and Vigor2960 shown above) at the
root of a tree and calculate the shortest path to each destination according to the cumulative cost to
reach the destination.
Each router has its own view of the topology and calculates its own SPF tree, even though all the
routers build a shortest-path tree using the same link-state database.
2
C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
a
a
t
t
i
i
o
o
n
n


f
f
o
o
r
r


V
V
i
i
g
g
o
o
r
r
3
3
9
9
0
0
0
0


A
A
,
,


1. Open LAN >> General Setup to create a LAN (192.168.1.1/24) profile named lan1 with the
settings shown below.

2. Next, continue to create a LAN (192.168.3.1/24) profile named lan2 with the settings shown
below.

3. Open LAN >> Static Route and click the Inter-LAN Route tab to enable this profile.

3
4. Open LAN >> OSPF Configuration to enable this profile. Click Add to make the LAN
Profiles lan2 area setting as 11 and lan1 area as 11. (As shown in the topology diagram.)

C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
a
a
t
t
i
i
o
o
n
n


f
f
o
o
r
r


V
V
i
i
g
g
o
o
r
r
3
3
9
9
0
0
0
0


B
B
,
,


1. Open LAN >> General Setup to create a LAN (192.168.2.1/24) profile named lan1 with the
settings shown below.

2. Next, continue to create a LAN (192.168.3.2/24) profile named lan2 with the settings shown
below.

4
3. Open LAN >> Static Route and click the Inter-LAN Route tab to enable this profile.

4. Open LAN >> OSPF Configuration to enable this profile. Click Add to make the LAN
Profiles lan2 area setting as 11 and lan1 area as 11. (As shown in the topology diagram.)

C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
a
a
t
t
i
i
o
o
n
n


f
f
o
o
r
r


V
V
i
i
g
g
o
o
r
r
2
2
9
9
6
6
0
0
,
,


1. Open LAN >> General Setup to create a LAN (192.168.4.1/24) profile named lan1 with the
settings shown below.

5
2. Next, continue to create a LAN (192.168.3.3/24) profile named lan2 with the settings shown
below.

3. Open LAN >> Static Route and click the Inter-LAN Route tab to enable this profile.

4. Open LAN >> OSPF Configuration to enable this profile. Click Add to make the LAN
Profiles lan2 area setting as 11 and lan1 area as 11. (As shown in the topology diagram.)

5. After setting, check the routing information (marked with red line) which is created by OSPF.
6
R
R
o
o
u
u
t
t
i
i
n
n
g
g


i
i
n
n
f
f
o
o
r
r
m
m
a
a
t
t
i
i
o
o
n
n


f
f
o
o
r
r


V
V
i
i
g
g
o
o
r
r
3
3
9
9
0
0
0
0


A
A



R
R
o
o
u
u
t
t
i
i
n
n
g
g


i
i
n
n
f
f
o
o
r
r
m
m
a
a
t
t
i
i
o
o
n
n


f
f
o
o
r
r


V
V
i
i
g
g
o
o
r
r
3
3
9
9
0
0
0
0


B
B



R
R
o
o
u
u
t
t
i
i
n
n
g
g


i
i
n
n
f
f
o
o
r
r
m
m
a
a
t
t
i
i
o
o
n
n


f
f
o
o
r
r


V
V
i
i
g
g
o
o
r
r
2
2
9
9
6
6
0
0