Você está na página 1de 8

APNIC IPv6/Routing Workshop Lab (JunOS Draft)

Module 1 Basic Configuration Task for Training Lab Network


Objective: All the workshop lab routers are set to the default configuration and cabling
requirements are prebuild according to the following topology diagram. Participants will be
required to do the necessary configurations as part of a team according to the lab design
specification explained in the presentation section. There are 5 routers (3 core and 2 CPE) in
each team/region. So 4 team will finish 20 routers configuration in several steps throughout the
workshop duration. Workshop instructor will explain how the team will be organized, router
will be allocated and IP address detail to access the lab routers.
Prerequisites: Basic TCP/IP knowledge, JunOS CLI, Telnet/SSH software etc.
The following will be the common topology and IP address plan used for the labs.

Infra

e1/3

e1/1
e1/1

e1/1
e1/0

fa0/1

e1/1

fa0/8

e1/1

e1/3

e1/3

11

lo 0
172.16.15.8/32
2406:6400::8/128

e1/1

44

e1/1

fa0/0

e1/0
e1/1

172.16.10.76/30
2406:6400:e:31::/64

AS17821
lo 0
172.16.15.11/32
2406:6400::11/128

2 54

172.16.4.0/23
2406:6400:c00::/39

DNS MAIL WWW

lo 0
172.16.15.9/32
2406:6400::9/128

2 58

R9
e1/0

172.16.6.0/23
2406:6400:e00::/39

lo 0
172.16.15.7/32
2406:6400::7/128

fa0/0

r18-CBR3

fa0/1
2 162
161 1
172.16.11.160/30
2406:6400:24::/64

Infra

11
fa0/0

CPE

172.16.26.0/23
2406:6400:d800::/48

e1/1

1 53

e1/0
78 2

Infra

1 57

1 49

fa0/0

77 1

R12

2 50

33

44

fa0/1

fa0/0

172.16.11.128/30
2406:6400:20::/64 r17-CAR3
129 1
2 130
11
fa0/1
fa0/0
fa0/0

172.16.10.56/30
2406:6400:e:22::/64

CPE

R8

e1/0

172.16.10.52/30
2406:6400:e:21::/64

fa0/0

82 2

fa0/1
fa0/0
1 225
226 2
172.16.11.224/30
2406:6400:2c::/64

R11

73 1

11

fa0/8

11

r20-CBR4
11

fa0/1
2 98
172.16.11.96/30
2406:6400:1c::/64

fa0/5

SW2

33

lo 0
172.16.15.10/32
2406:6400::10/128

172.16.10.72/30
2406:6400:e:30::/64

74 2
81 1

r16-CBR2

R6
fa0/0

R7
e1/0

lo 0
172.16.15.6/32
2406:6400::6/128

172.16.24.0/23
2406:6400:c000::/48

1 193
fa0/0

11
fa0/0

lo 0
172.16.15.4/32
2406:6400::4/128

97 1

2 30

172.16.10.48/30
2406:6400:e:20::/64

fa0/0

SW1

2 34
e1/0

R10

r19-CAR4

194 2
fa0/1

fa0/1

fa0/5

fa0/2

11

e1/0

e1/3
11

172.16.10.0/30
2406:6400:e::/64
172.16.10.4/30
2406:6400:e:1::/64

e1/1

e1/0

172.16.10.80/30
2406:6400:e:32::/64

172.16.18.0/23
2406:6400:9800::/48

172.16.12.0/24
2406:6400:2::/48

fa0/11

172.16.11.192/30
2406:6400:28::/64

1 29
22

fa0/11

172.16.28.0/23
2406:6400:e000::/48

11

r15-CAR2

2 66
fa0/1

172.16.22.0/23
2406:6400:b800::/48

62

1 25

fa0/0

fa0/0

1 33

172.16.10.28/30
2406:6400:e:11::/64

R3

10 2

fa0/1
fa0/0
34 2
1 33
172.16.11.32/30
2406:6400:14::/64

lo 0
172.16.15.12/32
2406:6400::12/128
172.16.30.0/23
2406:6400:f800::/48

51

R5

172.16.13.0/24
2406:6400:3::/48

fa0/1

e1/0
2 26

172.16.10.32/30
2406:6400:e:12::/64

R2

11

22

11
fa0/0

lo 0
172.16.15.2/32
2406:6400::2/128

fa0/2

r14-CBR1

lo 0
172.16.15.5/32
2406:6400::5/128

11

172.16.10.8/30
2406:6400:e:2::/64

e1/1

91

lo 0
172.16.15.3/32
2406:6400::3/128

CPE
172.16.11.64/30
2406:6400:18::/64

65 1
e1/0
22

