1 | % Advanced Routing Workshop |
---|
2 | % Basic Routing Lab |
---|
3 | |
---|
4 | \pagebreak |
---|
5 | |
---|
6 | # Introduction |
---|
7 | |
---|
8 | The purpose of this exercise is to: |
---|
9 | |
---|
10 | * Configure the basics of a Cisco router |
---|
11 | * Enable OSPF to exchange internal routing information |
---|
12 | * Configure static routing towards a service provider |
---|
13 | |
---|
14 |  |
---|
15 | |
---|
16 |  |
---|
17 | |
---|
18 | |
---|
19 | The network configuration is designed to be modular to |
---|
20 | allow the lab to grow as needed depending on the number |
---|
21 | of partipants. Each module will contain 1 ISP and 3 customer |
---|
22 | networks (universities, etc). Modules will be interconnected |
---|
23 | (see Fig. 3) |
---|
24 | |
---|
25 |  |
---|
26 | |
---|
27 | # Logistics |
---|
28 | |
---|
29 | Each participant will be assigned to a network. Depending on the |
---|
30 | number of participants, either a single person or a group will be |
---|
31 | responsible for the configuration of a router. You may be asked |
---|
32 | to rotate and work on a different router so that you have the |
---|
33 | opportunity to understand the network from another point of view. |
---|
34 | |
---|
35 | As you go through the exercises, you will see examples of |
---|
36 | configurations for one or more routers. **Make sure to take those |
---|
37 | examples and adapt them to your own router, network topology and |
---|
38 | addressing scheme. Use the diagrams to guide you.** |
---|
39 | |
---|
40 | Refer to the *Lab Access Instructions* document for information |
---|
41 | about logging into the routers that have been assigned to you. |
---|
42 | |
---|
43 | # Address Space Allocation |
---|
44 | |
---|
45 | ## End networks (universities, etc) |
---|
46 | |
---|
47 | Group IPv4 IPv6 ASN |
---|
48 | ------- ------------ ------------- ------- |
---|
49 | 1 10.10.0.0/16 fd00:10::/32 10 |
---|
50 | 2 10.20.0.0/16 fd00:20::/32 20 |
---|
51 | 3 10.30.0.0/16 fd00:30::/32 30 |
---|
52 | |
---|
53 | *The list will continue in the same pattern if there are more |
---|
54 | groups.* |
---|
55 | |
---|
56 | Each group will then further partition their space as follows: |
---|
57 | |
---|
58 | IPv4 IPv6 Description |
---|
59 | --------------- --------------- -------------------- |
---|
60 | 10.X0.0.0/17 fd00:X0::/40 End user space |
---|
61 | 10.X0.254.0/24 fd00:X0:fe::/64 Point-to-point links |
---|
62 | 10.X0.255.0/24 fd00:X0:ff::/64 Router loopbacks |
---|
63 | |
---|
64 | Where X is your group number (1,2,3...) |
---|
65 | |
---|
66 | Prefixes for point to point links will be of length /30 for IPv4 |
---|
67 | and /127 for IPv6 (we will adopt the recommendations of RFC6164 |
---|
68 | for IPv6 inter-router links): |
---|
69 | |
---|
70 | IPv4 IPv6 Description |
---|
71 | --------------- ---------------- -------------------- |
---|
72 | 10.X0.254.0/30 fd00:X0:fe::/127 P2P #1 |
---|
73 | 10.X0.254.4/30 fd00:X0:fe::2/127 P2P #2 |
---|
74 | 10.X0.254.8/30 fd00:X0:fe::4/127 P2P #3 |
---|
75 | |
---|
76 | ... and so on. |
---|
77 | |
---|
78 | Router loopback addresses will be of size /32 for IPv4 and /128 |
---|
79 | for IPv6: |
---|
80 | |
---|
81 | IPv4 IPv6 Description |
---|
82 | --------------- ---------------- -------------------- |
---|
83 | 10.X0.255.1/32 fd00:X0:ff::1/128 RX1 Loopback |
---|
84 | 10.X0.255.2/32 fd00:X0:ff::2/128 RX2 Loopback |
---|
85 | |
---|
86 | |
---|
87 | ## Commercial Internet Service Providers (ISPs) |
---|
88 | |
---|
89 | ISP IPv4 IPv6 ASN |
---|
90 | ----- ------------ ------------- ------- |
---|
91 | 1 10.201.0.0/16 fd00:200::/32 201 |
---|
92 | 2 10.202.0.0/16 fd00:201::/32 202 |
---|
93 | |
---|
94 | ... and so on. |
---|
95 | |
---|
96 | ## Internet Exchange Points (IXPs) |
---|
97 | |
---|
98 | IXP IPv4 IPv6 |
---|
99 | ----- ------------ --------------- |
---|
100 | 1 10.251.1.0/24 fd00:251:1::/64 |
---|
101 | |
---|
102 | |
---|
103 | # Basic Router Configuration |
---|
104 | |
---|
105 | 1. Name the router |
---|
106 | |
---|
107 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
108 | enable |
---|
109 | config terminal |
---|
110 | hostname R11 |
---|
111 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
112 | |
---|
113 | 2. Configure Authentication |
---|
114 | |
---|
115 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
116 | aaa new-model |
---|
117 | aaa authentication login default local |
---|
118 | aaa authentication enable default enable |
---|
119 | username nsrc secret nsrc |
---|
120 | enable secret nsrc |
---|
121 | service password-encryption |
---|
122 | line vty 0 4 |
---|
123 | transport preferred none |
---|
124 | line console 0 |
---|
125 | transport preferred none |
---|
126 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
127 | |
---|
128 | 3. Configure logging |
---|
129 | |
---|
130 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
131 | no logging console |
---|
132 | logging buffered 8192 debugging |
---|
133 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
134 | |
---|
135 | 4. Disable DNS resolution |
---|
136 | |
---|
137 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
138 | no ip domain-lookup |
---|
139 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
140 | |
---|
141 | 5. Make sure the router understands CIDR. This is the default |
---|
142 | setting in recent IOS versions, but just in case. |
---|
143 | |
---|
144 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
145 | ip subnet-zero |
---|
146 | ip classless |
---|
147 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
148 | |
---|
149 | 6. Disable source routing |
---|
150 | |
---|
151 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
152 | no ip source-route |
---|
153 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
154 | |
---|
155 | 7. Activate IPv6 routing |
---|
156 | |
---|
157 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
158 | ipv6 unicast-routing |
---|
159 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
160 | |
---|
161 | 8. Exit configuration mode and save |
---|
162 | |
---|
163 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
164 | end |
---|
165 | write memory |
---|
166 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
167 | |
---|
168 | 9. Configure your interfaces according to the diagram |
---|
169 | |
---|
170 | *Notice that for the links to the ISP we will use the ISP's |
---|
171 | addresses, while for internal links we use internal addresses.* |
---|
172 | |
---|
173 | On R11: |
---|
174 | |
---|
175 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
176 | interface GigabitEthernet2/0 |
---|
177 | description P2P Link to R12 |
---|
178 | ip address 10.10.254.1 255.255.255.252 |
---|
179 | no ip directed-broadcast |
---|
180 | no ip redirects |
---|
181 | no ip proxy-arp |
---|
182 | ipv6 address fd00:10:fe::/127 |
---|
183 | ipv6 nd ra suppress |
---|
184 | no shutdown |
---|
185 | ! |
---|
186 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
187 | |
---|
188 | |
---|
189 | On R12: |
---|
190 | |
---|
191 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
192 | interface GigabitEthernet1/0 |
---|
193 | description P2P Link to ISP1 |
---|
194 | ip address 10.201.254.2 255.255.255.252 |
---|
195 | no ip directed-broadcast |
---|
196 | no ip redirects |
---|
197 | no ip proxy-arp |
---|
198 | ipv6 address fd00:201:fe::1/127 |
---|
199 | ipv6 nd ra suppress |
---|
200 | no shutdown |
---|
201 | ! |
---|
202 | interface GigabitEthernet2/0 |
---|
203 | description P2P Link to R11 |
---|
204 | ip address 10.10.254.2 255.255.255.252 |
---|
205 | no ip directed-broadcast |
---|
206 | no ip redirects |
---|
207 | no ip proxy-arp |
---|
208 | ipv6 address fd00:10:fe::1/127 |
---|
209 | ipv6 nd ra suppress |
---|
210 | no shutdown |
---|
211 | |
---|
212 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
213 | |
---|
214 | Explanations for some of the above commands: |
---|
215 | |
---|
216 | *no ip directed-broadcast* |
---|
217 | |
---|
218 | An IP directed broadcast is an IP packet whose destination address |
---|
219 | is a valid broadcast address for some IP subnet, but which originates |
---|
220 | from a node that is not itself part of that destination subnet. |
---|
221 | |
---|
222 | Because directed broadcasts, and particularly Internet Control Message |
---|
223 | Protocol (ICMP) directed broadcasts, have been abused by malicious persons, |
---|
224 | we recommend disabling the ip directed-broadcast command on any intereface |
---|
225 | where directed broadcasts are not needed (probably all). |
---|
226 | |
---|
227 | *no ip proxy-arp* |
---|
228 | |
---|
229 | Proxy ARP is the technique in which one host, usually a router, answers |
---|
230 | ARP requests intended for another machine. By "faking" its identity, the |
---|
231 | router accepts responsibility for routing packets to the "real" destination. |
---|
232 | Proxy ARP can help machines on a subnet reach remote subnets without the need |
---|
233 | to configure routing or a default gateway. |
---|
234 | |
---|
235 | Disadvantages of proxy arp: |
---|
236 | |
---|
237 | * It increases the impact of ARP spoofing, in which a machine claims to |
---|
238 | be another in order to intercept packets. |
---|
239 | * It hides network misconfigurations in hosts |
---|
240 | * Hosts will have larger ARP tables |
---|
241 | |
---|
242 | *no ip redirects* |
---|
243 | |
---|
244 | ICMP redirects can be sent to a host when the router knows that another router in |
---|
245 | the same subnet has a better path to a destination. If a hacker installs |
---|
246 | a router in the network that causes the legitimate router to learn these |
---|
247 | ilegitimate paths, the hacker's router will end up diverting legitimate |
---|
248 | traffic thanks to ICMP redirects. Thus, we recommend that you disable this |
---|
249 | feature in all your interfaces. |
---|
250 | |
---|
251 | *ipv6 nd ra supress* |
---|
252 | |
---|
253 | IPv6 router advertisements are sent periodically by routers to inform hosts |
---|
254 | that the router is present, and to allow hosts to autoconfigure themselves using |
---|
255 | stateless autoconfiguration mechanisms. This is not necessary on |
---|
256 | point-to-point interfaces. |
---|
257 | |
---|
258 | 10. Do some PING tests |
---|
259 | |
---|
260 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
261 | R12# ping 10.10.254.1 <- R11 |
---|
262 | R12# ping fd00:10:fe::0 <- R11 |
---|
263 | R12# ping 10.201.254.1 <- ISP1 |
---|
264 | R12# ping fd00:201:fe::0 <- ISP1 |
---|
265 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
266 | |
---|
267 | and then verify the output of the following commands: |
---|
268 | |
---|
269 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
270 | show arp : Show ARP cache |
---|
271 | show interface <int> : Show interface state and config |
---|
272 | show ip interface : Show interface IP state and config |
---|
273 | show ipv6 neighbors : Show IPv6 neighbors |
---|
274 | show ipv6 interface <int> : Show interface state and config |
---|
275 | show cdp neighbors : Show neighbors seen via CDP |
---|
276 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
277 | |
---|
278 | 11. Create Loopback interface |
---|
279 | |
---|
280 | On R11: |
---|
281 | |
---|
282 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
283 | interface loopback 0 |
---|
284 | ip address 10.10.255.1 255.255.255.255 |
---|
285 | ipv6 address fd00:10:ff::1/128 |
---|
286 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
287 | |
---|
288 | do the same for R12 (obviously, using different |
---|
289 | addresses). |
---|
290 | |
---|
291 | 12. Verify and save the configuration. |
---|
292 | |
---|
293 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
294 | show running-config |
---|
295 | write memory |
---|
296 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
297 | |
---|
298 | # Routing |
---|
299 | |
---|
300 | ## OSPF |
---|
301 | |
---|
302 | 1. Try pinging the loopback addresses of your neighbor |
---|
303 | |
---|
304 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
305 | R11# ping 10.10.255.2 <- R12 loopback |
---|
306 | R11# ping fd00:10:ff:2 <- R12 loopback |
---|
307 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
308 | |
---|
309 | Q. What is happening? |
---|
310 | |
---|
311 | 2. Configure a new OSPF routing process. |
---|
312 | |
---|
313 | Notice that we will use the number "10" as the |
---|
314 | OSPF process number for routers R11 and R12. |
---|
315 | This number is local to the router, so it doesn't |
---|
316 | need to match the process number of a neighboring |
---|
317 | router. However, it is recommended that you |
---|
318 | use the same number throughout your network. Most |
---|
319 | people use their Autonomous System number (although |
---|
320 | OSPF has nothing to do with the BGP ASN). |
---|
321 | |
---|
322 | On R11 and R12: |
---|
323 | |
---|
324 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
325 | router ospf 10 |
---|
326 | log-adjacency-changes |
---|
327 | passive-interface default |
---|
328 | ! |
---|
329 | ipv6 router ospf 10 |
---|
330 | log-adjacency-changes |
---|
331 | passive-interface default |
---|
332 | area 0 authentication ipsec spi 256 md5 0123456789ABCDEF0123456789ABCDEF |
---|
333 | |
---|
334 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
335 | |
---|
336 | 3. Now configure OSPF on the interfaces where adjacencies |
---|
337 | need to be established: |
---|
338 | |
---|
339 | On R11 and R12: |
---|
340 | |
---|
341 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
342 | interface GigabitEthernet2/0 |
---|
343 | ip ospf 10 area 0 |
---|
344 | ip ospf authentication message-digest |
---|
345 | ip ospf authentication-key N$RC |
---|
346 | ip ospf network point-to-point |
---|
347 | ipv6 ospf 10 area 0 |
---|
348 | ipv6 ospf network point-to-point |
---|
349 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
350 | |
---|
351 | Notice two things: |
---|
352 | |
---|
353 | a) We are configuring authentication to have control |
---|
354 | over who becomes an adjacent router and protect |
---|
355 | against ilegitimate routing information. We configure |
---|
356 | authentication per interface in IPv4 and per area in |
---|
357 | IPv6, just because it is simpler that way. |
---|
358 | |
---|
359 | b) We use the "network point-to-point" statement |
---|
360 | because we are using point-to-point links over a broadcast |
---|
361 | network. There is no reason for OSPF to elect a Designated |
---|
362 | Router (DR) and Backup Designated Router (BDR). |
---|
363 | |
---|
364 | Then, since we have configured OSPF to make all |
---|
365 | interfaces passive by default (recommended!), we need |
---|
366 | to explicitly activate the *OSPF Hello* function on |
---|
367 | the interfaces where routing information needs to |
---|
368 | be exchanged: |
---|
369 | |
---|
370 | R11 and R12: |
---|
371 | |
---|
372 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
373 | router ospf 10 |
---|
374 | no passive-interface GigabitEthernet2/0 |
---|
375 | ! |
---|
376 | ipv6 router ospf 10 |
---|
377 | no passive-interface GigabitEthernet2/0 |
---|
378 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
379 | |
---|
380 | Now configure OSPF on any interface that needs |
---|
381 | to have its subnets advertised by OSPF, if OSPF has |
---|
382 | not been enabled already: |
---|
383 | |
---|
384 | On R11 and R12: |
---|
385 | |
---|
386 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
387 | interface Loopback0 |
---|
388 | ip ospf 10 area 0 |
---|
389 | ipv6 ospf 10 area 0 |
---|
390 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
391 | |
---|
392 | 5. STOP. Checkpoint |
---|
393 | |
---|
394 | Now try the following show commands: |
---|
395 | |
---|
396 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
397 | sh ip ospf neighbor : show adjacencies |
---|
398 | sh ip route : show routes in routing table |
---|
399 | sh ip ospf : show general OSPF information |
---|
400 | sh ip ospf interface : show the status of OSPF in an interface |
---|
401 | |
---|
402 | show ipv6 ospf neighbor |
---|
403 | show ipv6 route |
---|
404 | show ipv6 ospf |
---|
405 | show ipv6 ospf interface |
---|
406 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
407 | |
---|
408 | Repeat the last ping tests. |
---|
409 | |
---|
410 | Q. Can you ping the loopback address of the neighboring router now? |
---|
411 | |
---|
412 | ## Static default routes |
---|
413 | |
---|
414 | 1. Configure static default routes to reach the outside world. |
---|
415 | |
---|
416 | On R11: |
---|
417 | |
---|
418 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
419 | ip route 0.0.0.0 0.0.0.0 10.10.254.2 |
---|
420 | ipv6 route ::/0 fd00:10:fe::1 |
---|
421 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
422 | |
---|
423 | On R12: |
---|
424 | |
---|
425 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
426 | ip route 0.0.0.0 0.0.0.0 10.201.254.1 |
---|
427 | ipv6 route ::/0 fd00:201:fe:: |
---|
428 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
429 | |
---|
430 | Do some ping and traceroute tests. |
---|
431 | |
---|
432 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
433 | R11# ping 10.20.255.1 |
---|
434 | R11# ping 10.30.255.1 |
---|
435 | R11# traceroute 10.20.255.1 |
---|
436 | R11# traceroute 10.30.255.1 |
---|
437 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
438 | |
---|
439 | Q. Can you reach the routers in other networks? |
---|
440 | |
---|
441 | Don't forget to save your configurations. |
---|
442 | |
---|
443 | \pagebreak |
---|
444 | |
---|
445 | # Appendix A - ISP1 Sample Configuration |
---|
446 | |
---|
447 | |
---|
448 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
449 | hostname ISP1 |
---|
450 | aaa new-model |
---|
451 | aaa authentication login default local |
---|
452 | aaa authentication enable default enable |
---|
453 | username nsrc secret nsrc |
---|
454 | enable secret nsrc |
---|
455 | service password-encryption |
---|
456 | line vty 0 4 |
---|
457 | transport preferred none |
---|
458 | line console 0 |
---|
459 | transport preferred none |
---|
460 | no logging console |
---|
461 | logging buffered 8192 debugging |
---|
462 | no ip domain-lookup |
---|
463 | ip subnet-zero |
---|
464 | ip classless |
---|
465 | no ip source-route |
---|
466 | ipv6 unicast-routing |
---|
467 | ! |
---|
468 | interface Loopback0 |
---|
469 | ip address 10.201.255.1 255.255.255.255 |
---|
470 | ipv6 address fd00:201:ff::1/128 |
---|
471 | ! |
---|
472 | interface GigabitEthernet1/0 |
---|
473 | description Link to IXP |
---|
474 | ip address 10.251.1.1 255.255.255.0 |
---|
475 | no ip directed-broadcast |
---|
476 | no ip redirects |
---|
477 | no ip proxy-arp |
---|
478 | ipv6 address fd00:251:1::1/64 |
---|
479 | ipv6 nd ra supress |
---|
480 | no shutdown |
---|
481 | ! |
---|
482 | interface GigabitEthernet3/0 |
---|
483 | description P2P Link to R12 |
---|
484 | ip address 10.201.254.1 255.255.255.252 |
---|
485 | no ip directed-broadcast |
---|
486 | no ip redirects |
---|
487 | no ip proxy-arp |
---|
488 | ipv6 address fd00:201:fe::/127 |
---|
489 | ipv6 nd ra supress |
---|
490 | no shutdown |
---|
491 | ! |
---|
492 | ip route 10.10.0.0 255.255.0.0 10.201.254.2 |
---|
493 | ipv6 route fd00:10::/32 fd00:201:fe::1 |
---|
494 | ! |
---|
495 | ip route 0.0.0.0 0.0.0.0 10.251.1.2 |
---|
496 | ipv6 route ::/0 fd00:251:1::2 |
---|
497 | |
---|
498 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
499 | |
---|