Follow these instructions to configure each router:
Name the Router substitute
enable
config terminal
hostname <NAME>
Configure Authentication with username and passwords.
aaa new-model
aaa authentication login default local
username nsrc secret nsrc
enable secret nsrc
service password-encryption
line vty 0 4
transport preferred none
line console 0
transport preferred none
Disable DNS resolution
no ip domain-lookup
Exit configuration mode and save
end
copy run start
Disconnect and test that you can log into the router with the username nsrc and password nsrc
exit
Assign each Router a different IP address as follows: Substitute X with your group number
int fe 0/1
ip address 192.168.0.X 255.255.255.0
no shutdown
end
Connect a cable to the ethernet port labelled fastEthernet 0/1 and the switch in the middle of the room
Exit configuration mode and see that you can ping other routers in the class. repeat the ping command for each of the other IPs replacing Y with (1 - 5)
end
copy run start
ping 192.168.0.Y
Add a default gateway to the router so the router knows how to reach the Internet.
ip route 0.0.0.0 0.0.0.0 192.168.0.254
Exit global configuration mode, save the configuration and try pinging 8.8.8.8
ping 8.8.8.8
Assign an IP address to the LAN. Remeber as usual to enter privileged exec mode and then global configuration mode as usual. Replace Y with your group number. Note that we've added a description to make identifying this network easier.
Do not forget the no shutdown command to bring the interface up.
int fe 0/0
description LAN
ip address 172.16.Y.1 255.255.255.0
no shut
On your computer, disable the wireless and give yourself an IP address 172.16.Y.50
the default gateway is 172.16.Y.1
and DNS is 8.8.8.8
. Connect your cable to the LAN interface of your router. If you have other computers plugged into a switch behind the Router assign them ip addresses 172.16.Y.51
, 172.16.Y.52
, etc
From your computer try pinging 8.8.8.8
From your computer try pinging someone else in another group?
Did the above two work? Explain.
After the presentation on routing and switching, try fixing part 6.
How should the operator of the default gateway fix part 5?