module 2 – ospf configuration for training lab network · lab exercise 1. ipv6 ospf (ospfv3)...
TRANSCRIPT
APNIC IPv6/Routing Workshop Lab
1
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
Module 2 – OSPF Configuration for Training Lab Network
Objective: All the workshop lab routers are configured with required basic & interface configuration according to the topology diagram below. Network level reachability testing between directly connected point-to-point links are successfully done in our previous module (Module 1). Participants will require to configure OSPF related configuration on this module for both IPv6 and IPv4 protocol. Workshop instructor will be presenting OSPF design goal & specification for this module. Workshop team has already been build and participants have got access to their designated routers. Prerequisites: Basic routing concept, IP addressing, Cisco router CLI, Telnet/SSH software etc. The following will be the common topology and IP address plan used for the labs.
Figure 1 – ISP Lab Topology
fa0/1
R12
R4
R5
SW1 SW2
R2
R1
R3
R7
R8R11
R10
fa0/1
fa0/
0e1
/3
e1/0
e1/0fa0/0
fa0/0
e1/1
e1/1
e1/1
e1/0
172.
16.1
0.8/
3024
06:6
400:
e:2:
:/64
9 1
10 2
172.
16.1
0.0/
3024
06:6
400:
e::/6
417
2.16
.10.
4/30
2406
:640
0:e:
1::/6
4
2 2
1 1
5 1
6 2
172.16.0.0/232406:6400:800::/39
1 1
172.
16.1
8.0/
2324
06:6
400:
9800
::/48
1 1
172.16.13.0/242406:6400:3::/48
172.16.12.0/242406:6400:2::/48
1 1
2 2
fa0/
1fa
0/1
fa0/1
fa0/
0
e1/3
e1/0
e1/1
e1/0
e1/1
e1/1
e1/0
e1/0
e1/3
e1/0
e1/1
e1/1
e1/0
e1/3
e1/0
e1/1
e1/0
e1/0
e1/1
e1/1
fa0/0
fa0/0
1 1
2 2
172.16.2.0/232406:6400:a00::/39
172.16.24.0/232406:6400:c000::/48
172.16.4.0/232406:6400:c00::/39
172.16.6.0/232406:6400:e00::/39
172.
16.2
8.0/
2324
06:6
400:
e000
::/48
172.
16.3
0.0/
2324
06:6
400:
f800
::/48
1 33
2 34
172.16.10.24/302406:6400:e:10::/64
172.16.10.28/302406:6400:e:11::/64
1 25
1 29
2 26
1 57
2 58
1 49
1 53
2 50
2 54
172.16.10.48/302406:6400:e:20::/64
172.
16.1
0.80
/30
2406
:640
0:e:
32::/
64
81 1
82 2
172.
16.1
0.72
/30
2406
:640
0:e:
30::/
6417
2.16
.10.
76/3
024
06:6
400:
e:31
::/64
74 2
73 1
77 1
78 2
3 3
3 34 4
4 4
fa0/11fa0/2 fa0/5
fa0/8
fa0/11fa0/2
fa0/
5
fa0/0
fa0/
8
fa0/0
lo 0172.16.15.2/32
2406:6400::2/128
lo 0172.16.15.5/32
2406:6400::5/128
lo 0172.16.15.8/32
2406:6400::8/128
lo 0172.16.15.11/32
2406:6400::11/128
172.16.20.0/232406:6400:a000::/48
172.16.22.0/232406:6400:b800::/48
172.16.26.0/232406:6400:d800::/48
1 193
1 1
1 1
e1/1 172.16.10.52/30
2406:6400:e:21::/64
1 1
AS17821
r14-CBR1
r20-CBR4
r15-CAR2
r16-CBR2
r17-CAR3
r18-CBR3
CPE
CPE
Infra
Infra
CPE
CPE
Infra
Infra
lo 0172.16.15.3/32
2406:6400::3/128
lo 0172.16.15.1/32
2406:6400::1/128
lo 0172.16.15.10/32
2406:6400::10/128
lo 0172.16.15.12/32
2406:6400::12/128
2 30
fa0/1
172.
16.1
6.0/
2324
06:6
400:
8000
::/48
fa0/0
fa0/0
fa0/0
fa0/0
fa0/1
fa0/1
172.16.11.0/302406:6400:10::/64
2 2
172.16.11.32/302406:6400:14::/64
34 2 1 33
172.16.11.192/302406:6400:28::/64
r19-CAR4 194 2
172.16.11.224/302406:6400:2c::/64
226 2
1 1
1 1
1 1
1 1
fa0/1
172.16.11.64/302406:6400:18::/64
fa0/065 1 2 66
172.16.11.96/302406:6400:1c::/64
fa0/0
lo 0172.16.15.6/32
2406:6400::6/128
R6
97 1
lo 0172.16.15.4/32
2406:6400::4/128
fa0/12 98
fa0/0
lo 0172.16.15.7/32
2406:6400::7/128
fa0/1
172.16.11.128/302406:6400:20::/64
129 1 2 130
172.16.11.160/302406:6400:24::/64
fa0/0R9
lo 0172.16.15.9/32
2406:6400::9/128
161 1fa0/1
2 162
fa0/0
fa0/0
fa0/0
fa0/0
1 1
1 1
1 1
1 1
1 225
172.16.10.32/302406:6400:e:12::/64
172.16.10.56/302406:6400:e:22::/64
DNS MAIL WWW DNS MAIL WWW
DNS MAIL WWWDNS MAIL WWW
r13-CAR1
Tuesday, August 27, 2013
2
Lab Notes This workshop is intended to be run on a real cisco routers or Dynamips server with the above lab topologies set up. The routers are using both IPv4 and IPv6 supported IOS software. Participants should do their workshop module two configuration to achieve following goals.
1. After finishing the required interface configuration in module one we only can ping those directly connected interfaces. Loopback, and point-to-point interfaces are still not reachable (ping) from remote routers.
2. For the scalability purpose of IGP (i.e. OSPF) it is advisable to advertise only infrastructure prefixes to OSPF. It includes loopback, infrastructure point-to-point, and transport prefixes only. Please note customer site point-to-point (i.e. link between R1 to r13-CAR1 etc) and data centre (i.e. R1 e1/3 etc) prefixes are not advertised to OSPF. Because it might restrict your network growth as it will cause the growth of your OSPF.
3. For the same purpose we are using hierarchical OSPF areas to create separate topology database for different regional networks. On all four core routers loopback address is published to OSPF area 0.
4. There will not be any OSPF protocol running with the customer routers. So no OSPF configuration is required on those.
5. After finishing OSPF configuration we would like to see following 26 new prefixes in all infrastructure routers routing table.
Loopback Point-to-point Transport R1=> 2406:6400::1/128 R2-R1=> 2406:6400:e::/64 Purple=> 2406:6400:2::/48 R2=> 2406:6400::2/128 R2-R3=> 2406:6400:e:1::/64 Green=> 2406:6400:3::/48 R3=> 2406:6400::3/128 R1-R3=> 2406:6400:e:2::/64 R4=> 2406:6400::4/128 R5-R4=> 2406:6400:e:10::/64 R5=> 2406:6400::5/128 R5-R6=> 2406:6400:e:11::/64 R6=> 2406:6400::6/128 R4-R6=> 2406:6400:e:12::/64 R7=> 2406:6400::7/128 R8-R7=> 2406:6400:e:20::/64 R8=> 2406:6400::8/128 R8-R9=> 2406:6400:e:21::/64 R9=> 2406:6400::9/128 R7-R9=> 2406:6400:e:22::/64 R10=> 2406:6400::10/128 R11-R10=> 2406:6400:e:30::/64 R11=> 2406:6400::11/128 R11-R12=> 2406:6400:e:31::/64 R12=> 2406:6400::12/128 R11-R12=> 2406:6400:e:32::/64
6. Due to time restriction in workshop OSPF analysis and example will cover IPv6 prefixes only.
You can check IPv4 prefixes for your own understanding purpose.
APNIC IPv6/Routing Workshop Lab
3
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
Lab Exercise 1. IPv6 OSPF (OSPFv3) Configuration: This configuration on Cisco IOS can be done from
interface configuration mode. This configuration will activate a separate OSPF process on your cisco router if you already have OSPFv2 running. For a dual stack router you need to run both OSPFv2 and v3 at the same time. Please notice OSPFv3 router ID which is still 32bit number.
Example Config on a Router: config t
To enter into a cisco router global configuration mode. interface loopback 0 ipv6 ospf 17821 area 1 interface e1/0 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point
We are using Ethernet interface which is broadcast multi-access type of network for OSPF. By default OSPF will automatically detect the interface type and elect DR/BDR. If we use this command then OSPF will consider it as point to point link and no DR/BDR will be elected. interface e1/1 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point exit exit wr
Interface loopback 0, e1/0 and e1/1 will be participating in OSPFv3 process ID 17821 area 1. Prefixes configured on these interfaces will be advertised.
2. IPv4 OSPF (OSPFv2) Configuration: This configuration can be done from the global configuration of mode of a Cisco router. Same process ID can be used but still it is unique because same process id is used for 2 different service i.e OSPFv2 and OSPFv3. Example Config on a Router: config t
To enter into a cisco router global configuration mode. router ospf 17821
Create ospfv2 process 17821 log-adjacency-changes
Keep log of OSPF neighbour relationship status if it is changed passive-interface default
Do not create hello message by default to all interface. This approach is very effective if we would like to build OSPF adjacency on the selected interface. Specially if there is an external facing interface and no OSPF routing to them. network 172.16.15.2 0.0.0.0 area 0
Loopback interface is not generating any hello but adding prefixes to OSPF
Tuesday, August 27, 2013
4
no passive-interface e1/0
Interface e1/0 will generate hello to build adjacency with connected link. network 172.16.10.0 0.0.0.3 area 1
And advertise network 172.16.10.0 mask 255.255.255.252 to area 1. Wildcard mask is reverse to subnet mask. no passive-interface e1/1 network 172.16.10.4 0.0.0.3 area 1 no passive-interface fa0/0 network 172.16.12.0 0.0.0.255 area 0 no passive-interface fa0/1 network 172.16.13.0 0.0.0.255 area 0 exit int e1/0 ip ospf network point-to-point
We are using Ethernet interface which is broadcast multi-access type of network for OSPF. By default OSPF will automatically detect the interface type and elect DR/BDR. If we use this command then OSPF will consider it as point to point link and no DR/BDR will be elected. int e1/1 ip ospf network point-to-point exit exit wr
3. Verify IPv6 OSPF Configuration:
Example IPv6 protocol verification on a Router: sh ipv6 ospf neighbor [To check OSPFv3 neighbor table] sh ipv6 ospf database [To check OSPFv3 topology table] sh ipv6 route ospf [To check ipv6 routing table prefixes learn by OSPFv3] ping [router1….up to router12 loopback] !!!!! ping [all WAN interface & transport interface] !!!!! ping [any datacenter prefix] ..... ping [any customer prefix] ..... debug ipv6 ospf packet debug ipv6 ospf adj
You need to replace router name with the loopback address. Please look at the topology diagram on page 1 for further detail. Example IPv4 protocol verification on a Router: sh ip ospf neighbor [To check OSPFv2 neighbor table] sh ip ospf database [To check OSPFv2 topology table] sh ip route ospf [To check ipv4 routing table prefixes learn by OSPFv2] ping [router1….up to router12 loopback] !!!!! ping [all WAN interface & transport interface] !!!!! ping [any datacenter prefix] ..... ping [any customer prefix] ..... debug ip ospf packet debug ip ospf adj
END OF MODULE TWO…… Next pages for reference template used on different routers….
APNIC IPv6/Routing Workshop Lab
5
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
‘Workshop templates for reference purpose only’ Configuration of OSPF in training ISP network Region1:
IPv4 OSPF Conf Router1: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.1 0.0.0.0 area 1 no passive-interface e1/0 network 172.16.10.0 0.0.0.3 area 1 no passive-interface e1/1 network 172.16.10.8 0.0.0.3 area 1 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr
R12
R4
R5
SW1
R2
R1
R3
R7
R8R11
R10
fa0/1
fa0/
0e1
/3
e1/0
e1/0fa0/0
fa0/0
e1/1
e1/1
e1/1
e1/0
172.
16.1
0.8/
3024
06:6
400:
e:2:
/64
9 1
10 2
172.
16.1
0.0/
3024
06:6
400:
e::/6
417
2.16
.10.
4/30
2406
:640
0:e:
1:/6
4
2 2
1 1
5 1
6 2
172.16.0.0/272406:6400:800::/64
1 1
172.16.13.0/242406:6400:3::/48
172.16.12.0/242406:6400:2::/48
1 1
2 2
fa0/
1fa
0/1
fa0/1
fa0/
0
e1/3
e1/0
e1/1
e1/0 fa0/0
e1/1
e1/1
e1/0 fa0/0
e1/0
e1/3
e1/0
e1/1
e1/1
e1/0 fa0/0
fa0/0
e1/3
e1/0
e1/1
e1/0
e1/0
e1/1
e1/1
fa0/0
fa0/0
1 1
2 2
172.16.2.0/232406:6400:2::/48
172.16.24.0/232406:6400:300::/48
172.16.4.0/232406:6400:3::/48
172.16.6.0/232406:6400:4::/48
172.
16.2
8.0/
2324
06:6
400:
400:
:/48
172.
16.3
0.0/
2324
06:6
400:
408:
:/48
172.16.10.32/302406:6400:f:12:/64
1 33
2 34 R6
172.16.10.24/302406:6400:f:10:/64
172.16.10.28/302406:6400:f:11:/64
1 25
1 29
2 26
2 30
1 57
2 58
1 49
1 53
2 50
2 54
R9
172.16.10.56/302406:6400:f:22:/64
172.16.10.48/302406:6400:f:20:/64
172.
16.1
0.80
/30
2406
:640
0:f:3
2:/6
4
81 1
82 2
172.
16.1
0.72
/30
2406
:640
0:f:3
0:/6
417
2.16
.10.
76/3
024
06:6
400:
f:31:
/64
74 2
73 1
77 1
78 2
3 3
3 34 4
4 4
fa0/11fa0/5fa0/8
fa0/11fa0/2
fa0/
5
fa0/0
fa0/
8
fa0/0
lo 0172.16.15.2/32
2406:6400::2/128
lo 0172.16.15.5/32
2406:6400::5/128
lo 0172.16.15.8/32
2406:6400::8/128
lo 0172.16.15.11/32
2406:6400::11/128
lo 0172.16.15.1/32
2406:6400::1/128
lo 0172.16.15.3/32
2406:6400::3/128
lo 0172.16.15.10/32
2406:6400::10/128
lo 0172.16.15.12/32
2406:6400::12/128
lo 0172.16.15.4/32
2406:6400::4/128
172.16.20.0/232406:6400:200::/48
lo 0172.16.15.6/32
2406:6400::6/128
lo 0172.16.15.7/32
2406:6400::7/128
lo 0172.16.15.9/32
2406:6400::9/128
172.16.26.0/232406:6400:308::/48
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
e1/1 172.16.10.52/30
2406:6400:f:21:/64
1 1
OSPF Area 2
OSPF Area 4
OSPF Area 0
OSPF Area 1
OSPF Area 3
Tuesday, August 27, 2013
6
IPv6 OSPF Conf Router1: config t interface loopback 0 ipv6 ospf 17821 area 1 interface e1/0 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point exit exit wr IPv4 OSPF Conf Router2: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.2 0.0.0.0 area 0 no passive-interface e1/0 network 172.16.10.0 0.0.0.3 area 1 no passive-interface e1/1 network 172.16.10.4 0.0.0.3 area 1 no passive-interface fa0/0 network 172.16.12.0 0.0.0.255 area 0 no passive-interface fa0/1 network 172.16.13.0 0.0.0.255 area 0 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router2: config t interface loopback 0 ipv6 ospf 17821 area 0 interface fa0/0 ipv6 ospf 17821 area 0 interface fa0/1 ipv6 ospf 17821 area 0 interface e1/0 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point exit exit wr
APNIC IPv6/Routing Workshop Lab
7
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
IPv4 OSPF Conf Router3: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.3 0.0.0.0 area 1 no passive-interface e1/0 network 172.16.10.4 0.0.0.3 area 1 no passive-interface e1/1 network 172.16.10.8 0.0.0.3 area 1 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router3: config t interface loopback 0 ipv6 ospf 17821 area 1 interface e1/0 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 1 ipv6 ospf network point-to-point exit exit wr
Tuesday, August 27, 2013
8
Configuration of OSPF in training ISP network Region2:
IPv4 OSPF Conf Router4: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.4 0.0.0.0 area 2 no passive-interface e1/0 network 172.16.10.24 0.0.0.3 area 2 no passive-interface e1/1 network 172.16.10.32 0.0.0.3 area 2 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr
R12
R4
R5
SW1
R2
R1
R3
R7
R8R11
R10
fa0/1
fa0/
0e1
/3
e1/0
e1/0fa0/0
fa0/0
e1/1
e1/1
e1/1
e1/0
172.
16.1
0.8/
3024
06:6
400:
e:2:
/64
9 1
10 2
172.
16.1
0.0/
3024
06:6
400:
e::/6
417
2.16
.10.
4/30
2406
:640
0:e:
1:/6
4
2 2
1 1
5 1
6 2
172.16.0.0/272406:6400:800::/64
1 1 172.16.13.0/24
2406:6400:3::/48
172.16.12.0/242406:6400:2::/48
1 1
2 2
fa0/
1fa
0/1
fa0/1
fa0/
0
e1/3
e1/0
e1/1
e1/0 fa0/0
e1/1
e1/1
e1/0 fa0/0
e1/0
e1/3
e1/0
e1/1
e1/1
e1/0 fa0/0
fa0/0
e1/3
e1/0
e1/1
e1/0
e1/0
e1/1
e1/1
fa0/0
fa0/0
1 1
2 2
172.16.2.0/272406:6400:a00::/64
172.16.24.0/232406:6400:300::/48
172.16.4.0/232406:6400:3::/48
172.16.6.0/232406:6400:4::/48
172.
16.2
8.0/
2324
06:6
400:
400:
:/48
172.
16.3
0.0/
2324
06:6
400:
408:
:/48
172.16.10.32/302406:6400:e:12:/64
1 33
2 34 R6
172.16.10.24/302406:6400:e:10:/64
172.16.10.28/302406:6400:e:11:/64
1 25
1 29
2 26
2 30
1 57
2 58
1 49
1 53
2 50
2 54
R9
172.16.10.56/302406:6400:f:22:/64
172.16.10.48/302406:6400:f:20:/64
172.
16.1
0.80
/30
2406
:640
0:f:3
2:/6
4
81 1
82 2
172.
16.1
0.72
/30
2406
:640
0:f:3
0:/6
417
2.16
.10.
76/3
024
06:6
400:
f:31:
/64
74 2
73 1
77 1
78 2
3 3
3 34 4
4 4
fa0/11fa0/5fa0/8
fa0/11fa0/2
fa0/
5
fa0/0
fa0/
8
fa0/0
lo 0172.16.15.2/32
2406:6400::2/128
lo 0172.16.15.5/32
2406:6400::5/128
lo 0172.16.15.8/32
2406:6400::8/128
lo 0172.16.15.11/32
2406:6400::11/128
lo 0172.16.15.1/32
2406:6400::1/128
lo 0172.16.15.3/32
2406:6400::3/128
lo 0172.16.15.10/32
2406:6400::10/128
lo 0172.16.15.12/32
2406:6400::12/128
lo 0172.16.15.4/32
2406:6400::4/128
lo 0172.16.15.6/32
2406:6400::6/128
lo 0172.16.15.7/32
2406:6400::7/128
lo 0172.16.15.9/32
2406:6400::9/128
172.16.26.0/232406:6400:308::/48
1 1
1 1
1 1
1 1
1 1
1 1
e1/1 172.16.10.52/30
2406:6400:f:21:/64
1 1
OSPF Area 2
OSPF Area 4
OSPF Area 0
OSPF Area 1
OSPF Area 3
APNIC IPv6/Routing Workshop Lab
9
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
IPv6 OSPF Conf Router4: config t interface loopback 0 ipv6 ospf 17821 area 2 interface e1/0 ipv6 ospf 17821 area 2 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 2 ipv6 ospf network point-to-point exit exit wr IPv4 OSPF Conf Router5: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.5 0.0.0.0 area 0 no passive-interface e1/0 network 172.16.10.24 0.0.0.3 area 2 no passive-interface e1/1 network 172.16.10.28 0.0.0.3 area 2 no passive-interface fa0/0 network 172.16.12.0 0.0.0.255 area 0 no passive-interface fa0/1 network 172.16.13.0 0.0.0.255 area 0 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router5: config t interface loopback 0 ipv6 ospf 17821 area 0 interface fa0/0 ipv6 ospf 17821 area 0 interface fa0/1 ipv6 ospf 17821 area 0 interface e1/0 ipv6 ospf 17821 area 2 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 2 ipv6 ospf network point-to-point exit exit wr
Tuesday, August 27, 2013
10
IPv4 OSPF Conf Router6: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.6 0.0.0.0 area 2 no passive-interface e1/0 network 172.16.10.28 0.0.0.3 area 2 no passive-interface e1/1 network 172.16.10.32 0.0.0.3 area 2 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router6: config t interface loopback 0 ipv6 ospf 17821 area 2 interface e1/0 ipv6 ospf 17821 area 2 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 2 ipv6 ospf network point-to-point exit exit wr
APNIC IPv6/Routing Workshop Lab
11
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
Configuration of OSPF in training ISP network Region3:
IPv4 OSPF Conf Router7: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.7 0.0.0.0 area 3 no passive-interface e1/0 network 172.16.10.48 0.0.0.3 area 3 no passive-interface e1/1 network 172.16.10.56 0.0.0.3 area 3 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr
R12
R4
R5
SW1
R2
R1
R3
R7
R8R11
R10
fa0/1
fa0/
0e1
/3
e1/0
e1/0fa0/0
fa0/0
e1/1
e1/1
e1/1
e1/0
172.
16.1
0.8/
3024
06:6
400:
e:2:
/64
9 1
10 2
172.
16.1
0.0/
3024
06:6
400:
e::/6
417
2.16
.10.
4/30
2406
:640
0:e:
1:/6
4
2 2
1 1
5 1
6 2
172.16.0.0/272406:6400:800::/64
1 1
172.16.13.0/242406:6400:3::/48
172.16.12.0/242406:6400:2::/48
1 1
2 2
fa0/
1fa
0/1
fa0/1
fa0/
0
e1/3
e1/0
e1/1
e1/0 fa0/0
e1/1
e1/1
e1/0 fa0/0
e1/0
e1/3
e1/0
e1/1
e1/1
e1/0 fa0/0
fa0/0
e1/3
e1/0
e1/1
e1/0
e1/0
e1/1
e1/1
fa0/0
fa0/0
1 1
2 2
172.16.2.0/272406:6400:a00::/64
172.16.4.0/272406:6400:c00::/64
172.16.6.0/232406:6400:4::/48
172.
16.2
8.0/
2324
06:6
400:
400:
:/48
172.
16.3
0.0/
2324
06:6
400:
408:
:/48
172.16.10.32/302406:6400:e:12:/64
1 33
2 34 R6
172.16.10.24/302406:6400:e:10:/64
172.16.10.28/302406:6400:e:11:/64
1 25
1 29
2 26
2 30
1 57
2 58
1 49
1 53
2 50
2 54
R9
172.16.10.56/302406:6400:e:22:/64
172.16.10.48/302406:6400:e:20:/64
172.
16.1
0.80
/30
2406
:640
0:f:3
2:/6
4
81 1
82 2
172.
16.1
0.72
/30
2406
:640
0:f:3
0:/6
417
2.16
.10.
76/3
024
06:6
400:
f:31:
/64
74 2
73 1
77 1
78 2
3 3
3 34 4
4 4
fa0/11fa0/5fa0/8
fa0/11fa0/2
fa0/
5
fa0/0
fa0/
8
fa0/0
lo 0172.16.15.2/32
2406:6400::2/128
lo 0172.16.15.5/32
2406:6400::5/128
lo 0172.16.15.8/32
2406:6400::8/128
lo 0172.16.15.11/32
2406:6400::11/128
lo 0172.16.15.1/32
2406:6400::1/128
lo 0172.16.15.3/32
2406:6400::3/128
lo 0172.16.15.10/32
2406:6400::10/128
lo 0172.16.15.12/32
2406:6400::12/128
lo 0172.16.15.4/32
2406:6400::4/128
lo 0172.16.15.6/32
2406:6400::6/128
lo 0172.16.15.7/32
2406:6400::7/128
lo 0172.16.15.9/32
2406:6400::9/128
1 1
1 1
1 1
1 1
e1/1 172.16.10.52/30
2406:6400:e:21:/64
1 1
OSPF Area 2
OSPF Area 4
OSPF Area 0
OSPF Area 1
OSPF Area 3
Tuesday, August 27, 2013
12
IPv6 OSPF Conf Router7: config t interface loopback 0 ipv6 ospf 17821 area 3 interface e1/0 ipv6 ospf 17821 area 3 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 3 ipv6 ospf network point-to-point exit exit wr IPv4 OSPF Conf Router8: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.8 0.0.0.0 area 0 no passive-interface e1/0 network 172.16.10.48 0.0.0.3 area 3 no passive-interface e1/1 network 172.16.10.52 0.0.0.3 area 3 no passive-interface fa0/0 network 172.16.12.0 0.0.0.255 area 0 no passive-interface fa0/1 network 172.16.13.0 0.0.0.255 area 0 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router8: config t interface loopback 0 ipv6 ospf 17821 area 0 interface fa0/0 ipv6 ospf 17821 area 0 interface fa0/1 ipv6 ospf 17821 area 0 interface e1/0 ipv6 ospf 17821 area 3 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 3 ipv6 ospf network point-to-point exit exit wr
APNIC IPv6/Routing Workshop Lab
13
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
IPv4 OSPF Conf Router9: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.9 0.0.0.0 area 3 no passive-interface e1/0 network 172.16.10.52 0.0.0.3 area 3 no passive-interface e1/1 network 172.16.10.56 0.0.0.3 area 3 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router9: config t interface loopback 0 ipv6 ospf 17821 area 3 interface e1/0 ipv6 ospf 17821 area 3 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 3 ipv6 ospf network point-to-point exit exit wr
Tuesday, August 27, 2013
14
Configuration of OSPF in training ISP network Region4:
IPv4 OSPF Conf Router10: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.10 0.0.0.0 area 4 no passive-interface e1/0 network 172.16.10.72 0.0.0.3 area 4 no passive-interface e1/1 network 172.16.10.80 0.0.0.3 area 4 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr
R12
R4
R5
SW1
R2
R1
R3
R7
R8R11
R10
fa0/1
fa0/
0e1
/3
e1/0
e1/0fa0/0
fa0/0
e1/1
e1/1
e1/1
e1/0
172.
16.1
0.8/
3024
06:6
400:
e:2:
/64
9 1
10 2
172.
16.1
0.0/
3024
06:6
400:
e::/6
417
2.16
.10.
4/30
2406
:640
0:e:
1:/6
4
2 2
1 1
5 1
6 2
172.16.0.0/272406:6400:800::/64
1 1
172.16.13.0/242406:6400:3::/48
172.16.12.0/242406:6400:2::/48
1 1
2 2
fa0/
1fa
0/1
fa0/1
fa0/
0
e1/3
e1/0
e1/1
e1/0 fa0/0
e1/1
e1/1
e1/0 fa0/0
e1/0
e1/3
e1/0
e1/1
e1/1
e1/0 fa0/0
fa0/0
e1/3
e1/0
e1/1
e1/0
e1/0
e1/1
e1/1
fa0/0
fa0/0
1 1
2 2
172.16.2.0/272406:6400:a00::/64
172.16.4.0/272406:6400:c00::/64
172.16.6.0/272406:6400:e00::/64
172.16.10.32/302406:6400:e:12:/64
1 33
2 34 R6
172.16.10.24/302406:6400:e:10:/64
172.16.10.28/302406:6400:e:11:/64
1 25
1 29
2 26
2 30
1 57
2 58
1 49
1 53
2 50
2 54
R9
172.16.10.56/302406:6400:e:22:/64
172.16.10.48/302406:6400:e:20:/64
172.
16.1
0.80
/30
2406
:640
0:e:
32:/6
4
81 1
82 2
172.
16.1
0.72
/30
2406
:640
0:e:
30:/6
417
2.16
.10.
76/3
024
06:6
400:
e:31
:/64
74 2
73 1
77 1
78 2
3 3
3 34 4
4 4
fa0/11fa0/5fa0/8
fa0/11fa0/2
fa0/
5
fa0/0
fa0/
8
fa0/0
lo 0172.16.15.2/32
2406:6400::2/128
lo 0172.16.15.5/32
2406:6400::5/128
lo 0172.16.15.8/32
2406:6400::8/128
lo 0172.16.15.11/32
2406:6400::11/128
lo 0172.16.15.1/32
2406:6400::1/128
lo 0172.16.15.3/32
2406:6400::3/128
lo 0172.16.15.10/32
2406:6400::10/128
lo 0172.16.15.12/32
2406:6400::12/128
lo 0172.16.15.4/32
2406:6400::4/128
lo 0172.16.15.6/32
2406:6400::6/128
lo 0172.16.15.7/32
2406:6400::7/128
lo 0172.16.15.9/32
2406:6400::9/1281
1
1 1
e1/1 172.16.10.52/30
2406:6400:e:21:/64
1 1
OSPF Area 2
OSPF Area 4
OSPF Area 0
OSPF Area 1
OSPF Area 3
APNIC IPv6/Routing Workshop Lab
15
©APNIC V2.0 Created: 02 June 2010 Updated: 29 July 2013 nurul/documents/traininglab/
IPv6 OSPF Conf Router10: config t interface loopback 0 ipv6 ospf 17821 area 4 interface e1/0 ipv6 ospf 17821 area 4 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 4 ipv6 ospf network point-to-point exit exit wr IPv4 OSPF Conf Router11: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.11 0.0.0.0 area 0 no passive-interface e1/0 network 172.16.10.72 0.0.0.3 area 4 no passive-interface e1/1 network 172.16.10.76 0.0.0.3 area 4 no passive-interface fa0/0 network 172.16.12.0 0.0.0.255 area 0 no passive-interface fa0/1 network 172.16.13.0 0.0.0.255 area 0 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router11: config t interface loopback 0 ipv6 ospf 17821 area 0 interface fa0/0 ipv6 ospf 17821 area 0 interface fa0/1 ipv6 ospf 17821 area 0 interface e1/0 ipv6 ospf 17821 area 4 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 4 ipv6 ospf network point-to-point exit exit wr
Tuesday, August 27, 2013
16
IPv4 OSPF Conf Router12: config t router ospf 17821 log-adjacency-changes passive-interface default network 172.16.15.12 0.0.0.0 area 4 no passive-interface e1/0 network 172.16.10.76 0.0.0.3 area 4 no passive-interface e1/1 network 172.16.10.80 0.0.0.3 area 4 exit int e1/0 ip ospf network point-to-point int e1/1 ip ospf network point-to-point exit exit wr IPv6 OSPF Conf Router12: config t interface loopback 0 ipv6 ospf 17821 area 4 interface e1/0 ipv6 ospf 17821 area 4 ipv6 ospf network point-to-point interface e1/1 ipv6 ospf 17821 area 4 ipv6 ospf network point-to-point exit exit wr