You are on page 1of 4

301, ND Hazel,

13th Main, BTM 2nd Stage,


Bangalore – 560 076.
Ph : 91-9886627701

CCNA Lab 1
Branch Network Connectivity

Topology:

© 2011 KAMP Academy. All rights reserved.


Objectives:
1. Establish the connectivity between two networks.

Lab Process

Configure the switch-1:


kamp_sw1>en
kamp_sw1#config ter
kamp_sw1(config)#ip default-gateway 192.168.100.254

kamp_sw1(config)#int fa0/1
kamp_sw1(config-if)#switchport mode trunk
kamp_sw1(config-if)#no shut

Configure the switch-2:


kamp_sw2>en
kamp_sw2#config ter
kamp_sw2(config)#ip default-gateway 192.168.200.254

kamp_sw2(config)#int fa0/1
kamp_sw1(config-if)#switchport mode trunk
kamp_sw2(config-if)#no shut

Configure the router:


kamp_r1>en
kamp_r1#config

kamp_r1(config)#int f0/0
kamp_r1(config)#ip address 192.168.100.254 255.255.255.0
kamp_r1(config-if)#no shut

kamp_r1(config)#int f0/1
© 2011 KAMP Academy. All rights reserved.
kamp_r1(config)#ip address 192.168.200.254 255.255.255.0
kamp_r1(config-if)#no shut

Assigning IP address to PCs:


PC1
IP address - 192.168.100.1
Subnet Mask - 255.255.255.0
Gateway - 192.168.100.254
PC2
IP address - 192.168.100.2
Subnet Mask - 255.255.255.0
Gateway - 192.168.100.254

Server
IP address - 192.168.200.10
Subnet Mask - 255.255.255.0
Gateway - 192.168.200.254

Testing:

1. Test the router and switch configuration using show run command.
kamp_r1#show run
kamp_sw1#show run
kamp_sw2#show run

2. Test the IP address configuration using ipconfig command.


From PC1: C:\>ipconfig
From PC2: C:\>ipconfig

3. Test the connectivity within the network using ping command.


From PC1: C:\>ping 192.168.100.2
From PC2: C:\>ping 192.168.100.1

4. Test the connectivity between two networks using ping command.


From PC1: C:\>ping 192.168.200.10
From PC2: C:\>ping 192.168.200.10

5. Test the network patth between twoPCs using tracert command.


From PC1: C:\>tracert 192.168.100.2
From PC2: C:\>tracert 192.168.100.1

6. Test the network patth between server and PC using tracert command.
From PC1: C:\>tracert 192.168.200.10
From PC2: C:\>tracert 192.168.200.10

Summary of commands:

© 2011 KAMP Academy. All rights reserved.


kamp_sw1 kamp_r1
enable enable
config ter config ter

hostname kamp_sw1 hostname kamp_r1


line vty 0 4 line vty 0 4
password kampvty password kampvty
login login

line console 0 line console 0


password kampcon password kampcon
login login

enable password kamp123 enable password kamp123


ip default-gateway 192.168.100.254 ip route 192.168.100.0 255.255.255.0 192.168.200.254
ip route 192.168.200.0 255.255.255.0 192.168.100.254
int fa0/1
switchport mode trunk int f0/0
no shut ip address 192.168.200.254 255.255.255.0
exit no shut
exit
kamp_sw2
enable int f0/1
config ter ip address 192.168.100.254 255.255.255.0
no shut
hostname kamp_sw2 exit
line vty 0 4
password kampvty
login

line console 0
password kampcon
login

enable password kamp123


ip default-gateway 192.168.200.254

int fa0/1
switchport mode trunk
no shut
exit

© 2011 KAMP Academy. All rights reserved.

You might also like