lo 0
172.16.15.1/32
2406:6400::1/128

Infra
R4

11
fa0/0

11

fa0/1

e1/0

22

172.16.2.0/23
2406:6400:a00::/39

fa0/0

11
fa0/0

172.16.0.0/23
2406:6400:800::/39

R1

e1/1

r13-CAR1

172.16.20.0/23
2406:6400:a000::/48

172.16.11.0/30
2406:6400:10::/64

DNS MAIL WWW

172.16.10.24/30
2406:6400:e:10::/64

172.16.16.0/23
2406:6400:8000::/48

CPE

DNS MAIL WWW

DNS MAIL WWW

Figure 1 ISP Lab Basic Configuration

APNIC V2.0
Created: 02 March 2015
Updated: 16 July 2015
nurul/documents/traininglab/

Thursday, June 18, 2015

Lab Notes
This workshop is intended to be run on a real Juniper routers or virtualized environment with the
above lab topologies set up. The routers are using both IPv4 and IPv6 supported JunOS software.
Participants should do their workshop module one configuration in several steps as explained below:
1. Remove all previous configuration and build standard basic router configuration.
2. Standard interface related configuration for both IPv6 and IPv4.
3. Do necessary verification to make sure you can ping (Both IPv6 & IPv4) your neighbouring
router point-to-point interface and satisfy the requirement to go to the next step.
For time management purpose we will emphasize more on IPv6 protocol when we will do verification
and analysis after each lab exercise. Please notice that some JunOS commands are case sensitive,
probably few are already configured by default in some recent JunOS version and some are not a
mandatory command for router functionality. But for lab troubleshooting and verification purpose it is
strongly recommended that please do all necessary configuration exactly as it is explained on the
instruction. Our objective after the exercise is to build a template for each participant so that it can be
re-used after you go back to your work environment.

Lab Exercise
1.

Load the Required Configuration: This step will remove all previous configuration from the
router and set the Juniper SRX device with required to start lab module 1.
To Load a saved config:
[edit]
root@Router21# load override apnic_def
Commit Changes:

commit and-quit
From Operational Mode:
To reboot the router:

request system reboot


yes

2. Router Basic and Interface Related Configuration: This will set the router with necessary basic
and interface related configuration (IPv6 and IPv4) used in a real production router for both
enterprise and service provider network.
To access the CLI of Juniper device, log in to router with root account and access the
command line interface by using CLI command.
Router1 (ttyu0)
login: root
Password: apnic1
--- JUNOS 12.1X44-D35.5 built 2014-05-19 21:36:43 UTC
root% cli
root> configure
set system host-name Router1

APNIC IPv6/Routing Workshop Lab (JunOS Draft)

Example IPv4 & IPv6 Config on a Router Interface:


set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.15.1/32
set interfaces lo0 unit 0 family inet6 address 2406:6400::1/128

It is very important to add a meaningful description of a router interface to explain where this
interface is connected. Otherwise we might be lost finding which interface connects where on a
large data centre and need to jump behind the rack to look for a clue.
Commit Changes:

commit and-quit

END OF STEP TWO


3. Verify the neighbouring interface configuration:
Example IPv4 protocol verification on a Router:
ping 172.16.10.5
ping 172.16.10.9

[!!!!!]
[!!!!!]

You need to replace the destination IPv4 address with your relevant interface IPv4 address.
Please look at the topology diagram on page 1 for further detail.
Example IPv6 protocol verification on a Router:
ping 2406:6400:000E:0000::1
ping 2406:6400:000E:0002::2

[!!!!!]
[!!!!!]

You need to replace the destination IPv6 address with your relevant interface IPv6 address.
Please look at the topology diagram on page 1 for further detail.
END OF MODULE ONE
Next pages for reference template used on different routers.

APNIC V2.0
Created: 02 March 2015
Updated: 16 July 2015
nurul/documents/traininglab/

Thursday, June 18, 2015

Workshop templates for reference purpose only


IP Config Infrastructure Routers:
Router21:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.15.1/32
set interfaces lo0 unit 0 family inet6 address 2406:6400::1/128
set interfaces ge-0/0/6 description To-Router22
set interfaces ge-0/0/6 unit 0 family inet address 172.16.10.2/30
set interfaces ge-0/0/6 unit 0 family inet6 address 2406:6400:e::2/64
set interfaces ge-0/0/7 description To-Router23
set interfaces ge-0/0/7 unit 0 family inet address 172.16.10.9/30
set interfaces ge-0/0/7 unit 0 family inet6 address 2406:6400:e:2::1/64
set interfaces ge-0/0/15 description To-Router27
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.1/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:10::1/64
Verify point-to-point connectivity:
ping 172.16.10.1
ping 172.16.10.10

