| 320 | | ==== Core Network ==== |
| 321 | | |
| 322 | | Let's start Configuring the connectivity between core network (!CampusCore, FacACore and FacBCore). |
| | 320 | ==== Core Network Layer==== |
| | 321 | |
| | 322 | Let's start Configuring the connectivity between core network (!CampusCore, FacACore and FacBCore). We will start from CampusCore. |
| | 323 | |
| | 324 | - Login to CampusCore device. Give your console port password (class password) |
| | 325 | - Go to config mode from user mode. Give your enable password (class password) |
| | 326 | - Core network runs on VLAN 2. Create VLAN 2 and name it '''Core''' |
| | 327 | {{{ |
| | 328 | CampusCore(config)# vlan 2 |
| | 329 | CampusCore(config-vlan)# name Core |
| | 330 | CampusCore(config-vlan)# exit |
| | 331 | }}} |
| | 332 | - Then assign the IP Address to the VLAN interface. Get the IP from the [#point1 table] |
| | 333 | {{{ |
| | 334 | CampusCore(config)#interface vlan 2 |
| | 335 | CampusCore(config-if)# ip address 10.0.2.1 255.255.255.0 |
| | 336 | CampusCore(config-if)# exit |
| | 337 | }}} |
| | 338 | - Finally configure fast ethernet interfaces switchport modes. You can find then from the [#point2 table] |
| | 339 | * Fisrt make the interface a trunk port. This is for the FacACore link |
| | 340 | {{{ |
| | 341 | CampusCore(config)#interface FastEthernet 1/0 |
| | 342 | CampusCore(config-if)#switchport mode trunk |
| | 343 | }}} |
| | 344 | * Define the encapsulation |
| | 345 | {{{ |
| | 346 | CampusCore(config-if)#switchport trunk encapsulation dot1q |
| | 347 | }}} |
| | 348 | * Give the Description of the interface |
| | 349 | {{{ |
| | 350 | CampusCore(config-if)#description Core link to FacACore |
| | 351 | CampusCore(config-if)#exit |
| | 352 | }}} |
| | 353 | * Follow the same procedure for FacBCore link |
| | 354 | {{{ |
| | 355 | CampusCore(config)#interface FastEthernet 1/1 |
| | 356 | CampusCore(config-if)#switchport mode trunk |
| | 357 | CampusCore(config-if)#switchport trunk encapsulation dot1q |
| | 358 | CampusCore(config-if)#description Core link to FacACore |
| | 359 | CampusCore(config-if)#exit |
| | 360 | }}} |
| | 361 | |
| | 362 | - You have successfully configured the CampusCore device for you core networks connectivity. Let's move on to FacACore device. |
| | 363 | {{{ |
| | 364 | FacACore(config)# vlan 2 |
| | 365 | FacACore(config-vlan)# name Core |
| | 366 | FacACore(config-vlan)# exit |
| | 367 | FacACore(config)#interface vlan 2 |
| | 368 | FacACore(config-if)# ip address 10.0.2.2 255.255.255.0 |
| | 369 | FacACore(config-if)# exit |
| | 370 | FacACore(config)#interface FastEthernet 1/15 |
| | 371 | FacACore(config-if)#switchport mode trunk |
| | 372 | FacACore(config-if)#switchport trunk encapsulation dot1q |
| | 373 | FacACore(config-if)#description Core link to CampusCore |
| | 374 | FacACore(config-if)#exit |
| | 375 | }}} |
| | 376 | |
| | 377 | - Now let's configure FacBCore |
| | 378 | {{{ |
| | 379 | FacBCore(config)# vlan 2 |
| | 380 | FacBCore(config-vlan)# name Core |
| | 381 | FacBCore(config-vlan)# exit |
| | 382 | FacBCore(config)#interface vlan 2 |
| | 383 | FacBCore(config-if)# ip address 10.0.2.3 255.255.255.0 |
| | 384 | FacBCore(config-if)# exit |
| | 385 | FacBCore(config)#interface FastEthernet 1/15 |
| | 386 | FacBCore(config-if)#switchport mode trunk |
| | 387 | FacBCore(config-if)#switchport trunk encapsulation dot1q |
| | 388 | FacBCore(config-if)#description Core link to CampusCore |
| | 389 | FacBCore(config-if)#exit |
| | 390 | }}} |
| | 391 | |
| | 392 | - Finally Verify the connectivity |
| | 393 | * Go to FacACore device |
| | 394 | * Go to privileged mode and ping CampusCore and FacBCore |
| | 395 | {{{ |
| | 396 | ping 10.0.2.1 |
| | 397 | ping 10.0.2.3 |
| | 398 | }}} |
| | 399 | * You should get a positive reply with '''"!!"''' |
| | 400 | |
| | 401 | ==== Distribution Network Layer ==== |
| | 402 | |
| | 403 | Let's Start Configuring the distribution layer of your campus LAN. Here you will have to configure both Layer 3 switches (FacACore and FacBCore) and Layer 2 Switches (FacASw and FacBSw). Let's start from Layer 3 devices. |
| | 404 | |
| | 405 | - Login to FacACore device |
| | 406 | - Go to config mode from privileged mode |
| | 407 | - FacACore is the Core device in Faculty A and It can have different departments. In this scenario department 1 is in faculty A and It's VLAN is VLAN10. Create VLAN 10 and Name it '''Dept1''' |
| | 408 | {{{ |
| | 409 | FacACore(config)# vlan 10 |
| | 410 | FacACore(config-vlan)# name Dept1 |
| | 411 | FacACore(config-vlan)# exit |
| | 412 | }}} |
| | 413 | - Then assign the IP Address to the VLAN interface. Get the IP from the [#point1 table] |
| | 414 | {{{ |
| | 415 | FacACore(config)#interface vlan 10 |
| | 416 | FacACore(config-if)# ip address 10.0.10.254 255.255.255.0 |
| | 417 | FacACore(config-if)# exit |
| | 418 | }}} |
| | 419 | - Next configure fast ethernet interfaces switchport modes. You can find then from the [#point2 table] |
| | 420 | * Fisrt make the interface a trunk port. |
| | 421 | {{{ |
| | 422 | FacACore(config)#interface FastEthernet 1/0 |
| | 423 | FacACore(config-if)#switchport mode trunk |
| | 424 | }}} |
| | 425 | * Define the encapsulation |
| | 426 | {{{ |
| | 427 | FacACore(config-if)#switchport trunk encapsulation dot1q |
| | 428 | }}} |
| | 429 | * Give the Description of the interface |
| | 430 | {{{ |
| | 431 | FacACore(config-if)#description link to FacASw |
| | 432 | FacACore(config-if)#exit |
| | 433 | }}} |
| | 434 | - Follow the same procedure for FacBCore device. VLAN 20 name is dept 2. |
| | 435 | {{{ |
| | 436 | FacBCore(config)# vlan 20 |
| | 437 | FacBCore(config-vlan)# name Dept2 |
| | 438 | FacBCore(config-vlan)# exit |
| | 439 | FacBCore(config)#interface vlan 20 |
| | 440 | FacBCore(config-if)# ip address 10.0.20.254 255.255.255.0 |
| | 441 | FacBCore(config-if)# exit |
| | 442 | FacBCore(config)#interface FastEthernet 1/0 |
| | 443 | FacBCore(config-if)#switchport mode trunk |
| | 444 | FacBCore(config-if)#switchport trunk encapsulation dot1q |
| | 445 | FacBCore(config-if)#description link to FacBSw |
| | 446 | FacBCore(config-if)#exit |
| | 447 | }}} |
| | 448 | - Now the Core devices are done, Let's Configure Layer 2 devices. Login to FacASw |
| | 449 | - Go to config mode |
| | 450 | - Create Vlan 10 and Give a Name |
| | 451 | {{{ |
| | 452 | FacASw(config)# vlan 10 |
| | 453 | FacASw(config-vlan)# name Dept1 |
| | 454 | FacASw(config-vlan)# exit |
| | 455 | }}} |
| | 456 | - Next configure fast ethernet interface which connects to the Core device and give a description |
| | 457 | {{{ |
| | 458 | FacASw(config)#interface FastEthernet 1/15 |
| | 459 | FacASw(config-if)#switchport mode trunk |
| | 460 | FacASw(config-if)#switchport trunk encapsulation dot1q |
| | 461 | FacASw(config-if)#description link to FacACore |
| | 462 | FacASw(config-if)#exit |
| | 463 | }}} |
| | 464 | - Configure fast ethernet interface, which connects to the User PC to an access port of VLAN 10 and give a description |
| | 465 | {{{ |
| | 466 | FacASw(config-if)#switchport mode access |
| | 467 | FacASw(config-if)#switchport access vlan 10 |
| | 468 | FacASw(config-if)#description link to Dept1PC |
| | 469 | FacASw(config-if)#exit |
| | 470 | }}} |
| | 471 | - Follow the same steps for FacBSw |
| | 472 | {{{ |
| | 473 | FacBSw(config)# vlan 20 |
| | 474 | FacBSw(config-vlan)# name Dept2 |
| | 475 | FacBSw(config-vlan)# exit |
| | 476 | FacBSw(config)#interface FastEthernet 1/15 |
| | 477 | FacBSw(config-if)#switchport mode trunk |
| | 478 | FacBSw(config-if)#switchport trunk encapsulation dot1q |
| | 479 | FacBSw(config-if)#description link to FacBCore |
| | 480 | FacBSw(config-if)#exit |
| | 481 | FacBSw(config-if)#switchport mode access |
| | 482 | FacBSw(config-if)#switchport access vlan 20 |
| | 483 | FacBSw(config-if)#description link to Dept2PC |
| | 484 | FacBSw(config-if)#exit |
| | 485 | }}} |
| | 486 | - You have configured your distribution layer. Check and verify the connectivity |
| | 487 | * Go to Dept1PC and try ping the gateway (VLAN 10 Interface IP of FacACore) |
| | 488 | {{{ |
| | 489 | ping 10.0.10.254 |
| | 490 | }}} |
| | 491 | * You should get a reply |
| | 492 | * Try the same in Dept2PC |