Router Name: Galway
Router >enable
Router #configure terminal
Router (config) #hostname Galway
Galway (config) #enable password cisco
Galway (config) #enable secret class
Galway (config) #line console 0
Galway (config-line) #password cisco
Galway (config-line) #login
Galway (config-line) #line vty 0 4
Galway (config-line) #password cisco
Galway (config-line) #login
Galway (config-line) #exit
Galway (config) #
Galway (config) #interface serial 0
Galway (config-if) #ip address 172.16.12.10 255.255.255.252
Galway (config-if) #clock rate 64000
Galway (config-if) #no shutdown
Galway (config-if) #exit
Galway (config) #
Galway (config) #interface ethernet 0
Galway (config-if) #ip address 172.16.4.1 255.255.252.0
Galway (config-if) #no shutdown
Galway (config-if) #exit
Galway (config) #
Galway (config) #router rip
Galway (config-router) #version 2
Galway (config-router) #network 172.16.0.0
Galway (config-router) #exit
Galway (config) #
Galway (config) #interface serial 0
Galway (config-if) #encapsulation frame-relay IETF
Galway (config-if) #frame-relay lmi-type ansi
Galway (config-if) #exit
Galway (config) #
Galway (config) #ip route 0.0.0.0 0.0.0.0 172.16.0.12.9
Galway (config) #ip dhcp pool galway
Galway (dhcp-config) #network 172.16.4.0 255.255.252.0
Galway (dhcp-config) #default-router 172.16.4.1
Galway (dhcp-config) #exit
Galway (config) #access-list 101 permit 172.16.4.0 0.0.3.255 10.0.0.2 0.0.0.0 eq 80
Galway (config) #access-list 101 deny 172.16.4.0 0.0.3.255 10.0.0.2 0.0.0.0
Galway (config) #access-list 101 permit any any
Galway (config) #interface ethernet 0
Galway (config-if) #ip access-group 101 in
Galway (config-if) #exit
Galway (config) #exit
Galway #copy running-config startup-config