[!!!!!]
[!!!!!]

Verify point-to-point connectivity:


ping 2406:6400:000E:0000::1
ping 2406:6400:000E:0002::2

[!!!!!]
[!!!!!]

Router22:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.15.2/32
set interfaces lo0 unit 0 family inet6 address 2406:6400::2/128
set interfaces ge-0/0/0 description To-SW1
set interfaces ge-0/0/0 unit 0 family inet address 172.16.12.1/24
set interfaces ge-0/0/0 unit 0 family inet6 address 2406:6400:2::1/48
set interfaces ge-0/0/1 description To-SW2
set interfaces ge-0/0/1 unit 0 family inet address 172.16.13.1/24
set interfaces ge-0/0/1 unit 0 family inet6 address 2406:6400:3::1/48
set interfaces ge-0/0/6 description To-Router21
set interfaces ge-0/0/6 unit 0 family inet address 172.16.10.1/30
set interfaces ge-0/0/6 unit 0 family inet6 address 2406:6400:e::1/64
set interfaces ge-0/0/7 description To-Router23
set interfaces ge-0/0/7 unit 0 family inet address 172.16.10.5/30
set interfaces ge-0/0/7 unit 0 family inet6 address 2406:6400:e:1::1/64
set interfaces ge-0/0/15 description To-DC1
set interfaces ge-0/0/15 unit 0 family inet address 172.16.0.1/23
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:800::1/64
Verify point-to-point connectivity:
ping 172.16.10.2
ping 172.16.10.6

[!!!!!]
[!!!!!]
4

APNIC IPv6/Routing Workshop Lab (JunOS Draft)


Verify transport link:
ping
ping
ping
ping
ping
ping

172.16.12.2
172.16.12.3
172.16.12.4
172.16.13.2
172.16.13.3
172.16.13.4

[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]

Verify point-to-point connectivity:


ping 2406:6400:000E:0000::2
ping 2406:6400:000E:0001::2

[!!!!!]
[!!!!!]

Verify transport link:


ping
ping
ping
ping
ping
ping

2406:6400:0002:0000::2
2406:6400:0002:0000::3
2406:6400:0002:0000::4
2406:6400:0003:0000::2
2406:6400:0003:0000::3
2406:6400:0003:0000::4

[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]

Router23:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.15.3/32
set interfaces lo0 unit 0 family inet6 address 2406:6400::3/128
set interfaces ge-0/0/6 description To-Router22
set interfaces ge-0/0/6 unit 0 family inet address 172.16.10.6/30
set interfaces ge-0/0/6 unit 0 family inet6 address 2406:6400:e:1::2/64
set interfaces ge-0/0/7 description To-Router21
set interfaces ge-0/0/7 unit 0 family inet address 172.16.10.10/30
set interfaces ge-0/0/7 unit 0 family inet6 address 2406:6400:e:2::2/64
set interfaces ge-0/0/15 description To-Router28
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.33/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:14::1/64
Verify point-to-point connectivity:
ping 172.16.10.5
ping 172.16.10.9

[!!!!!]
[!!!!!]

Verify point-to-point connectivity:


ping 2406:6400:000E:0001::1 [!!!!!]
ping 2406:6400:000E:0002::1 [!!!!!]
Router24:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.15.1/32
set interfaces lo0 unit 0 family inet6 address 2406:6400::1/128
set interfaces ge-0/0/6 description To-Router25
set interfaces ge-0/0/6 unit 0 family inet address 172.16.10.26/30
set interfaces ge-0/0/6 unit 0 family inet6 address 2406:6400:e:10::2/64

APNIC V2.0
Created: 02 March 2015
Updated: 16 July 2015
nurul/documents/traininglab/

Thursday, June 18, 2015

set interfaces ge-0/0/7 description To-Router26


set interfaces ge-0/0/7 unit 0 family inet address 172.16.10.33/30
set interfaces ge-0/0/7 unit 0 family inet6 address 2406:6400:e:12::1/64
set interfaces ge-0/0/15 description To-Router29
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.65/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:18::1/64
Verify point-to-point connectivity:
ping 172.16.10.25
ping 172.16.10.34

[!!!!!]
[!!!!!]

Verify point-to-point connectivity:


ping 2406:6400:000E:0010::1
ping 2406:6400:000E:0012::2

[!!!!!]
[!!!!!]

