Routing Lab 3 Static Routing

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Routing Lab 3

Static Routing

Router 1

Login to router 1 using console


Go to global config mode and configure enable password using the following command
Enable password Cisco
Assign ip address to fa0/0
Ip address 192.168.1.254 255.255.255.0
No shut
Exit
Assign ip address to fa0/1
Ip address 192.168.2.1 255.255.255.248
No shut
Exit
Enable telnet
Line vty 0 4
Password Cisco
Exit
Switch 1

Configure an ip address to vlan 1


Int vlan 1
Ip addr 192.168.1.253 255.255.255.0
No shut
Exit
Router 2

Login to router 2 using console


Enable password Cisco
Assign ip address to fa0/0
Ip address 192.168.3.254 255.255.255.0
No shut
Exit
Assign ip address to fa0/1
Ip address 192.168.2.2 255.255.255.248
No shut
Exit
Enable telnet
Line vty 0 4
Password Cisco
Exit

Switch 2

Assign the following ip address to vlan 1


Int vlan 1
Ip address 192.168.3.254 255.255.255.0
No shut
Exit
LAPTOPS
Laptop connected to router 1
Ip address should be 192.168.1.1
Subnet mask 255.255.255.0
Default gateway should be 192.168.1.254
Telnet to router 1 (192.168.1.254)
Laptop connected to router 2
Ip address should be 192.168.3.1
Subnet mask should be 255.255.255.0
Default gateway 192.168.3.254
Telnet to router 2 (192.168.3.254)

Once both the routers are configured issue the following commands and capture results
Sh ip route
Once you capture result go back to global config on both the routers and issue the following
command
On router 1
Ip route 192.168.3.0 255.255.255.0 192.168.2.2
On router 2
Ip route 192.168.1.0 255.255.255.0 192.168.2.1

Capture the following results

From laptop 1 ping 192.168.3.1


From laptop 2 ping 192.168.1.1
Sh ip route (you should see the networks connected now, should be different from the result
you captured earlier.)

You might also like