Overview
The following are the skills covered in the following assessment:
- Configuration of initial device settings
- IPv4 address assignment and configuration
- Configuration and addressing of device interfaces
- Configuration of the OSPFv2 routing protocol
- Configuration of a default route
- Configuration of ACL to limit device access
- Configuration of switch management settings including SSH
- Configuration of port security
- Configuration of unused switch ports according to security best practices
- Configuration of RPVST+
- Configuration of EtherChannel
- Configuration of a router as a DHCP server
- Configuration of VLANs and trunks
- Configuration of routing between VLANs
Initial Information
Network Diagram (diagram uses slightly different naming convention, same topology)
Addressing table
VLAN Switch Port Assignment Table
Port Channel Groups
Step 1: Plan the Addressing
Task:
Determine the IP addresses that you will use for the required interfaces on the devices and LAN hosts. Follow the configuration details provided in the Addressing Table.
How:
This part requires and understanding of the addressing constants that make up a normal network separated by subnets. Let’s take a look at the first entry we are asked to find. We are asked to pick any address in the network 192.168.100.20/30
.
A Typical network range has two addresses that are not suitable as host addresses, these are the First and the Last addresses are corespond to the Subnet ID and Broadcast address. So with our network we know that 192.168.100.20 will be the Subnet ID so our First usable host address will be 192.168.100.21/30
The next issue we run into is working out how many host addresses are available in the subnet. To explain this process I’m going to draw out 32bits representing the 4 octets of 8bits that make up an IPv4 address.
Now fill up all the slots that correspond to 30 of the 32 bits
This leaves a total of 2 bits for our hosts to use.
Using the information above will normally allow you to easily work through the table of addresses and pick suitable candicates. Below is the table I will use for the rest of this post.
Addressing table - Complete
Step 2: Configure Building 1
Task:
Configure Building 1 with initial settings:
- Configure the router host name: Bldg-1. This value must be entered exactly as it appears here.
- Prevent the router from attempting to resolve command line entries to IP addresses.
- Protect device configurations from unauthorized access with an encrypted secret password.
- Secure the router console and remote access lines.
- Prevent system status messages from interrupting console output.
- Configure a message-of-the-day banner.
- Encrypt all clear text passwords.
How:
- Configure the router host name: Bldg-1. This value must be entered exactly as it appears here.
- Prevent the router from attempting to resolve command line entries to IP addresses.
- Protect device configurations from unauthorized access with an encrypted secret password.
- Secure the router console and remote access lines.
- Prevent system status messages from interrupting console output.
- Configure a message-of-the-day banner.
- Encrypt all clear text passwords.
Step 3: Configure the Router Interfaces
Task:
Configure the interfaces of all routers for full connectivity with the following:
- IP addressing
- Descriptions for serial interfaces.
- Configure DCE settings where required. Use a rate of 128000.
How:
- IP addressing
- Descriptions for serial interfaces.
- Configure DCE settings where required. Use a rate of 128000.
Step 4: Configure inter-VLAN routing on Building 2
Task:
Configure router Building 2 to route between VLANs using information in the Addressing Table and VLAN Switch Port Assignment Table. The VLANs will be configured on the switches later in this assessment.
- Do not route the VLAN 99 network.
How:
Step 5: Configure Default Routing
Task:
On Main, configure a default route to the Internet. Use the exit interface argument.
How:
Step 6: Configure OSPF Routing
Task:
- On all routers:
- Configure multiarea OSPFv2 to route between all internal networks. Use a process ID of 1.
- Use the area numbers shown in the topology.
- Use the correct wild card masks for all network statements.
- You are not required to route the manage network on Building 2.
- Prevent routing updates from being sent to the LANs.
- On the Main router:
- Configure multiarea OSPFv2 to distribute the default route to the other routers.
How:
- Configure multiarea OSPFv2 to route between all internal networks. Use a process ID of 1.
- Use the area numbers shown in the topology.
- Use the correct wild card masks for all network statements.
- You are not required to route the manage network on Building 2.
Calculating the wildcard for each OSPF route is done by looking again at the subnet mask bit. lets use the 192.168.100.20/30 network. The following shows what a wild card mask for 0.0.0.0 or /32 would look like
If we have 30 bits instead we’re left with two bits
This gives us a wild card of 0.0.0.3. Similarly you can look at what a /24 networks bit pattern looks like below.
/24’s wild card mask is 0.0.0.255.
Using this information we can setup the various networks on each of the routers
- Prevent routing updates from being sent to the LANs.
- Configure multiarea OSPFv2 (Main) to distribute the default route to the other routers.
Step 7: Customize Multiarea OSPFv2
Task:
Customize multiarea OSPFv2 by performing the following configuration tasks:
-
Set the bandwidth of all serial interfaces to 128 kb/s.
- Configure OSPF router IDs as follows:
- Building 1: 1.1.1.1
- Main: 2.2.2.2
- Building 2: 3.3.3.3
- The configured router IDs should be in effect on all three routes.
- Configure the OSPF cost of the link between Building 1 and Main to 7500.
How:
Set the bandwidth of all serial interfaces to 128 kb/s.
Configure OSPF router IDs as follows:
- Building 1: 1.1.1.1
- Main: 2.2.2.2
- Building 2: 3.3.3.3
Configure the OSPF cost of the link between Building 1 and Main to 7500.
Step 8: Configure OSPF MD5 Authentication on the Required Interfaces
Task:
Configure OSPF to authenticate routing updates with MD5 authentication on the OSPF interfaces.
- Use a key value of 1.
- Use xyz_OSPF as the password.
- Apply MD5 authentication to the required interfaces.
How:
- Use a key value of 1.
- Use xyz_OSPF as the password.
- Apply MD5 authentication to the required interfaces.
Step 9: Configure Access Control Lists
Task/How:
Restrict access to the vty lines on Main with an ACL:
- Create a named standard ACL using the name TELNET-BLOCK. Be sure that you enter this name exactly as it appears in this instruction.
- Allow only Admin Host to access the vty lines of Main.
- No other Internet hosts (including hosts not visible in the topology) should be able to access the vty lines of Main.
- Your solution should consist of one ACL statement.
- Your ACL should be placed in the most efficient location as possible to conserve network bandwidth and device processing resources.
Block ping requests from the Internet with an ACL:
- Use access list number 101.
- Allow only Admin Host to ping addresses within the Company A (Main) network. Only echo messages should be permitted.
- Prevent all other Internet hosts (not only the Internet hosts visible in the topology) from pinging addresses inside the Company A network. Block echo messages only.
- All other traffic should be allowed.
- Your ACL should consist of three statements.
- Your ACL should be placed in the most efficient location as possible to conserve network bandwidth and device processing resources.
Control access to the management interfaces (SVI) of the three switches attached to Building 2 as follows:
- Create a standard ACL.
- Use the number 1 for the list.
- Permit only addresses from the admin VLAN network to access any address on the manage network (VLAN25).
- Hosts on the NetAdmin VLAN network should be able to reach all other destinations.
- Your list should consist of one statement.
- Your ACL should be placed in the most efficient location as possible to conserve network bandwidth and device processing resources.
- You will be able to test this ACL at the end of this assessment.
Step 10: Create and name VLANs
Task:
On all three switches that are attached to Building 2, create and name the VLANs shown in the VLAN Table.
- The VLAN names that you configure must match the values in the table exactly.
- Each switch should be configured with all of the VLANs shown in the table.
How:
- The VLAN names that you configure must match the values in the table exactly.
- Each switch should be configured with all of the VLANs shown in the table.
Step 11: Assign switch ports to VLANs.
Task:
Using the VLAN table, assign switch ports to the VLANs you created in Step 10, as follows:
- All switch ports that you assign to VLANs should be configured to static access mode.
- All switch ports that you assign to VLANs should be activated.
- Note that all of the unused ports on FL-A should be assigned to VLAN 99. This configuration step on switches FL-B and FL-C is not required in this assessment for the sake of time.
- Secure the unused switch ports on FL-A by shutting them down.
How:
Using the VLAN table, assign switch ports to the VLANs you created in Step 10, as follows:
- All switch ports that you assign to VLANs should be configured to static access mode.
- All switch ports that you assign to VLANs should be activated.
- Note that all of the unused ports on FL-A should be assigned to VLAN 99. This configuration step on switches FL-B and FL-C is not required in this assessment for the sake of time.
- Secure the unused switch ports on FL-A by shutting them down.
Step 12: Configure the SVIs
Task:
Refer to the Addressing Table. Create and address the SVIs on all three of the switches that are attached to Building 2. Configure the switches so that they can communicate with hosts on other networks. Full connectivity will be established after routing between VLANs has been configured later in this assessment.
How:
Step 13: Configure Trunking and EtherChannel
Task/How:
Use the information in the Port-Channel Groups table to configure EtherChannel as follows:
- Use LACP.
- The switch ports on both sides of Channels 1 and 2 should initiate negotiations for channel establishment.
- The switch ports on the FL-B side of Channel 3 should initiate negotiations with the switch ports on FL-C.
- The switch ports on the FL-C side of Channel 3 should not initiate negotiations with the switch ports on the other side of the channel.
- All channels should be ready to forward data after they have been configured.
Configure all port-channel interfaces as trunks.
Configure static trunking on the switch port on FL-B that is connected to Building 2.
Step 14: Configure Rapid PVST+
Task/How:
Configure Rapid PVST+ as follows:
- Activate Rapid PVST+ and set root priorities.
- All three switches should be configured to run Rapid PVST+.
- FL-A should be configured as root primary for VLAN 2 and VLAN 4 using the default primary priority values.
- FL-A should be configured as root secondary for VLAN 8 and VLAN 15 using the default secondary priority values.
- FL-C should be configured as root primary for VLAN 8 and VLAN 15 using the default primary priority values.
- FL-C should be configured as root secondary for VLAN 2 and VLAN 4 using the default secondary priority values.
- Activate PortFast and BPDU Guard on the active FL-C switch access ports.
- On FL-C, configure PortFast on the access ports that are connected to hosts.
- On FL-C, activate BPDU Guard on the access ports that are connected to hosts.
Step 15: Configure switch security
Task/How:
You are required to complete the following only on some of the devices in the network for this assessment. In reality, security should be configured on all devices in the network.
Configure port security on all active access ports that have hosts connected on FL-A.
- Each active access port should accept only two MAC addresses before a security action occurs.
- The learned MAC addresses should be recorded in the running configuration.
- If a security violation occurs, the switch ports should provide notification that a violation has occurred but not place the interface in an err-disabled state.
On FL-B, configure the virtual terminal lines to accept only SSH connections.
- Use a domain name of ccnaPTSA.com.
- Use FL-B as the host name.
- Use a modulus value of 1024.
- Configure SSH version 2.
- Configure the vty lines to only accept SSH connections.
- Configure user-based authentication for the SSH connections with a user name of netadmin and a secret password of SSH_secret9. The user name and password must match the values provided here exactly.
Ensure that all unused switch ports on FL-A have been secured as follows:
- They should be assigned to VLAN 99.
- They should all be in access mode.
- They should be shutdown.
Step 16: Configure Building 2 as a DHCP server for the hosts attached to the FL-A and FL-C switches
Task/How:
Configure three DHCP pools as follows:
- Refer to the information in the Addressing Table.
- Create a DHCP pool for hosts on VLAN 2 using the pool name vlan2pool.
- Create a DHCP pool for hosts on VLAN 4 using the pool name vlan4pool.
- Create a DHCP pool for hosts on VLAN 8 using the pool name vlan8pool.
- All VLAN pool names must match the provided values exactly.
- Exclude the first five addresses from each pool.
- Configure a DNS server address of 192.168.200.225.
- All hosts should be able to communication with hosts on other networks.
Step 17: Configure host addressing
Task:
Hosts should be able to ping each other and external hosts after they have been correctly addressed, where permitted.
- Hosts on VLANs 2, 4, and 8 should be configured to receive addresses dynamically over DHCP.
- Hosts on VLAN 15 should be addressed statically as indicated in the Addressing Table. Once configured, the hosts should be able to ping hosts on other networks.
- Hosts on the LANs attached to Site 1 should be statically assigned addresses that enable them to communicate with hosts on other networks, as indicated in the Addressing Table.
How:
Simply setup all the addressing manually through the GUI on each workstation from the IP Addressing table