| 1 | % Network Design 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 | ip address 10.10.254.1 255.255.255.252 |
|---|
| 178 | description P2P Link to R12 |
|---|
| 179 | ipv6 address fd00:10:fe::/127 |
|---|
| 180 | no shutdown |
|---|
| 181 | ! |
|---|
| 182 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 183 | |
|---|
| 184 | |
|---|
| 185 | On R12: |
|---|
| 186 | |
|---|
| 187 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 188 | interface GigabitEthernet1/0 |
|---|
| 189 | ip address 10.201.254.2 255.255.255.252 |
|---|
| 190 | description P2P Link to ISP1 |
|---|
| 191 | ipv6 address fd00:201:fe::1/127 |
|---|
| 192 | no shutdown |
|---|
| 193 | ! |
|---|
| 194 | interface GigabitEthernet2/0 |
|---|
| 195 | ip address 10.10.254.2 255.255.255.252 |
|---|
| 196 | description P2P Link to R11 |
|---|
| 197 | ipv6 address fd00:10:fe::1/127 |
|---|
| 198 | no shutdown |
|---|
| 199 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 200 | |
|---|
| 201 | |
|---|
| 202 | 10. Do some PING tests |
|---|
| 203 | |
|---|
| 204 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 205 | R12# ping 10.10.254.1 <- R11 |
|---|
| 206 | R12# ping fd00:10:fe::0 <- R11 |
|---|
| 207 | R12# ping 10.201.254.1 <- ISP1 |
|---|
| 208 | R12# ping fd00:201:fe::0 <- ISP1 |
|---|
| 209 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 210 | |
|---|
| 211 | and then verify the output of the following commands: |
|---|
| 212 | |
|---|
| 213 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 214 | show arp : Show ARP cache |
|---|
| 215 | show interface <int> : Show interface state and config |
|---|
| 216 | show ip interface : Show interface IP state and config |
|---|
| 217 | show ipv6 neighbors : Show IPv6 neighbors |
|---|
| 218 | show ipv6 interface <int> : Show interface state and config |
|---|
| 219 | show cdp neighbors : Show neighbors seen via CDP |
|---|
| 220 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 221 | |
|---|
| 222 | 11. Create Loopback interface |
|---|
| 223 | |
|---|
| 224 | On R11: |
|---|
| 225 | |
|---|
| 226 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 227 | interface loopback 0 |
|---|
| 228 | ip address 10.10.255.1 255.255.255.255 |
|---|
| 229 | ipv6 address fd00:10:ff::1/128 |
|---|
| 230 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 231 | |
|---|
| 232 | do the same for R12 (obviously, using different |
|---|
| 233 | addresses). |
|---|
| 234 | |
|---|
| 235 | 12. Verify and save the configuration. |
|---|
| 236 | |
|---|
| 237 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 238 | show running-config |
|---|
| 239 | write memory |
|---|
| 240 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 241 | |
|---|
| 242 | # Routing |
|---|
| 243 | |
|---|
| 244 | ## OSPF |
|---|
| 245 | |
|---|
| 246 | 1. Try pinging the loopback addresses of your neighbor |
|---|
| 247 | |
|---|
| 248 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 249 | R11# ping 10.10.255.2 <- R12 loopback |
|---|
| 250 | R11# ping fd00:10:ff:2 <- R12 loopback |
|---|
| 251 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 252 | |
|---|
| 253 | What is happening? |
|---|
| 254 | |
|---|
| 255 | 2. Configure a new OSPF routing process. |
|---|
| 256 | |
|---|
| 257 | Notice that we will use the numbrer "10" as the |
|---|
| 258 | OSPF process number for routers R11 and R12. |
|---|
| 259 | This number is local to the router, so it doesn't |
|---|
| 260 | need to match the process number of a neighboring |
|---|
| 261 | router. However, it is strongly recommended that you |
|---|
| 262 | use the same number throughout your network. Most |
|---|
| 263 | people use their Autonomous System number (although |
|---|
| 264 | OSPF has nothing to do with the BGP AS). |
|---|
| 265 | |
|---|
| 266 | |
|---|
| 267 | On R11 and R12: |
|---|
| 268 | |
|---|
| 269 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 270 | router ospf 10 |
|---|
| 271 | log-adjacency-changes |
|---|
| 272 | passive-interface default |
|---|
| 273 | ! |
|---|
| 274 | ipv6 router ospf 10 |
|---|
| 275 | log-adjacency-changes |
|---|
| 276 | passive-interface default |
|---|
| 277 | area 0 authentication ipsec spi 256 md5 0123456789ABCDEF0123456789ABCDEF |
|---|
| 278 | ! |
|---|
| 279 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 280 | |
|---|
| 281 | |
|---|
| 282 | 3. Now configure OSPF on the interfaces *where adjacencies |
|---|
| 283 | need to be established, and also on any interface that needs |
|---|
| 284 | to have its subnets advertised by OSPF* |
|---|
| 285 | |
|---|
| 286 | On R11 and R12: |
|---|
| 287 | |
|---|
| 288 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 289 | interface Loopback0 |
|---|
| 290 | ip ospf 10 area 0 |
|---|
| 291 | ipv6 ospf 10 area 0 |
|---|
| 292 | ! |
|---|
| 293 | interface GigabitEthernet2/0 |
|---|
| 294 | ip ospf 10 area 0 |
|---|
| 295 | ip ospf authentication message-digest |
|---|
| 296 | ip ospf authentication-key N$RC |
|---|
| 297 | ipv6 ospf 10 area 0 |
|---|
| 298 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 299 | |
|---|
| 300 | Finally, since we have configured OSPF to make all |
|---|
| 301 | interfaces passive by default (good idea!), we need |
|---|
| 302 | to explicitly activate the BGP Hello function in |
|---|
| 303 | the interfaces where adjacencies need to happen: |
|---|
| 304 | |
|---|
| 305 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 306 | router ospf 10 |
|---|
| 307 | no passive-interface GigabitEthernet2/0 |
|---|
| 308 | ! |
|---|
| 309 | ipv6 router ospf 10 |
|---|
| 310 | no passive-interface GigabitEthernet2/0 |
|---|
| 311 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 312 | |
|---|
| 313 | |
|---|
| 314 | 4. STOP. Checkpoint |
|---|
| 315 | |
|---|
| 316 | Now try the following show commands: |
|---|
| 317 | |
|---|
| 318 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 319 | sh ip ospf neighbor : show adjacencies |
|---|
| 320 | sh ip route : show routes in routing table |
|---|
| 321 | sh ip ospf : show general OSPF information |
|---|
| 322 | sh ip ospf interface : show the status of OSPF in an interface |
|---|
| 323 | |
|---|
| 324 | show ipv6 ospf neighbor |
|---|
| 325 | show ipv6 route |
|---|
| 326 | show ipv6 ospf |
|---|
| 327 | show ipv6 ospf interface |
|---|
| 328 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 329 | |
|---|
| 330 | Repeat the last ping tests. Can you ping the loopback |
|---|
| 331 | address of the neighboring router now? |
|---|
| 332 | |
|---|
| 333 | ## Static default routes |
|---|
| 334 | |
|---|
| 335 | 1. Configure static default routes to reach the outside world. |
|---|
| 336 | |
|---|
| 337 | On R11: |
|---|
| 338 | |
|---|
| 339 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 340 | ip route 0.0.0.0 0.0.0.0 10.10.254.2 |
|---|
| 341 | ipv6 route ::/0 fd00:10:fe::1 |
|---|
| 342 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 343 | |
|---|
| 344 | On R12: |
|---|
| 345 | |
|---|
| 346 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 347 | ip route 0.0.0.0 0.0.0.0 10.201.254.1 |
|---|
| 348 | ipv6 route ::/0 fd00:201:fe:: |
|---|
| 349 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 350 | |
|---|
| 351 | Do some ping and traceroute tests. |
|---|
| 352 | |
|---|
| 353 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 354 | R11# ping 10.20.255.1 |
|---|
| 355 | R11# ping 10.30.255.1 |
|---|
| 356 | R11# traceroute 10.20.255.1 |
|---|
| 357 | R11# traceroute 10.30.255.1 |
|---|
| 358 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 359 | |
|---|
| 360 | Can you reach the routers in other networks? |
|---|
| 361 | |
|---|
| 362 | Don't forget to save your configurations. |
|---|
| 363 | |
|---|
| 364 | \pagebreak |
|---|
| 365 | |
|---|
| 366 | # Appendix A - ISP1 Initial Configuration |
|---|
| 367 | |
|---|
| 368 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 369 | hostname ISP1 |
|---|
| 370 | aaa new-model |
|---|
| 371 | aaa authentication login default local |
|---|
| 372 | aaa authentication enable default enable |
|---|
| 373 | username nsrc secret nsrc |
|---|
| 374 | enable secret nsrc |
|---|
| 375 | service password-encryption |
|---|
| 376 | line vty 0 4 |
|---|
| 377 | transport preferred none |
|---|
| 378 | line console 0 |
|---|
| 379 | transport preferred none |
|---|
| 380 | no logging console |
|---|
| 381 | logging buffered 8192 debugging |
|---|
| 382 | no ip domain-lookup |
|---|
| 383 | ip subnet-zero |
|---|
| 384 | ip classless |
|---|
| 385 | no ip source-route |
|---|
| 386 | ipv6 unicast-routing |
|---|
| 387 | ! |
|---|
| 388 | interface Loopback0 |
|---|
| 389 | ip address 10.201.255.1 255.255.255.255 |
|---|
| 390 | ipv6 address fd00:201:ff::1/128 |
|---|
| 391 | ! |
|---|
| 392 | interface GigabitEthernet1/0 |
|---|
| 393 | description Link to IXP |
|---|
| 394 | ip address 10.251.1.1 255.255.255.0 |
|---|
| 395 | ipv6 address fd00:251:1::1/64 |
|---|
| 396 | no shutdown |
|---|
| 397 | ! |
|---|
| 398 | interface GigabitEthernet3/0 |
|---|
| 399 | description P2P Link to R12 |
|---|
| 400 | ip address 10.201.254.1 255.255.255.252 |
|---|
| 401 | ipv6 address fd00:201:fe::/127 |
|---|
| 402 | no shutdown |
|---|
| 403 | ! |
|---|
| 404 | interface GigabitEthernet4/0 |
|---|
| 405 | description P2P Link to R22 |
|---|
| 406 | ip address 10.201.254.5 255.255.255.252 |
|---|
| 407 | ipv6 address fd00:201:fe::2/127 |
|---|
| 408 | no shutdown |
|---|
| 409 | ! |
|---|
| 410 | interface GigabitEthernet5/0 |
|---|
| 411 | description P2P Link to R32 |
|---|
| 412 | ip address 10.201.254.9 255.255.255.252 |
|---|
| 413 | ipv6 address FD00:201:fe::4/127 |
|---|
| 414 | no shutdown |
|---|
| 415 | ! |
|---|
| 416 | ip route 10.10.0.0 255.255.0.0 10.201.254.2 |
|---|
| 417 | ipv6 route fd00:10::/32 fd00:201:fe::1 |
|---|
| 418 | ! |
|---|
| 419 | ip route 10.20.0.0 255.255.0.0 10.201.254.6 |
|---|
| 420 | ipv6 route fd00:20::/32 fd00:201:fe::3 |
|---|
| 421 | ! |
|---|
| 422 | ip route 10.30.0.0 255.255.0.0 10.201.254.10 |
|---|
| 423 | ipv6 route fd00:30::/32 fd00:201:fe::5 |
|---|
| 424 | ! |
|---|
| 425 | ip route 0.0.0.0 0.0.0.0 10.251.1.2 |
|---|
| 426 | ipv6 route ::/0 fd00:251:1::2 |
|---|
| 427 | |
|---|
| 428 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 429 | |
|---|
| 430 | \pagebreak |
|---|
| 431 | |
|---|
| 432 | # Appendix B - ISP2 Initial Configuration |
|---|
| 433 | |
|---|
| 434 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 435 | hostname ISP2 |
|---|
| 436 | aaa new-model |
|---|
| 437 | aaa authentication login default local |
|---|
| 438 | aaa authentication enable default enable |
|---|
| 439 | username nsrc secret nsrc |
|---|
| 440 | enable secret nsrc |
|---|
| 441 | service password-encryption |
|---|
| 442 | line vty 0 4 |
|---|
| 443 | transport preferred none |
|---|
| 444 | line console 0 |
|---|
| 445 | transport preferred none |
|---|
| 446 | no logging console |
|---|
| 447 | logging buffered 8192 debugging |
|---|
| 448 | no ip domain-lookup |
|---|
| 449 | ip subnet-zero |
|---|
| 450 | ip classless |
|---|
| 451 | no ip source-route |
|---|
| 452 | ipv6 unicast-routing |
|---|
| 453 | ! |
|---|
| 454 | interface Loopback0 |
|---|
| 455 | ip address 10.202.255.1 255.255.255.255 |
|---|
| 456 | ipv6 address fd00:202:ff::1/128 |
|---|
| 457 | ! |
|---|
| 458 | interface GigabitEthernet1/0 |
|---|
| 459 | description Link to IXP |
|---|
| 460 | ip address 10.251.1.2 255.255.255.0 |
|---|
| 461 | ipv6 address fd00:251:1::2/64 |
|---|
| 462 | no shutdown |
|---|
| 463 | ! |
|---|
| 464 | interface GigabitEthernet3/0 |
|---|
| 465 | description P2P Link to R42 |
|---|
| 466 | ip address 10.202.254.1 255.255.255.252 |
|---|
| 467 | ipv6 address fd00:202:fe::0/127 |
|---|
| 468 | no shutdown |
|---|
| 469 | ! |
|---|
| 470 | interface GigabitEthernet4/0 |
|---|
| 471 | description P2P Link to R52 |
|---|
| 472 | ip address 10.202.254.5 255.255.255.252 |
|---|
| 473 | ipv6 address fd00:202:fe::2/127 |
|---|
| 474 | no shutdown |
|---|
| 475 | ! |
|---|
| 476 | interface GigabitEthernet5/0 |
|---|
| 477 | description P2P Link to R62 |
|---|
| 478 | ip address 10.202.254.9 255.255.255.252 |
|---|
| 479 | ipv6 address FD00:202:fe::4/127 |
|---|
| 480 | no shutdown |
|---|
| 481 | ! |
|---|
| 482 | ip route 10.40.0.0 255.255.0.0 10.202.254.2 |
|---|
| 483 | ipv6 route fd00:40::/32 fd00:202:fe::1 |
|---|
| 484 | ! |
|---|
| 485 | ip route 10.50.0.0 255.255.0.0 10.202.254.6 |
|---|
| 486 | ipv6 route fd00:50::/32 fd00:202:fe::3 |
|---|
| 487 | ! |
|---|
| 488 | ip route 10.60.0.0 255.255.0.0 10.202.254.10 |
|---|
| 489 | ipv6 route fd00:60::/32 fd00:202:fe::5 |
|---|
| 490 | ! |
|---|
| 491 | ip route 0.0.0.0 0.0.0.0 10.251.1.1 |
|---|
| 492 | ipv6 route ::/0 fd00:251:1::1 |
|---|
| 493 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 494 | |
|---|