A few things to keep in mind while completing this activity:
Do not use the browser Back button or close or reload any exam windows during the exam
Do not close Packet Tracer when you are done. It will close automatically.
Click the Submit Assessment button in the browser window to submit your work.
Introduction You are required to configure host default gateways; however host addresses are preconfigured.
You will practice and be assessed on the following skills:
Configuration of initial settings on a router.
Configuration of initial settings on a switch, including SVI and SSH.
Configuration of VLANs.
Configuration of switchport VLAN membership.
EtherChannel configuration.
Troubleshooting VLANs.
Configuration of static trunking and DTP.
Configuration of routing between VLANs on a Layer 3 ?switch.
Configuration of router-on-a-stick inter-VLAN routing on a router.
Configure default gateways on hosts.
The Correct Answer and Explanation is :
In this activity, you’re tasked with configuring various aspects of a network setup. Here’s a breakdown of the tasks and the necessary steps:
1. Router Initial Configuration
- To begin, configure the router’s hostname and password settings. This includes setting the router’s IP address for each interface involved in routing. Each interface needs to be configured according to its role in the network, typically assigning an IP address to each VLAN’s router interface (on a router performing inter-VLAN routing). Example:
Router> enable
Router# config terminal
Router(config)# hostname Router1
Router1(config)# interface GigabitEthernet0/1
Router1(config-if)# ip address 192.168.1.1 255.255.255.0
Router1(config-if)# no shutdown
2. Switch Initial Configuration
- On the switch, configure the VLANs and assign an SVI (Switched Virtual Interface) for each VLAN. The SVI will allow the switch to communicate with different VLANs. Example:
Switch> enable
Switch# config terminal
Switch(config)# vlan 10
Switch(config-vlan)# name Sales
Switch(config-vlan)# vlan 20
Switch(config-vlan)# name HR
Switch(config)# interface vlan 10
Switch(config-if)# ip address 192.168.10.1 255.255.255.0
Switch(config-if)# no shutdown
3. SSH Configuration
- SSH is configured on the switch to provide secure remote access. This involves setting a domain name, creating a username/password, and generating SSH keys. Example:
Switch(config)# ip domain-name example.com
Switch(config)# username admin password cisco123
Switch(config)# crypto key generate rsa
4. VLAN Configuration
- VLANs must be created on both the router and switch. Assign VLANs to appropriate interfaces on the switch and ensure trunking is configured to allow multiple VLANs across the link between switches and routers. Example:
Switch(config)# interface range fa0/1 - 24
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
5. EtherChannel Configuration
- Configure EtherChannel to aggregate two or more physical links between switches or between a switch and a router. This improves the bandwidth and provides redundancy. Example:
Switch(config)# interface range gig0/1 - 2
Switch(config-if-range)# channel-group 1 mode active
6. Troubleshooting VLANs
- Use commands like
show vlan briefandshow interfaces trunkto verify VLANs and trunking configuration.
7. Static Trunking and DTP (Dynamic Trunking Protocol)
- Configure trunking manually or use DTP to dynamically negotiate trunk links between devices. Example for static trunking:
Switch(config)# interface gig0/1
Switch(config-if)# switchport mode trunk
8. Routing Between VLANs on a Layer 3 Switch
- On Layer 3 switches, configure routing for inter-VLAN communication by enabling routing and assigning IP addresses to SVIs.
9. Router-on-a-Stick Configuration
- On a router, configure subinterfaces for each VLAN to enable inter-VLAN routing (router-on-a-stick). Example:
Router1(config)# interface gig0/1.10
Router1(config-if)# encapsulation dot1Q 10
Router1(config-if)# ip address 192.168.10.1 255.255.255.0
10. Configuring Default Gateways on Hosts
- Finally, ensure the hosts are configured with the correct default gateways to allow communication across VLANs. The default gateway is typically the IP address of the VLAN interface on the router or Layer 3 switch. Example:
- Set the default gateway for a host in VLAN 10 to
192.168.10.1(Router’s IP for VLAN 10).
By carefully following these steps and verifying each configuration using relevant commands, you ensure that the network is set up for correct communication and that all VLANs and routing are functioning as expected. Troubleshooting tools like ping, show commands, and ensuring proper VLAN memberships are essential to identifying and fixing configuration errors.