Framerelay - PPP - Nat - DHCP
Framerelay - PPP - Nat - DHCP
ROUTER CENTRAL:
configure terminal hostname CENTRAL line vty 0 4 password cisco
configure terminal username DHCP password class interface serial 1/1 description SERIAL PPP AL ROUTER DHCP ip address 10.0.0.193 255.255.255.192
login clock rate 128000 exit encapsulation ppp line console 0 ppp authentication chap password cisco no shutdown login exit exit exit enable secret class wr exit wr configure terminal interface serial 1/0 configure terminal description SERIAL AL SFR interface fastethernet 0/0 encapsulation frame-relay ietf description FASTETHERNET A LA LAN_A frame-relay lmi-type ansi ip address 10.0.2.129 255.255.255.192 no shutdown ip helper-address 10.0.0.194 exit no shutdown exit exit wr
interface serial 1/0.100 point-to-point ip address 10.0.0.65 255.255.255.192 frame-relay interface-dlci 100 exit
ROUTER DHCP:
configure terminal hostname DHCP line vty 0 4 password cisco
interface serial 1/0.300 point-to-point ip address 10.0.0.129 255.255.255.192 frame-relay interface-dlci 300 exit
configure terminal configure terminal router eigrp 100 network 10.0.0.64 ip address 200.0.0.1 255.255.255.240 network 10.0.0.128 no shutdown network 10.0.0.192 exit network 10.0.2.128 exit exit wr exit wr interface fastethernet 0/0 description FASTETHERNET A LA INTERNET
configure terminal username CENTRAL password class interface serial 1/0 description SERIAL PPP AL ROUTER CENTRAL ip address 10.0.0.194 255.255.255.192
ip dhcp pool vlan_20 network 10.0.1.64 255.255.255.192 default-router 10.0.1.65 exit ip dhcp pool vlan_30 network 10.0.1.128 255.255.255.192
clock rate 128000 default-router 10.0.1.129 encapsulation ppp exit ppp authentication chap ip dhcp pool lan_a no shutdown network 10.0.2.128 255.255.255.192 exit default-router 10.0.2.129 exit exit wr exit wr configure terminal router eigrp 100 configure terminal network 10.0.0.192 ip dhcp excluded-address 10.0.1.1 10.0.1.10 network 200.0.0.0 exit exit wr ip dhcp excluded-address 10.0.2.129 10.0.2.138 configure terminal ip dhcp pool vlan_10 network 10.0.1.0 255.255.255.192 default-router 10.0.1.1 exit exit wr ip dhcp excluded-address 10.0.1.65 10.0.1.74 ip dhcp excluded-address 10.0.1.129 10.0.1.138
configure terminal ip nat pool sfrdhcppppnat 200.0.0.10 200.0.0.12 netmask 255.255.255.240 access-list 1 permit 10.0.0.0 0.255.255.255 ip nat inside source list 1 pool sfrdhcppppnat overload interface serial 1/0 ip nat inside exit interface fastethernet 0/0 ip nat outside exit exit wr
ROUTER REMOTO A:
configure terminal hostname REMOTO_A line vty 0 4 password cisco login exit line console 0 password cisco login exit enable secret class exit wr
configure terminal interface serial 1/0 description SERIAL AL SFR encapsulation frame-relay ietf frame-relay lmi-type ansi ip address 10.0.0.66 255.255.255.192 frame-relay interface-dlci 200 no shutdown exit exit wr
interface fastethernet 0/0.1 encapsulation dot1q 1 native ip address 10.0.1.193 255.255.255.192 ip helper-address 10.0.0.194 no shutdown exit interface fastethernet 0/0.2
ROUTER REMOTO B:
configure terminal hostname REMOTO_B line vty 0 4 password cisco login exit line console 0 password cisco login exit enable secret class exit wr configure terminal interface fastethernet 0/0 description FASTETHERNET AL SWITCH CON VLAN ip helper-address 10.0.0.194 no shutdown exit
encapsulation dot1q 10 ip address 10.0.1.1 255.255.255.192 ip helper-address 10.0.0.194 no shutdown exit interface fastethernet 0/0.3 encapsulation dot1q 20 ip address 10.0.1.65 255.255.255.192 ip helper-address 10.0.0.194 no shutdown exit interface fastethernet 0/0.4 encapsulation dot1q 30 ip address 10.0.1.129 255.255.255.192 ip helper-address 10.0.0.194 no shutdown exit exit wr
ROUTER SFR:
configure terminal configure terminal interface serial 1/0 hostname SFR description SERIAL AL SFR line vty 0 4 encapsulation frame-relay ietf password cisco frame-relay lmi-type ansi login ip address 10.0.0.130 255.255.255.192 exit frame-relay interface-dlci 400 line console 0 no shutdown password cisco exit login exit exit wr enable secret class exit configure terminal wr router eigrp 100 network 10.0.0.128 configure terminal network 10.0.1.0 frame-relay switching network 10.0.1.64 interface serial 1/1 network 10.0.1.128 description SERIAL AL CENTRAL network 10.0.1.192 encapsulation frame-relay ietf exit frame-relay lmi-type ansi exit frame-relay intf-type dce wr frame-relay route 100 interface serial 1/0 200 frame-relay route 300 interface serial 1/2 400 no shutdown exit exit wr
configure terminal frame-relay switching interface serial 1/0 description SERIAL AL REMOTO_A encapsulation frame-relay ietf frame-relay lmi-type ansi frame-relay INTF-type dce frame-relay route 200 interface serial 1/1 100 no shutdown
SWITCH SWITCH B:
configure terminal hostname SWITCH_B line vty 0 4 password cisco login exit line console 0 password cisco login
exit exit exit enable secret class wr exit wr configure terminal frame-relay switching vlan database interface serial 1/2 vlan 10 name DIEZ description SERIAL AL REMOTO_B vlan 20 name VEINTE encapsulation frame-relay ietf vlan 30 name TREINTA frame-relay lmi-type ansi exit frame-relay INTF-type dce wr frame-relay route 400 interface serial 1/1 300 no shutdown exit exit wr configure terminal interface range f0/2 - 5 switchport mode access switchport access vlan 10 no shutdown exit
interface range f0/6 - 20 switchport mode access switchport access vlan 20 no shutdown exit interface f0/21 - 24 switchport mode access switchport access vlan 30 no shutdown exit interface f0/1 switchport mode trunk no shutdown exit exit wr
configure terminal interface vlan 1 ip address 10.0.1.194 255.255.255.192 no shutdown exit exit wr