0% found this document useful (0 votes)
41 views3 pages

ENetwork PT Practice SBA - 2

The document describes the configuration of router HQ and switch S2. It shows HQ being configured with interface IP addresses for LAN1 and LAN2, passwords, and other settings. S2 is similarly configured with an interface IP on VLAN1, passwords, and a default gateway of HQ's LAN1 address. The configuration is verified by successfully pinging HQ from S2.

Uploaded by

Thiago Rodriguez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views3 pages

ENetwork PT Practice SBA - 2

The document describes the configuration of router HQ and switch S2. It shows HQ being configured with interface IP addresses for LAN1 and LAN2, passwords, and other settings. S2 is similarly configured with an interface IP on VLAN1, passwords, and a default gateway of HQ's LAN1 address. The configuration is verified by successfully pinging HQ from S2.

Uploaded by

Thiago Rodriguez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Packet Tracer image:

Step 2: Configure HQ.


Press RETURN to get started!
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname HQ
HQ(config)#enable secret class
HQ(config)#line console 0
HQ(config-line)#password cisco
HQ(config-line)#login

HQ(config-line)#exit
HQ(config)#line vty 0 4
HQ(config-line)#password cisco
HQ(config-line)#login
HQ(config-line)#exit
HQ(config)#banner motd #Unauthorized access is prohibited.#
HQ(config)#interface fastEthernet 0/0
HQ(config-if)#ip address 10.10.10.1 255.255.255.192
HQ(config-if)#description LAN1
HQ(config-if)#no shutdown
HQ(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to
up
HQ(config-if)#exit
HQ(config)#interface fastEthernet 0/1
HQ(config-if)#ip address 10.10.10.65 255.255.255.248
HQ(config-if)#description LAN2
HQ(config-if)#no shutdown
HQ(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to
up
HQ(config)#
Step 3: Configure S2 and Verify Connectivity.
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#hostname S2
S2(config)#enable secret class
S2(config)#line console 0
S2(config-line)#password cisco
S2(config-line)#login
S2(config-line)#exit
S2(config)#line vty 0 4
S2(config-line)#password cisco
S2(config-line)#login
S2(config-line)#exit
S2(config)#banner motd #Unauthorized access is prohibited.#
S2(config)#interface vlan 1
S2(config-if)#ip address 10.10.10.2 255.255.255.192
S2(config-if)#no shutdown
S2(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
S2(config-if)#exit
S2(config)#ip default-gateway 10.10.10.1
S2(config)#exit
S2#
%SYS-5-CONFIG_I: Configured from console by console
S2#ping 10.10.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/34/47 ms

S2#write
Building configuration...
[OK]
S2#

You might also like