© Copyright Lenovo 2018
Chapter 28: OSPF
407
Example 2: Virtual Links
In
the
example
shown
in
,
area
2
is
not
physically
connected
to
the
backbone
as
is
usually
required.
Instead,
area
2
will
be
connected
to
the
backbone
via
a
virtual
link
through
area 1.
The
virtual
link
must
be
configured
at
each
endpoint.
Figure 46.
Configuring
a
Virtual
Link
Note:
OSPFv2
supports
IPv4
only.
IPv6
is
supported
in
OSPFv3
(see
).
Configuring OSPF for a Virtual Link on Switch #1
1.
Configure
IP
interfaces
on
each
network
that
will
be
attached
to
the
switch.
In
this
example,
two
IP
interfaces
are
needed:
Interface
1
for
the
backbone
network
on
10.10.7.0/24
Interface
2
for
the
transit
area
network
on
10.10.12.0/24
2.
Configure
the
router
ID.
A
router
ID
is
required
when
configuring
virtual
links.
Later,
when
configuring
the
other
end
of
the
virtual
link
on
Switch
2,
the
router
ID
specified
here
will
be
used
as
the
target
virtual
neighbor
(
nbr
)
address.
3.
Enable
OSPF.
4.
Define
the
backbone.
BladeCenter
IF 1
10.10.7.1
IF 2
10.10.12.1
IF 1
10.10.12.2
IF 1
10.10.24.1
Backbone
Transit Area
Stub Area
Application
Switch 1
Switch 2
Area 0
(0.0.0.0)
Area 1
(0.0.0.1)
Area 2
(0.0.0.2)
Virtual Link 1
10.10.12.0/24
Network
10.10.7.0/24
Network
10.10.24.0/24
Network
Router ID:
10.10.10.1
Router ID:
10.10.14.1
NE2552E(config)#
interface ip 1
NE2552E(config-ip-if)#
ip address 10.10.7.1 255.255.255.0 enable
NE2552E(config-ip-if)#
exit
NE2552E(config)#
interface ip 2
NE2552E(config-ip-if)#
ip address 10.10.12.1 255.255.255.0 enable
NE2552E(config-ip-if)#
exit
NE2552E(config)#
ip router-id 10.10.10.1
NE2552E(config)#
router ospf
NE2552E(config-router-ospf)#
enable
NE2552E(config-router-ospf)#
area 0 area-id 0.0.0.0
NE2552E(config-router-ospf)#
area 0 type transit
NE2552E(config-router-ospf)#
area 0 enable
Содержание ThinkSystem NE2552E
Страница 27: ... Copyright Lenovo 2018 27 Part 1 Getting Started ...
Страница 28: ...28 NE2552E Application Guide for ENOS 8 4 ...
Страница 70: ...70 NE2552E Application Guide for ENOS 8 4 ...
Страница 85: ... Copyright Lenovo 2018 85 Part 2 Securing the Switch ...
Страница 86: ...86 NE2552E Application Guide for ENOS 8 4 ...
Страница 112: ...112 NE2552E Application Guide for ENOS 8 4 ...
Страница 134: ...134 NE2552E Application Guide for ENOS 8 4 ...
Страница 154: ...154 NE2552E Application Guide for ENOS 8 4 ...
Страница 194: ...194 NE2552E Application Guide for ENOS 8 4 ...
Страница 218: ...218 NE2552E Application Guide for ENOS 8 4 ...
Страница 234: ...234 NE2552E Application Guide for ENOS 8 4 ...
Страница 238: ...238 NE2552E Application Guide for ENOS 8 4 ...
Страница 239: ... Copyright Lenovo 2018 239 Part 4 Advanced Switching Features ...
Страница 240: ...240 NE2552E Application Guide for ENOS 8 4 ...
Страница 242: ...242 NE2552E Application Guide for ENOS 8 4 ...
Страница 278: ...278 NE2552E Application Guide for ENOS 8 4 ...
Страница 284: ...284 NE2552E Application Guide for ENOS 8 4 ...
Страница 314: ...314 NE2552E Application Guide for ENOS 8 4 ...
Страница 338: ...338 NE2552E Application Guide for ENOS 8 4 ...
Страница 374: ...374 NE2552E Application Guide for ENOS 8 4 ...
Страница 388: ...388 NE2552E Application Guide for ENOS 8 4 ...
Страница 418: ...418 NE2552E Application Guide for ENOS 8 4 ...
Страница 430: ...430 NE2552E Application Guide for ENOS 8 4 ...
Страница 432: ...432 NE2552E Application Guide for ENOS 8 4 ...
Страница 436: ...436 NE2552E Application Guide for ENOS 8 4 ...
Страница 460: ...460 NE2552E Application Guide for ENOS 8 4 ...
Страница 461: ... Copyright Lenovo 2018 461 Part 7 Network Management ...
Страница 462: ...462 NE2552E Application Guide for ENOS 8 4 ...
Страница 476: ...476 NE2552E Application Guide for ENOS 8 4 ...
Страница 498: ...498 NE2552E Application Guide for ENOS 8 4 ...
Страница 520: ...520 NE2552E Application Guide for ENOS 8 4 ...
Страница 534: ...534 NE2552E Application Guide for ENOS 8 4 ...
Страница 536: ...536 NE2552E Application Guide for ENOS 8 4 ...
Страница 544: ...544 NE2552E Application Guide for ENOS 8 4 ...
Страница 549: ... Copyright Lenovo 2018 549 Part 9 Appendices ...
Страница 550: ...550 NE2552E Application Guide for ENOS 8 4 ...
Страница 566: ...566 NE2552E Application Guide for ENOS 8 4 ...
Страница 572: ...572 NE2552E Application Guide for ENOS 8 4 ...
Страница 573: ......
Страница 574: ...Part Number 01KN246 Printed in USA IP P N 01KN246 ...