Router25:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.15.5/32
set interfaces lo0 unit 0 family inet6 address 2406:6400::5/128
set interfaces ge-0/0/0 description To-SW1
set interfaces ge-0/0/0 unit 0 family inet address 172.16.12.2/24
set interfaces ge-0/0/0 unit 0 family inet6 address 2406:6400:2::2/48
set interfaces ge-0/0/1 description To-SW2
set interfaces ge-0/0/1 unit 0 family inet address 172.16.13.2/24
set interfaces ge-0/0/1 unit 0 family inet6 address 2406:6400:3::2/48
set interfaces ge-0/0/6 description To-Router24
set interfaces ge-0/0/6 unit 0 family inet address 172.16.10.25/30
set interfaces ge-0/0/6 unit 0 family inet6 address 2406:6400:e:10::1/64
set interfaces ge-0/0/7 description To-Router26
set interfaces ge-0/0/7 unit 0 family inet address 172.16.10.29/30
set interfaces ge-0/0/7 unit 0 family inet6 address 2406:6400:e:11::1/64
set interfaces ge-0/0/15 description To-DC2
set interfaces ge-0/0/15 unit 0 family inet address 172.16.2.1/23
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:a00::1/64
Verify point-to-point connectivity:
ping 172.16.10.26
ping 172.16.10.30

[!!!!!]
[!!!!!]

Verify transport link:


ping
ping
ping
ping
ping
ping

172.16.12.1
172.16.12.3
172.16.12.4
172.16.13.1
172.16.13.3
172.16.13.4

[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]

Verify point-to-point connectivity:


ping 2406:6400:000E:0010::2
ping 2406:6400:000E:0011::2

[!!!!!]
[!!!!!]
6

APNIC IPv6/Routing Workshop Lab (JunOS Draft)


Verify transport link:
ping
ping
ping
ping
ping
ping

2406:6400:0002:0000::1
2406:6400:0002:0000::3
2406:6400:0002:0000::4
2406:6400:0003:0000::1
2406:6400:0003:0000::3
2406:6400:0003:0000::4

[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]
[!!!!!]

Router26:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.15.6/32
set interfaces lo0 unit 0 family inet6 address 2406:6400::6/128
set interfaces ge-0/0/6 description To-Router25
set interfaces ge-0/0/6 unit 0 family inet address 172.16.10.30/30
set interfaces ge-0/0/6 unit 0 family inet6 address 2406:6400:e:11::2/64
set interfaces ge-0/0/7 description To-Router24
set interfaces ge-0/0/7 unit 0 family inet address 172.16.10.34/30
set interfaces ge-0/0/7 unit 0 family inet6 address 2406:6400:e:12::2/64
set interfaces ge-0/0/15 description To-Router30
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.97/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:1c::1/64
Customer Routers:

Router27:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.16.254/32
set interfaces lo0 unit 0 family inet6 address 2406:6400:8000::1/128
set interfaces ge-0/0/0 description To-Router27-LAN
set interfaces ge-0/0/0 unit 0 family inet address 172.16.16.1/27
set interfaces ge-0/0/0 unit 0 family inet6 address 2406:6400:8000:1::1/64
set interfaces ge-0/0/15 description To-Router21
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.2/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:10::2/64

Router28:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.18.254/32
set interfaces lo0 unit 0 family inet6 address 2406:6400:9800::1/128
set interfaces ge-0/0/0 description To-Router28-LAN
set interfaces ge-0/0/0 unit 0 family inet address 172.16.18.1/27
set interfaces ge-0/0/0 unit 0 family inet6 address 2406:6400:9800:1::1/64
set interfaces ge-0/0/15 description To-Router23
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.34/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:14::2/64
Router29:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.20.254/32
7

APNIC V2.0
Created: 02 March 2015
Updated: 16 July 2015
nurul/documents/traininglab/

Thursday, June 18, 2015

set interfaces lo0 unit 0 family inet6 address 2406:6400:a000::1/128


set interfaces ge-0/0/0 description To-Router29-LAN
set interfaces ge-0/0/0 unit 0 family inet address 172.16.20.1/27
set interfaces ge-0/0/0 unit 0 family inet6 address 2406:6400:a000:1::1/64
set interfaces ge-0/0/15 description To-Router24
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.66/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:18::2/64
Router30:
set interfaces lo0 description LoopBack
set interfaces lo0 unit 0 family inet address 172.16.22.254/32
set interfaces lo0 unit 0 family inet6 address 2406:6400:b800::1/128
set interfaces ge-0/0/0 description To-Router30-LAN
set interfaces ge-0/0/0 unit 0 family inet address 172.16.22.1/27
set interfaces ge-0/0/0 unit 0 family inet6 address 2406:6400:b800:1::1/64
set interfaces ge-0/0/15 description To-Router26
set interfaces ge-0/0/15 unit 0 family inet address 172.16.11.98/30
set interfaces ge-0/0/15 unit 0 family inet6 address 2406:6400:1c::2/64

Você também pode gostar