EWAN Packet Tracer 5.5.1 Accessing the WAN Script
Here is the scripts for Accessing the WAN Packet Tracer 5.5.1.
R1:
hostname R1
no ip domain-lookup
enable secret class
banner motd %Authorized Access Only%
line vty 0 4
password cisco
login
line con 0
password cisco
login
int fa0/0
ip addr 192.168.10.1 255.255.255.0
no shut
int fa0/1
ip addr 192.168.11.1 255.255.255.0
no shut
int s0/0/0
ip addr 10.1.1.1 255.255.255.252
clock rate 64000
no shut
exit
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
network 192.168.11.0 0.0.0.255 area 0
network 10.1.1.1 0.0.0.3 area 0
passive-interface fa0/0
passive-interface fa0/1
exit
ip access-list extended extend-1
deny ip 192.168.10.0 0.0.0.255 host 209.165.200.225
permit ip any any
interface serial 0/0/0
ip access-group extend-1 out
!
no ip domain-lookup
enable secret class
banner motd %Authorized Access Only%
line vty 0 4
password cisco
login
line con 0
password cisco
login
int fa0/0
ip addr 192.168.10.1 255.255.255.0
no shut
int fa0/1
ip addr 192.168.11.1 255.255.255.0
no shut
int s0/0/0
ip addr 10.1.1.1 255.255.255.252
clock rate 64000
no shut
exit
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
network 192.168.11.0 0.0.0.255 area 0
network 10.1.1.1 0.0.0.3 area 0
passive-interface fa0/0
passive-interface fa0/1
exit
ip access-list extended extend-1
deny ip 192.168.10.0 0.0.0.255 host 209.165.200.225
permit ip any any
interface serial 0/0/0
ip access-group extend-1 out
!
R2:
hostname R2
no ip domain-lookup
enable secret class
banner motd %Authorized Access Only%
line vty 0 4
password cisco
login
line con 0
password cisco
login
int fa0/0
ip addr 192.168.20.1 255.255.255.0
no shut
int s0/0/0
ip addr 10.1.1.2 255.255.255.252
no shut
int s0/0/1
ip addr 10.2.2.1 255.255.255.252
clock rate 64000
no shut
int lo0
ip addr 209.165.200.225 255.255.255.224
exit
router ospf 1
network 192.168.20.1 0.0.0.255 area 0
network 10.1.1.2 0.0.0.3 area 0
network 10.2.2.1 0.0.0.3 area 0
network 209.165.200.225 0.0.0.31 area 0
passive-interface lo0
passive-interface fa0/0
exit
ip access-list standard Task-4
permit 10.2.2.0 0.0.0.3
permit 192.168.30.0 0.0.0.255
line vty 0 15
access-class Task-4 in
!
no ip domain-lookup
enable secret class
banner motd %Authorized Access Only%
line vty 0 4
password cisco
login
line con 0
password cisco
login
int fa0/0
ip addr 192.168.20.1 255.255.255.0
no shut
int s0/0/0
ip addr 10.1.1.2 255.255.255.252
no shut
int s0/0/1
ip addr 10.2.2.1 255.255.255.252
clock rate 64000
no shut
int lo0
ip addr 209.165.200.225 255.255.255.224
exit
router ospf 1
network 192.168.20.1 0.0.0.255 area 0
network 10.1.1.2 0.0.0.3 area 0
network 10.2.2.1 0.0.0.3 area 0
network 209.165.200.225 0.0.0.31 area 0
passive-interface lo0
passive-interface fa0/0
exit
ip access-list standard Task-4
permit 10.2.2.0 0.0.0.3
permit 192.168.30.0 0.0.0.255
line vty 0 15
access-class Task-4 in
!
R3:
hostname R3
no ip domain-lookup
enable secret class
banner motd %Authorized Access Only%
line vty 0 4
password cisco
login
line con 0
password cisco
login
int fa0/0
ip addr 192.168.30.1 255.255.255.0
no shut
int s0/0/1
ip addr 10.2.2.2 255.255.255.252
no shut
exit
router ospf 1
network 192.168.30.1 0.0.0.255 area 0
network 10.2.2.2 0.0.0.3 area 0
passive-interface fa0/0
exit
ip access-list standard std-1
deny 192.168.11.0 0.0.0.255
permit any
int s0/0/1
ip access-group std-1 in
!
no ip domain-lookup
enable secret class
banner motd %Authorized Access Only%
line vty 0 4
password cisco
login
line con 0
password cisco
login
int fa0/0
ip addr 192.168.30.1 255.255.255.0
no shut
int s0/0/1
ip addr 10.2.2.2 255.255.255.252
no shut
exit
router ospf 1
network 192.168.30.1 0.0.0.255 area 0
network 10.2.2.2 0.0.0.3 area 0
passive-interface fa0/0
exit
ip access-list standard std-1
deny 192.168.11.0 0.0.0.255
permit any
int s0/0/1
ip access-group std-1 in
!
S1:
hostname S1
int vlan 1
ip addr 192.168.10.2 255.255.255.0
no shut
exit
ip default-gateway 192.168.10.1
!
int vlan 1
ip addr 192.168.10.2 255.255.255.0
no shut
exit
ip default-gateway 192.168.10.1
!
S2:
hostname S2
int vlan 1
ip addr 192.168.11.2 255.255.255.0
no shut
exit
ip default-gateway 192.168.11.1
!
int vlan 1
ip addr 192.168.11.2 255.255.255.0
no shut
exit
ip default-gateway 192.168.11.1
!
S3:
hostname S3
int vlan 1
ip addr 192.168.30.2 255.255.255.0
no shut
exit
ip default-gateway 192.168.30.1
!
int vlan 1
ip addr 192.168.30.2 255.255.255.0
no shut
exit
ip default-gateway 192.168.30.1
!
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.