Example 2: Virtual Links
Configuring OSPF for a Virtual Link on Switch #1
1. Configure IP interfaces on each network that will be attached to the switch.
2. Configure the router ID.
3. Enable OSPF.
572
G8264 Application Guide for ENOS 8.4
In the example shown in Figure
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 53. Configuring a Virtual Link
Switch 1
Switch 1
Note:
OSPFv2 supports IPv4 only. IPv6 is supported in OSPFv3 (see "OSPFv3
Implementation in Enterprise NOS" on page
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
RS G8264(config)# interface ip 1
RS G8264(configipif)# ip address 10.10.7.1
RS G8264(configipif)# ip netmask 255.255.255.0
RS G8264(configipif)# enable
RS G8264(configipif)# exit
RS G8264(config)# interface ip 2
RS G8264(configipif)# ip address 10.10.12.1
RS G8264(configipif)# ip netmask 255.255.255.0
RS G8264(configipif)# enable
RS G8264(configipif)# exit
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.
RS G8264(config)# ip routerid 10.10.10.1
RS G8264(config)# router ospf
RS G8264(configrouterospf)# enable
53, area 2 is not physically connected to the
Switch 2
Switch 2
578).