int lo0 ip address 10.10.10.252 255.255.255.255 description Interfaccia Loopback0/0 ID OSPF no shutdown exit
int s0 ip address 172.16.8.245 255.255.255.252 description Interfaccia Serial0/0 DCE verso Belfast Serial0/1 clock rate 2000000 ip ospf message-digest-key 1 md5 7 ospfauth no shutdown exit
router ospf 1 network 10.10.10.0 0.0.0.255 area 0 network 172.16.8.244 0.0.0.3 area 0 area 0 authentication message-digest exit Router Belfast enable conf t hostname Belfast banner motd # Router Belfast - Accesso limitato #
line console 0 password cisco login exit
line vty 0 4 password cisco login exit CASO DE ESTUDIO TECNOLOGIA DE REDES UNIVERSIDAD SAN PEDRO
enable secret class ip subnet-zero
access-list 1 permit 172.16.0.0 0.0.255.255 access-list 1 deny any
ip nat pool public 192.168.1.6 192.168.1.6 netmask 255.255.255.252 ip nat source list 1 pool public overload ip nat translation timeout 120 int lo0
ip address 10.10.10.254 255.255.255.255 description Interfaccia Loopback0/0 ID OSPF no shutdown exit
int s0 ip address 172.16.8.241 255.255.255.252 description Interfaccia Serial0/0 DCE verso Cork Serial0/1 clock rate 2000000 ip ospf message-digest-key 1 md5 7 ospfauth ip nat inside no shutdown exit
int s1 ip address 172.16.8.246 255.255.255.252 description Interfaccia Serial0/1 DTE verso Limerick Serial0/0 ip ospf message-digest-key 1 md5 7 ospfauth ip nat inside no shutdown exit
int e0 ip address 10.0.0.1 255.0.0.0 description Interfaccia Ethernet0/0 Connessione verso ISP ip nat outside no shutdown exit
router ospf 1 network 10.10.10.0 0.0.0.255 area 0 network 172.16.8.240 0.0.0.3 area 0 network 172.16.8.244 0.0.0.3 area 0 default-information originate area 0 authentication message-digest exit
line console 0 password cisco login exit CASO DE ESTUDIO TECNOLOGIA DE REDES UNIVERSIDAD SAN PEDRO
line vty 0 4 password cisco login exit
enable secret class ip subnet-zero
int lo0 ip address 10.10.10.253 255.255.255.255 description Interfaccia Loopback0/0 ID OSPF no shutdown exit
int s1 ip address 172.16.8.242 255.255.255.252 description Interfaccia Serial0/1 DTE verso Belfast Serial0/0 ip ospf message-digest-key 1 md5 7 ospfauth no shutdown exit
int s0 ip address 172.16.8.249 255.255.255.252 description Interfaccia Serial0/0 DTE verso FrameRelay encapsulation frame-relay frame-relay inverse-arp frame-relay local-dlci 16 frame-relay map ip 172.16.8.250 17 broadcast bandwidth 64 no shutdown exit
int e1.1 encapsulation dot1Q ip address 172.16.4.1 255.255.255.0 description Interfaccia Ethernet0/1.1 Gateway per VLAN1 no shutdown exit
int e1.2 encapsulation dot1Q ip address 172.16.5.1 255.255.255.0 description Interfaccia Ethernet0/1.2 Gateway per VLAN2 no shutdown exit
int e1.3 encapsulation dot1Q ip address 172.16.6.1 255.255.255.0 description Interfaccia Ethernet0/1.3 Gateway per VLAN3 no shutdown exit
router ospf 1 network 10.10.10.0 0.0.0.255 area 0 network 172.16.8.240 0.0.0.3 area 0 network 172.16.4.0 0.0.0.255 area 0 network 172.16.5.0 0.0.0.255 area 0 network 172.16.6.0 0.0.0.255 area 0 area 0 authentication message-digest redistribute rip subnets exit CASO DE ESTUDIO TECNOLOGIA DE REDES UNIVERSIDAD SAN PEDRO
ip nat pool public 192.168.1.6 192.168.1.6 netmask 255.255.255.252 ip nat source list 1 pool public overload ip nat translation timeout 120
int s0 ip address 172.16.8.241 255.255.255.252 description Interfaccia Serial0/0 DCE verso Cork Serial0/1 clock rate 2000000 ip ospf message-digest-key 1 md5 7 ospfauth ip nat inside no shutdown exit
CASO DE ESTUDIO TECNOLOGIA DE REDES UNIVERSIDAD SAN PEDRO int s1 ip address 172.16.8.246 255.255.255.252 description Interfaccia Serial0/1 DTE verso Limerick Serial0/0 ip ospf message-digest-key 1 md5 7 ospfauth ip nat inside no shutdown exit
int e0 ip address 10.0.0.1 255.0.0.0 description Interfaccia Ethernet0/0 Connessione verso ISP ip nat outside no shutdown exit Router Crok (Frame Relay) int s0 ip address 172.16.8.249 255.255.255.252 description Interfaccia Serial0/0 DTE verso FrameRelay encapsulation frame-relay frame-relay inverse-arp frame-relay local-dlci 16 frame-relay map ip 172.16.8.250 17 broadcast bandwidth 64 no shutdown exit Router Galway (Frame Relay) int s0 ip address 172.16.8.250 255.255.255.252 description Interfaccia Serial0/0 DTE verso FrameRelay encapsulation frame-relay frame-relay inverse-arp frame-relay local-dlci 17 frame-relay map ip 172.16.8.249 16 broadcast bandwidth 64 no shutdown exit Router Galway (ACL) access-list 100 permit 172.16.0.0 0.0.3.255 10.0.0.0 0.255.255.255 eq 80 access-list 100 permit ip any 172.16.0.0 0.0.255.255 router come switch Frame Relay en conf t hostname Sw_FR frame-relay switching
int s0 encapsulation frame-relay clock rate 64000 bandwidth 64 frame-relay intf-type dce frame-relay route 17 interface serial 1 16 no shutdown exit CASO DE ESTUDIO TECNOLOGIA DE REDES UNIVERSIDAD SAN PEDRO
int s1 encapsulation frame-relay clock rate 64000 bandwidth 64 frame-relay intf-type dce frame-relay route 16 interface serial 0 17 no shutdown exit
Fase 4: Configuracin de VLAN y DHCP Configuracion Switch CorkLan enable conf t hostname CorkLan
int fa0/1 switchport mode trunk speed 100 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/2 switchport mode access switchport access vlan 1 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/3 switchport mode access switchport access vlan 1 speed 10 duplex full switchport port-security maximum 1 CASO DE ESTUDIO TECNOLOGIA DE REDES UNIVERSIDAD SAN PEDRO switchport port-security violation shutdown exit
int fa0/4 switchport mode access switchport access vlan 1 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/5 switchport mode access switchport access vlan 2 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/6 switchport mode access switchport access vlan 2 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/7 switchport mode access switchport access vlan 2 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/8 switchport mode access switchport access vlan 2 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/9 switchport mode access switchport access vlan 3 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/10 switchport mode access switchport access vlan 3 speed 10 duplex full switchport port-security maximum 1 CASO DE ESTUDIO TECNOLOGIA DE REDES UNIVERSIDAD SAN PEDRO switchport port-security violation shutdown exit
int fa0/11 switchport mode access switchport access vlan 3 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit
int fa0/12 switchport mode access switchport access vlan 3 speed 10 duplex full switchport port-security maximum 1 switchport port-security violation shutdown exit Configuracion Router Gateway come server DHCP ip dhcp pool ip_dinamici network 172.16.0.2 /22 default-router 172.16.0.1 dns-server 172.16.0.2 151.99.125.2 151.99.125.3 212.216.112.112 domain-name development.local exit
ip dhcp excluded-address 172.16.0.1 172.16.0.2
Fase 5: Verificacin y prueba
show running-config show protocol show interface show ip route show frame relay