44 | | ---- |
45 | | |
46 | | ||= **Host Devices** =||= **IPv4** =||= **IPv6** =|| |
47 | | || PC-1 || 10.XY.10.1 || 2401:DD00:20XY:1110::1/64 || |
48 | | || PC-2 || 10.XY.20.1 || 2401:DD00:20XY:1120::1/64 || |
49 | | || PC-3 || 10.XY.20.2 || 2401:DD00:20XY:1120::2/64 || |
50 | | || PC-4 || 10.XY.30.1 || 2401:DD00:20XY:1230::1/64 || |
51 | | || PC-5 || 10.XY.60.1 || 2401:DD00:20XY:2160::1/64 || |
52 | | || PC-6 || 10.XY.70.1 || 2401:DD00:20XY:2270::1/64 || |
53 | | || PC-7 || 10.XY.70.2 || 2401:DD00:20XY:2270::2/64 || |
54 | | || PC-8 || 10.XY.80.1 || 2401:DD00:20XY:2280::1/64 || |
55 | | || Monitoring-Server || 10.XY.5.LMN || 2401:DD00:20XY:5::AAAA/64 || |
56 | | || Server || 192.168.XY.PQR || 2401:DD00:20XY:1::PQR/64 || |
57 | | || GUI-PC |||| via DHCP || |
58 | | |
59 | | |
60 | | ---- |
61 | | |
62 | | ---- |
| 44 | |
517 | | |
518 | | |
519 | | = Temp Data = |
520 | | |
521 | | |
522 | | |
523 | | |
524 | | * Go to Dept1PC and try ping the gateway (VLAN 10 Interface IP of FacACore) |
525 | | {{{ |
526 | | ping 10.0.10.254 |
527 | | }}} |
528 | | * You should get a reply |
529 | | * Try the same in Dept2PC |
530 | | |
531 | | |
532 | | * Verify the route by ping a known host from the !BorderRt router |
533 | | {{{ |
534 | | ping 192.248.1.161 |
535 | | ping www.google.com |
536 | | }}} |
537 | | * Both should give you a reply |
538 | | |
539 | | - Some troubleshooting commands |
540 | | * You can get the routing table by following |
541 | | {{{ |
542 | | Router#show ip route |
543 | | }}} |
544 | | * To get OSPF routes |
545 | | {{{ |
546 | | Router#show ip route ospf |
547 | | }}} |
548 | | * To get ospf neighbors |
549 | | {{{ |
550 | | Router#show ip ospf neighbor |
551 | | }}} |
552 | | * To reset OSPF process |
553 | | {{{ |
554 | | clear ip ospf process |
555 | | }}} |
556 | | |
| 507 | == Configure End Devices == |
| 508 | |
| 509 | === Configure PC's === |
| 510 | |
| 511 | * Right click on '''PC-1''' and select '''Console''', this will open a terminal or putty session on your '''User A''' host machine. |
| 512 | * Enter following commands, |
| 513 | {{{ |
| 514 | PC-1> ip 10.XY.10.1 24 10.XY.10.254 |
| 515 | PC-1> ip dns 10.XY.0.1 |
| 516 | PC-1> ip 2401:DD00:20XY:1110::1/64 2401:DD00:20XY:1110::ffff |
| 517 | PC-1> ip dns6 2401:DD00:20XY:1::FFFE |
| 518 | PC-1> save |
| 519 | }}} |
| 520 | >We will use the DNS forwarder installed in pfsense. |
| 521 | * For troubleshooting and configuration verification, we can use: |
| 522 | {{{ |
| 523 | PC-1> show ip |
| 524 | PC-1> show ipv6 |
| 525 | }}} |
| 526 | * Based on the following table configure all other end-user PC's just as above. You may need to change IP addresses. |
| 527 | ||= **Host Devices** =||= **IPv4** =||= **IPv6** =|| |
| 528 | || PC-1 || 10.XY.10.1 || 2401:DD00:20XY:1110::1/64 || |
| 529 | || PC-2 || 10.XY.20.1 || 2401:DD00:20XY:1120::1/64 || |
| 530 | || PC-3 || 10.XY.20.2 || 2401:DD00:20XY:1120::2/64 || |
| 531 | || PC-4 || 10.XY.30.1 || 2401:DD00:20XY:1230::1/64 || |
| 532 | || PC-5 || 10.XY.60.1 || 2401:DD00:20XY:2160::1/64 || |
| 533 | || PC-6 || 10.XY.70.1 || 2401:DD00:20XY:2270::1/64 || |
| 534 | || PC-7 || 10.XY.70.2 || 2401:DD00:20XY:2270::2/64 || |
| 535 | || PC-8 || 10.XY.80.1 || 2401:DD00:20XY:2280::1/64 || |
| 536 | || Monitoring-Server || 10.XY.5.LMN || 2401:DD00:20XY:5::AAAA/64 || |
| 537 | || Web-Server || 192.168.XY.PQR || 2401:DD00:20XY:1::PQR/64 || |
| 538 | || GUI-PC |||| via DHCP || |
| 539 | |
| 540 | * On '''User B''' switch on '''Monitoring-Server''' and '''Web-Server'''. Log-in as user '''cnbp2019''' with the class password. |
| 541 | * Edit the following file to insert ip details according to the above table, you may also need to check the [wiki:Cnbp2019/Agenda/IpAllocation IP allocation table]. |
| 542 | {{{ |
| 543 | sudo vi /etc/netplan/50-cloud-init.yaml |
| 544 | }}} |
| 545 | * Edit details as follows |
| 546 | {{{ |
| 547 | # This file describes the network interfaces available on your system |
| 548 | # For more information, see netplan(5). |
| 549 | network: |
| 550 | ethernets: |
| 551 | enp0s3: |
| 552 | addresses: |
| 553 | - 192.248.6.XY/24 |
| 554 | dhcp4: false |
| 555 | gateway4: 192.248.6.254 |
| 556 | nameservers: |
| 557 | addresses: |
| 558 | - 192.248.6.201 |
| 559 | search: |
| 560 | - instXY.ac.lk |
| 561 | version: 2 |
| 562 | |
| 563 | }}} |
| 564 | * Restart servers. |
| 565 | {{{ |
| 566 | sudo init 6 |
| 567 | }}} |
| 568 | * Test end-user connectivity using ping command on each. |