Saturday, June 26, 2010

4.7.1 scripts

hostname R1
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router R1#
line console 0
password cisco
login
line vty 0
password cisco
login
int s0/0
ip add 10.0.1.1 255.255.255.252
no shutdown
clock rate 64000
int s0/1
ip add 10.0.1.5 255.255.255.252
no shutdown
clock rate 64000
int s0/2
ip add 10.0.1.9 255.255.255.252
no shutdown
clock rate 64000
int s0/3
ip add 10.0.1.13 255.255.255.252
no shutdown
clock rate 64000
int s1/0
ip add 209.165.201.2 255.255.255.252
no shutdown
clock rate 64000
ip route 0.0.0.0 0.0.0.0 s1/0
ip route 10.1.0.0 255.255.192.0 s0/0
ip route 10.1.64.1 255.255.192.0 s0/1
ip route 10.1.128.1 255.255.192.0 s0/2
ip route 10.1.192.1 255.255.192.0 s0/3
end
copy running-config startup-config
startup-config
reload
y





hostname B1
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router B1#
line console 0
password cisco
login
line vty 0
password cisco
login
int Fa0/0
ip add 10.1.0.1 255.255.240.0
no shutdown
int Fa0/1
ip add 10.1.16.1 255.255.240.0
no shutdown
int Fa1/0
ip add 10.1.32.1 255.255.240.0
no shutdown
int Fa1/1
ip add 10.1.48.1 255.255.240.0
no shutdown
int s0/0
clock rate 64000
ip add 10.0.1.2 255.255.255.252
no shutdown
ip route 0.0.0.0 0.0.0.0 s0/0
end
copy running-config startup-config
startup-config
reload
y




hostname B2
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router B1#
line console 0
password cisco
login
line vty 0
password cisco
login
int Fa0/0
ip add 10.1.64.1 255.255.240.0
no shutdown
clock rate 64000
int Fa0/1
ip add 10.1.80.1 255.255.240.0
no shutdown
int Fa1/0
ip add 10.1.96.1 255.255.240.0
no shutdown
int Fa1/1
ip add 10.1.112.1 255.255.240.0
no shutdown
int s0/0
ip add 10.0.1.6 255.255.255.252
no shutdown
clock rate 64000
ip route 0.0.0.0 0.0.0.0 s0/0
end
copy running-config startup-config
startup-config
reload
y




hostname B3
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router B3#
line console 0
password cisco
login
line vty 0
password cisco
login
int Fa0/0
ip add 10.1.128.1 255.255.240.0
no shutdown
clock rate 64000
int Fa0/1
ip add 10.1.144.1 255.255.240.0
no shutdown
int Fa1/0
ip add 10.1.160.1 255.255.240.0
no shutdown
int Fa1/1
ip add 10.1.176.1 255.255.240.0
no shutdown
int s0/0
ip add 10.0.1.10 255.255.255.252
no shutdown
clock rate 64000
ip route 0.0.0.0 0.0.0.0 s0/0
end
copy running-config startup-config
startup-config
reload
y




hostname B4
no ip domain-lookup
enable password cisco
banner motd #Welcome to Router B4#
line console 0
password cisco
login
line vty 0
password cisco
login
int Fa0/0
ip add 10.1.192.1 255.255.240.0
no shutdown
clock rate 64000
int Fa0/1
ip add 10.1.208.1 255.255.240.0
no shutdown
int Fa1/0
ip add 10.1.224.1 255.255.240.0
no shutdown
int Fa1/1
ip add 10.1.240.1 255.255.240.0
no shutdown
int s0/0
ip add 10.0.1.14 255.255.255.252
no shutdown
clock rate 64000
ip route 0.0.0.0 0.0.0.0 s0/0
end
copy running-config startup-config
startup-config
reload
y

6 comments:

  1. Hi, I tried this, doesn't work exactely..

    why by fax/x settig clockrate?

    Thanks and regards,
    Tanita

    ReplyDelete
  2. The routes on R1 should be as follows:

    ip route 0.0.0.0 0.0.0.0 s1/0
    ip route 10.1.0.0 255.255.192.0 s0/0
    ip route 10.1.64.0 255.255.192.0 s0/1
    ip route 10.1.128.0 255.255.192.0 s0/2
    ip route 10.1.192.0 255.255.192.0 s0/3

    ReplyDelete
  3. What's the ISP Static routes i can't figure them out.

    ReplyDelete
  4. For the ISP the static routes are 10.0.1.0 255.255.255.240 s0/0 and 10.1.0.0 255.255.0.0 s0/0

    ReplyDelete
  5. I am currently working on this packet tracer lab as well. I have the same subnets as listed in the scripts but for some reason I am not getting credit for them in the lab. are the answers correct in this post?

    ReplyDelete
  6. Hi,
    I can help you in your all PTLabs with 100% completions status..
    you can find my expert profile on the following link
    http://www.liveperson.com/expert/java-expert-live

    Regards

    ReplyDelete