Routing Labs RIPv2 EIGRP ACL PAT LAB
Routing Labs RIPv2 EIGRP ACL PAT LAB
Three types:
1. Static Routing
2. Default Routing
3. Dynamic Routing
Static Routing
Routes to the different destination networks have to be entered manually on all the
routers by administrator.
Router> enable
Router# config t
Router(config)#hostname R1
R1(config-if)# no shut
R1(config-if)# no shut
R1(config-if)#exit
R1(config)#exit
R1# Sh ip int brief
R1# sh ip route
R2-Router configuration
Router> enable
Router# config t
Router(config)# hostname R2
R2(config-if)# no shut
R2(config-if)# no shut
R2(config-if)# exit
R2(config)# exit
R2# sh ip route
Router> enable
Router# config t
Router(config)#hostname R1
R1(config-if)# no shut
R1(config-if)# no shut
R1(config-if)#exit
R1(config)#exit
R1# sh ip route
R2-Router configuration
Router> enable
Router# config t
Router(config)# hostname R2
R2(config-if)# no shut
R2(config-if)# no shut
R2(config-if)# exit
R2(config-if)# no shut
R2(config-if)# exit
R2# sh ip route
R3-configuration
Router> enable
Router# config t
Router(config)#hostname R3
R3(config-if)# no shut
R3(config-if)# no shut
R3(config-if)#exit
R3(config)#exit
R3# sh ip route
Default Routing
We use default routing to send packets with a remote destination network not in the
routing table, but to the next-hop router.
You can only use default routing on stub networks (those with only one exit path out of
the network).
R1-router Configuration
Router> enable
Router# config t
Router(config)#hostname R1
R1(config-if)# no shut
R1(config-if)# no shut
R1(config-if)#exit
R1(config)#exit
R1# sh ip route
R2-Router configuration
Router> enable
Router# config t
Router(config)# hostname R2
R2(config-if)# no shut
R2(config-if)# no shut
R2(config-if)# exit
R2(config-if)# no shut
R2(config-if)# exit
R2# sh ip route
R3-configuration
Router> enable
Router# config t
Router(config)#hostname R3
R3(config-if)# no shut
R3(config-if)# no shut
R3(config-if)#exit
R3(config)#exit
R3# sh ip route
RIPv2 LAB
Pre-Requisite :
Assign Ip addresses as per the topology
Configuration of EIGRP
Pre-Requisite :
Assign Ip addresses as per the topology
TASK :
1. Deny the host 192.168.1.1 communicating with 192.168.2.0
2. Dent the host 192.168.1.2 communicating with 192.168.2.0
3. Deny the network 192.168.3.0 communicating with 192.168.2.0
4. Permit all the remaining traffic
TASK :
1.Deny the users on LAN 192.168.2.0 should not access 192.168.1.3 HTTP service
2.Deny the users on LAN 192.168.3.0 should not access 192.168.1.4 FTP service
3.Deny the users on LAN 192.168.3.1 should not access 192.168.1.3 HTTP service
4. Deny the user on LAN 192.168.2.0 should not access 192.168.1.4 DNS
5. Deny the users from the host between 192.168.3.2 and 192.168.1.2 should not be
able to send ICMP(PING/Trace) messages
6. Remaining
NAT
NAT Lab Pre-Requisite
1. Configure Ip addresses as per the Diagram
2. Configure Default Routing in Router R1
3. Configure Static Routing on ISP router
ROUTER1 configuration :
R1(config)#int G0/0
R1(config-if)#ip add 192.168.1.100 255.255.255.0
R1(config-if)#no shutdown
R1(config)# int s0/0/0
R1(config-if)#ip add 100.1.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#clock rate 64000
R1(config)#ip route 0.0.0.0 0.0.0.0 100.1.1.2
R1#sh ip route
ROUTER2(ISP) configuration :
ISP(config)#int G0/0
ISP (config-if)#ip add 200.1.1.100 255.255.255.0
ISP (config-if)#no shutdown
ISP (config)# int s0/0/0
ISP (config-if)#ip add 100.1.1.2 255.255.255.0
ISP (config-if)#no shutdown
ISP (config)#ip route 50.1.1.0 255.255.255.0 100.1.1.1
ISP #sh ip route static
R1(config)#int G0/0
R1(config-if)#ip nat inside
R1(config)#int s0/0/0
R1(config-if)#ip nat outside
Verification Commands:
Show ip nat translation
Clear ip nat translations
Sh ip nat statistics
R-1(config)#int G0/0
R-1(config-if)#ip nat inside
R-1(config)#int s0/0/0
R-1(config-if)#ip nat outside
R-1(config)#int G0/0
R-1(config-if)#ip nat inside
R-1(config)#int s0/0/0
R-1(config-if)#ip nat outside