test import

Categories

Ad Home

Responsive Ads Here

Labels

642-813 SWITCH (2) 642-902 ROUTE (2) 643-832 TSHOOT (1) Access Based Enumeration (1) access list (2) AIX (1) Anti Malware (16) AutoIT (1) backtrack (4) Basic Networking (3) Blogspot (2) bootable USB (1) can not download attach file from gmail (1) ccna (9) CCNA Lab (19) centos (3) Check (1) Check_MK (3) cisco (51) Dell (1) DHCP (1) Download (2) Dynamic Host Configuration Protocol (1) ebook (2) Ebooks (18) eigrp (1) encapsulation (3) esxi5 (2) exam (13) exchange server 2010 (3) facebook (2) firewall-cmd (1) firewall-config (1) firewalld (1) Frame Relay (4) Free Router Simulator Softwares (1) FreeNAS (1) GhostSurf (1) gns3 (1) Hacking Security (5) hardware (1) hotspot (1) How to Change Windows 2008 R2 SID (1) How to create VPN network on Linux (1) How to install openSSH on AIX 5.3 (1) How to Install the Microsoft Core Fonts on Fedora 19 (1) HP (1) IBM (1) Infrastructure Monitoring (3) InterVLAN (1) ip routing (3) IPSec (2) ipv6 (1) IT (122) joomla (1) Kiến thức (278) LAN Technology (3) life skills for (1) lifeskills (2) linux (13) Linux-Unix (24) mac address (1) Magazine (9) Mail (2) mail server (1) MCSA (7) Microsoft (28) mikrotik (3) Multipoint (1) Nagios (3) NAT (1) nested (1) Network (1) Network Load Balancing (1) News (1) Nghệ thuật sống (1) O365 (4) Office 365 (4) OSPF (1) Packet tracer (19) Pass4sure (1) Point to Point (1) Point-to-Point Protocol (PPP) – CHAP (1) Point-to-Point Protocol (PPP) – PAP (1) Policy (3) Port Security (1) Practice Labs (19) Prerequisites (1) proxy (1) relax (7) rhel7 (1) RIP (1) routerOS (3) Routing (1) SAN (1) SAN Storage (1) Scripts (6) Server (1) server room (1) Sharepoint Server 2007 (1) Sharepoint Server 2010 (1) Spanning Tree Protocol (1) SSH login without password (1) Static Default Route (1) Storage (1) subnet (1) switch (1) System Requirements for Windows Server 2012 (1) Tản mạn (2) tcp-ip (1) telnet (1) TestInside (1) Thư giãn (4) Thủ thuật (2) tip (3) Tips + Tricks (29) trick (1) Tutorial (29) Tutorialvirtual server HighAvailability (1) ubuntu (4) unix (3) Unix-Linux (8) usb (1) Virtual Private Network (VPN) - IPsec (Site-to-Site) (1) Virtual Trunking Protocol (1) Virtualization (2) Virtualization HighAvailability (1) virus (5) vmware (6) vpn (4) vpn client (1) vpn client to site (2) vpn site to site (2) vSphere 5 (6) vSphere 5.1 (1) WAN Technology (13) Warranty (1) wildcard mask (1) windows 7 (1) windows 8 (1) windows server 2008 (3) Windows Server 8 (1)

Facebook

Ethereum

Subscribe for New Post Notifications

Ripple

Ethereum Price

Monday Tuesday Wednesday
$402.89 $384.06 $396.34

Contact Form

Name

Email *

Message *

Bitcoin

Litecoin

Browsing Category " CCNA Lab "

CCNA LAB - 4.9 DHCP (Dynamic Host Configuration Protocol)

CCNA LAB - 4.9 DHCP (Dynamic Host Configuration Protocol)


LAB 4-9: Dynamic Host Configuration Protocol (DHCP)

You are the network administrator at Ranet, and have to configure the router Ranet-GW to connect
between LAN and Internet, and to do as DHCP server for LAN as below:
(via Console)
1. Enable and set IP address on LAN interface to be the first IP of the subnet 10.0.0.128/28
2. Enable and set IP address on serial interface to be the last IP of the subnet 77.8.210.0/30
3. Set the default route to let the connection out to the internet.
4. Configure to let this router translate between the addresses in this LAN and the addresses
ISP gave us (19.5.39.129 – 19.5.39.130)

Remark: use ACL no.1 and pool named“Ranet” only!

5. Configure to let this router do as DHCP server for the hosts in LAN. You have to supply all
information that is necessary for hosts to connect to the internet, and do not forget to
exclude addresses of the gateway and the switch.

Remark: use pool named “Ranet” also!

If everything is correct, all hosts have to be able to open website http://www.ranet.co.th
Solution:

Ranet-GW config
(copy & paste these command below to Ranet-GW router.)
en
conf t
int fa0/0
no sh

ip add 10.0.0.129 255.255.255.240
int s0/0/0
no sh

ip add 77.8.210.2 255.255.255.252
exit

ip route 0.0.0.0 0.0.0.0 se0/0/0

int fa0/0
ip nat inside
int se0/0/0
ip nat outside
exit

access-list 1 permit 10.0.0.128 0.0.0.15
ip nat pool Ranet 19.5.39.129 19.5.39.130 netmask 255.255.255.252
ip nat inside source list 1 pool Ranet overload

ip dhcp pool Ranet T-CNA03-L49
network 10.0.0.128 255.255.255.240
default-router 10.0.0.129
dns-server 77.8.209.5
exit
ip dhcp excluded-address 10.0.0.129 10.0.0.130
end

Ranet-GW#
Ranet-GW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]

------------------------ The End -----------------------

Now, everything is OK, all hosts (host1, host2, host3) have to be able to open website http://www.ranet.co.th

You can view and download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 4.8 Virtual Private Network (VPN) - IPsec (Site-to-Site)

CCNA LAB - 4.8 Virtual Private Network (VPN) - IPsec (Site-to-Site)


LAB 4-8: Virtual Private Network (VPN) – IPsec (Site-to-Site)

You are the Network Administrator at Ranet Branch Office, and have to newly configure the Ranet-Br router to let your own host connect to the internet and connect to the hosts in Headquarter (192.168.0.0/24) via Site-to-Site IPsec VPN as below:
(configure via console terminal for Ranet-BR router)

1. Enable LAN interface on Ranet-BR and set IP address to be the first assignable IP of 192.168.1.0/28 network.

2. Enable WAN interface on Ranet-BR and set IP address to be the last assignable IP of 202.170.100.28/30 network.

3. Set IP address on Host-BR to be the last assignable IP of 192.169.1.0/28 network, and set IP of Gateway and DNS server (202.170.100.54) also.

4. Config the route and NAT on Ranet-BR to let the Hosts in LAN connect to the internet (do not forget to exclude the VPN traffic).
(for NAT, use access-list no.100 and pool name “Ranet” that contain the global IP received from ISP as 202.170.100.9 – 202.170.100.14)

5. Config the Site-to-Site IPsec VPN by using the properties as below:

- For IKE phase I:- Policy Priority 101; Encryption Alg. AES-128 bit; Hash Alg. Secure HAsh standard; Authen method. Pre-Shared Key; Diffie-Hellman group #5 and lifetime at 86,400 sec. Use “ranetvpnpass” as key. Please note that IP address of WAN interface of Ranet-HQ is 202.170.100.130.
- For IKE phase II: Use Transform-set name “Ranet” and ESP transform using AES with HMAC-SHA as authentication Alg.
- Use crypto map name “Site-to-Site” with sequence no.101 and access-list no.101 to be the VPN traffic.

If everything is correct, Host-BR should be able to open website www.ranet.co.th, and test ping with Server-HQ 192.168.0.7 in Headquarter network.

Solution:

Ranet-BR config
(copy & paste these command below to Ranet-BR router.)
en
conf t
int fa0/0
no sh
ip add 192.168.1.1 255.255.255.240
ip nat inside
int s0/0/0
no sh
ip add 202.170.100.30 255.255.255.252
ip nat outside
exit

ip route 0.0.0.0 0.0.0.0 s0/0/0
access-list 100 deny ip 192.168.1.0 0.0.0.15 192.168.0.0 0.0.0.255
access-list 100 permit ip 192.168.1.0 0.0.0.15 any
ip nat pool Ranet 202.170.100.9 202.170.100.14 netmask 255.255.255.248
ip nat inside source list 100 pool Ranet overload
crypto isakmp policy 101
encryption aes 128
hash sha
authentication pre-share
group 5
lifetime 86400
exit

crypto isakmp key ranetvpnpass address 202.170.100.130
access-list 101 permit ip 192.168.1.0 0.0.0.15 192.168.0.0 0.0.0.255
crypto ipsec transform-set Ranet esp-aes esp-sha-hmac
crypto map Site-to-Site 101 ipsec-isakmp
set peer 202.170.100.130
set transform-set Ranet
match address 101
exit

int s0/0/0
crypto map Site-to-Site
end

Ranet-BR#sh crypto isakmp policy

Global IKE policy
Protection suite of priority 101
encryption algorithm: AES - Advanced Encryption Standard (128 bit keys).
hash algorithm: Secure Hash Standard
authentication method: Pre-Shared Key
Diffie-Hellman group: #5 (1536 bit)
lifetime: 86400 seconds, no volume limit
Default protection suite
encryption algorithm: DES - Data Encryption Standard (56 bit keys).
hash algorithm: Secure Hash Standard
authentication method: Rivest-Shamir-Adleman Signature
Diffie-Hellman group: #1 (768 bit)
lifetime: 86400 seconds, no volume limit
Ranet-BR#sh crypto ipsec sa
ART-CNA-003-L48
interface: Serial0/0/0
Crypto map tag: Site-to-Site, local addr 202.170.100.30

protected vrf: (none)
local ident (addr/mask/prot/port): (192.168.1.0/255.255.255.240/0/0)
remote ident (addr/mask/prot/port): (192.168.0.0/255.255.255.0/0/0)
current_peer 202.170.100.130 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 0, #pkts encrypt: 0, #pkts digest: 0
#pkts decaps: 0, #pkts decrypt: 0, #pkts verify: 0
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0

local crypto endpt.: 202.170.100.30, remote crypto endpt.:202.170.100.130
path mtu 1500, ip mtu 1500, ip mtu idb Serial0/0/0
current outbound spi: 0x0(0)

inbound esp sas:

inbound ah sas:

inbound pcp sas:

outbound esp sas:

outbound ah sas:

outbound pcp sas:

Ranet-BR#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]

Ranet-Host

(Desktop > IP Configuration)
IP Address: 192.168.1.14
Subnet Mask: 255.255.255.240
Default Gateway: 192.168.1.1
DNS Server: 202.170.100.54

( Desktop > Command Prompt)
Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.7

Pinging 192.168.0.7 with 32 bytes of data:

Request timed out.
Request timed out.
Reply from 192.168.0.7: bytes=32 time=32ms TTL=126
Reply from 192.168.0.7: bytes=32 time=31ms TTL=126

Ping statistics for 192.168.0.7:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 31ms, Maximum = 32ms, Average = 31ms

PC>

(Desktop > Web Browser)
URL: http://www.ranet.co.th
Output: RANET Co.,Ltd. - Ranet Co.,Ltd. We make iT easy!

----------------------- The End ---------------------
 Everything is OK. 


You can view and download this solution here
Copyright by http://www.lecuong.info

CCNA LAB - 4.7 NAT

CCNA LAB - 4.7 NAT



LAB 4-7: Network Address Translation (NAT)
You are the network administrator at Ranet, and have to config the Ranet-GW router via Console Terminal to let hosts in our LAN that have IP address: 192.168.0.193 - 192.168.0.206 can connect to the internet.
Your ISP has given global IP for 6 IP as 25.5.5.65 - 25.5.5.70.

Remark: 

1. Use ACL no.1 for Local IP list.
2. Use pool name “Ranet” for Global IP list. 

Solution:


Ranet-GW config:

(copy & paste these command below to Ranet-HQ)


en
conf t
int fa0/0
ip nat inside
int s0/0/0
ip nat outside
exit
access-list 1 permit 192.168.0.192 0.0.0.15
ip nat pool Ranet 25.5.5.65 25.5.5.70 netmask 255.255.255.248
ip nat inside source list 1 pool Ranet overload
end


Ranet-GW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]


Ranet-GW#sh ip nat translations
Pro Inside global Inside local Outside local Outside global
udp 25.5.5.65:1025 192.168.0.200:1025 21.5.6.7:53 21.5.6.7:53
tcp 25.5.5.65:1025 192.168.0.200:1025 21.5.8.7:80 21.5.8.7:80



----------------------- The End ---------------------

Copyright by http://www.lecuong.info

CCNA LAB - 4.6 Access List

CCNA LAB - 4.6 Access List


LAB 4-6: Access Control List (ACL)

You are the network administrator at Ranet, and have to config router Ranet-HQ to connect its LAN
to Branch network and Internet, and to config Access-List to control traffic as below:
(via its console)
1. Enable and set IP address on LAN interface to be the first assignable IP of this subnet.

2. Enable and set IP address on each serial interface to be the last assignable IP of its own subnet.

3. Set RIPv2 to be the router protocol on this router to exchange route with Ranet-BR

4. Set default route to allow the connection with internet.

5. Set access-list to prevent the connection from hosts in LAN as:
- allow only Admin-Host to telnet to Ranet-CoreSW (password: ranetpass)
- Not permit only User-Host1 to connect to any site in the internet.
- Any traffic beside these should be allow.

Remark: Use ACL no.100 only!, and use as short as possible to gain %Completion

Solution:


Ranet-HQ config:

(copy & paste these command below to Ranet-HQ)
en
conf t
int fa0/0
no sh
ip add 172.22.3.33 255.255.255.224
int s0/0/0
no sh
ip add 172.22.3.98 255.255.255.252
int s0/1/0
no sh
ip add 203.144.7.254 255.255.255.252
exit

router rip
version 2
network 172.22.0.0
no auto-summary
exit

ip route 0.0.0.0 0.0.0.0 s0/1/0
access-list 100 deny tcp 172.22.3.52 0.0.0.3 host 172.22.3.90 eq 23
access-list 100 deny tcp host 172.22.3.53 any eq 80
access-list 100 permit ip any any
int fa0/0
ip access-group 100 in

Ranet-HQ#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
.
----------------------- The End ---------------------

Everything is OK.

You can view and download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 4.5 Port Security

CCNA LAB - 4.5 Port Security



LAB 4-5: Port Security

You are the network administrator at Ranet,and would like to enable Port-Security on the access ports of Ranet-SW to prevent the use of another switch connected that let multiple hosts connect through the same port at the same time, and to prevent the unauthorized host connect via some port.

So all you have to do are: (Config via Console)

1. Enable Port-Security on all access ports (except Gig1/1, Gig1/2), and set parameter to allow only 1 MAC Address per port and the action when violation happened is shutdown port.

2. On port Fa0/1, now there is the authorized host connected (Host1), set the allow MAC Address on this port by “SecureSticky” method.

3. On port Fa0/3, now there is the unauthorized host connected (Rogue3),set the allow MAC Address to be 0030.F295.15C6.

If everything is correct, you will see ports Fa0/2 and Fa0/3 change status to down (err-disabled) when there is the attempt to connect from unauthorized hosts, and Host1 will not be able to connect with the unauthorized hosts (192.168.0.58 – 192.168.0.60) .


---------------------- End -----------------------------


Solution:



Ranet-SW config :

(copy & paste to Ranet-SW )



en
conf t
int ran fa0/1 -24
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
int fa0/1
switchport port-security mac-address sticky
int fa0/3
switchport port-security mac-address 0030.F295.15C6

Ranet-SW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW#

Host1 :
Command Prompt
Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.60Pinging 192.168.0.60 with 32 bytes of data:
Reply from 192.168.0.60: bytes=32 time=44ms TTL=128
Reply from 192.168.0.60: bytes=32 time=4ms TTL=128
Reply from 192.168.0.60: bytes=32 time=5ms TTL=128
Reply from 192.168.0.60: bytes=32 time=4ms TTL=128

Ping statistics for 192.168.0.60:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 4ms, Maximum = 44ms, Average = 14ms

PC>ping 192.168.0.59

Pinging 192.168.0.59 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.59:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC>ping 192.168.0.58

Pinging 192.168.0.58 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.58:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC>



Ranet-SW

Ranet-SW#sh port-security address
Secure Mac Address Table
-------------------------------------------------------------------------------
Vlan Mac Address            Type                              Ports-----------                            ----                               -----
0030.F214.8793                SecureSticky                FastEthernet0/1 -
0030.F295.15C6              SecureConfigured          FastEthernet0/3 -
------------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port) : 0
Max Addresses limit in System (excluding one mac per port) : 1024


Ranet-SW#sh int fa0/2

FastEthernet0/2 is down, line protocol is down (err-disabled)

Ranet-SW#sh int fa0/3

FastEthernet0/3 is down, line protocol is down (err-disabled)









----------------------- The End ---------------------



Copyright by http://www.lecuong.info

CCNA LAB - 4.4 IP Routing – EIGRP

CCNA LAB - 4.4 IP Routing – EIGRP




LAB 4-4: IP Routing – EIGRP
You are the network administrator at Ranet, and have to config the routers both Ranet-HQ and Ranet-BR to make the connection throughout Ranet network and with the Internet.

So all you have to do are:
(Config via console of each router.)

1. Enable and set IP address on LAN interface of each router to be the last assignable IP of each subnet.
2. Enable serial interface on each router and set IP address on each interface as:
- s0/0/0 on Ranet-BR: last IP of 5.88.192.56/29
- s0/0/0 on Ranet-HQ: first IP of 5.88.192.56/29
- s0/1/0 on Ranet-HQ: last IP of 5.88.192.224/30
all serial interface use HDLC as encapsulation protocol and do not forget to set clock rate at 64 kbps on Ranet-BR side.
3. Set EIGRP as routing protocol on each router to let Host1 connect to Host2 in the condition that:
- Use AS no.10110
- Not permit EIGRP on interface that is not within Ranet Network.
4. Set default route on each router to let both Host1and Host2 be able to connect to the Online Server
(177.87.0.39) in the internet.


Solution:


Ranet-HQ config:
(copy & paste these commands to Ranet-HQ router)

en
conf t
int fa0/0
no sh
ip add 5.88.192.54 255.255.255.248
int s0/0/0
no sh
ip add 5.88.192.57 255.255.255.248
int s0/1/0
no sh
ip add 5.88.192.226 255.255.255.252
exit

router eigrp 10110
network 5.88.192.48 0.0.0.7
network 5.88.192.56 0.0.0.7
no auto-summary
exit
ip route 0.0.0.0 0.0.0.0 se0/1/0

Ranet-HQ#sh ip protocol
Routing Protocol is "eigrp 10110 "
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 10110
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
5.88.192.48/29
5.88.192.56/29
Routing Information Sources:
Gateway Distance Last Update
Distance: internal 90 external 170

Ranet-HQ#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-HQ#

Ranet-BR config:
(copy & paste these commands to Ranet-BR router)

en
conf t
int fa0/0
no shut
ip add 5.88.192.46 255.255.255.240
int s0/0/0
no sh
clock rate 64000
ip add 5.88.192.62 255.255.255.248
exit

router eigrp 10110
network 5.88.192.32 0.0.0.15
network 5.88.192.56 0.0.0.7
no auto-summary
exit
ip route 0.0.0.0 0.0.0.0 se0/0/0

Ranet-BR#sh ip protocol

Routing Protocol is "eigrp 10110 "
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: eigrp 10110
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
5.88.192.32/28
5.88.192.56/30
Routing Information Sources:
Gateway Distance Last Update
5.88.192.57 90 497401
Distance: internal 90 external 170
Ranet-BR#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

5.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 5.88.192.32/28 is directly connected, FastEthernet0/0
D 5.88.192.48/29 [90/20514560] via 5.88.192.57, 00:00:53, Serial0/0/0
C 5.88.192.56/29 is directly connected, Serial0/0/0
S* 0.0.0.0/0 is directly connected, Serial0/0/0
Ranet-BR#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-BR#

----------------------- The End ---------------------

Everything is OK.

You can view and download this solution here.

 









Copyright by http://www.lecuong.info

CCNA LAB - 4.3 IP Routing – OSPF

CCNA LAB - 4.3 IP Routing – OSPF


LAB 4-3: IP Routing – OSPF


You are the network administrator at Ranet, and have to config the routers both Ranet-HQ and Ranet-BR to make the connection throughout Ranet network and with the Internet.
So all you have to do are:
(Config via console of each router.)

1. Enable and set IP address on LAN interface of each router to be the last assignable IP of each subnet.

2. Enable serial interface on each router and set IP address on each interface as:

- s0/0/0 on Ranet-BR: last IP of 128.0.6.156/30
- s0/0/0 on Ranet-HQ: first IP of 128.0.6.156/30
- s0/1/0 on Ranet-HQ: last IP of 128.0.6.92/30
all serial interface use HDLC as encapsulation protocol and do not forget to set clock rate at 64 kbps on Ranet-BR side.

3. Set OSPF as routing protocol on each router to let Host1 connect to Host2 in the condition that:

- Use Process ID: 1 for Ranet-HQ and Process ID: 100 for Ranet-BR
- Set RouterID of Ranet-HQ to be 1.1.0.1, and set to be 1.1.1.1 for Ranet-BR

4. Set default route on each router to let both Host1 and Host2 be able to connect to the Online Server
(203.87.129.95) in the internet.

------------------------------------- End ----------------------------------

Solution:

Ranet-HQ config:
(copy & paste these commands to Ranet-HQ router)

en
conf t
int fa0/0
no sh
ip add 128.0.6.142 255.255.255.240
int  s0/0/0
no sh
ip add 128.0.6.157 255.255.255.252
int s0/1/0
no sh
ip add 128.0.6.94 255.255.255.252
exit
int loopback 0
ip add 1.1.0.1 255.255.255.0
exit

router ospf 1
network 128.0.6.128 0.0.0.15 area 0
network 128.0.6.156 0.0.0.3 area 0
exit
ip route 0.0.0.0 0.0.0.0 se0/1/0
end

Ranet-HQ#sh ip protocol

Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.0.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
128.0.6.128 0.0.0.15 area 0
128.0.6.156 0.0.0.3 area 0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 110)

Ranet-HQ#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]

Ranet-HQ#

Ranet-BR config:
(copy & paste these commands to Ranet-BR router)

en
conf t
int fa0/0
no sh
ip add 128.0.6.150 255.255.255.248
int s0/0/0
no sh
clock rate 64000
ip add 128.0.6.158 255.255.255.252
exit
int loopback 0
ip add 1.1.1.1 255.255.255.0
exit

router ospf 100
network 128.0.6.144 0.0.0.7 area 0
network 128.0.6.156 0.0.0.3 area 0
exit

ip route 0.0.0.0 0.0.0.0 se0/0/0
end

Ranet-BR#sh ip protocol

Routing Protocol is "ospf 100"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.1.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
ART-CNA-003-L43
Maximum path: 4
Routing for Networks:
128.0.6.144 0.0.0.7 area 0
128.0.6.156 0.0.0.3 area 0
Routing Information Sources:
Gateway Distance Last Update
128.0.6.157 110 00:00:20
Distance: (default is 110)

Ranet-BR#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
128.0.0.0/16 is variably subnetted, 3 subnets, 3 masks
O 128.0.6.128/28 [110/782] via 128.0.6.157, 00:00:29, Serial0/0/0
C 128.0.6.144/29 is directly connected, FastEthernet0/0
C 128.0.6.156/30 is directly connected, Serial0/0/0
S* 0.0.0.0/0 is directly connected, Serial0/0/0

Ranet-BR#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-BR#

----------------------- The End ---------------------

Everything is OK.

You can view and download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 4.2 IP Routing - RIP

CCNA LAB - 4.2 IP Routing - RIP


LAB 4-2: IP Routing - RIP 

You are the network administrator at Ranet, and have to config the routers both Ranet-HQ and Ranet-BR to make the connection throughout Ranet network and with the Internet. So all you have to do are:
(Config via console of each router.)

1. Enable and set IP address on LAN interface of each router to be the first assignable IP of each subnet.

2. Enable serial interface on each router and set IP address on each interface as:
- s0/0/0 on Ranet-BR: first IP of 98.83.165.72/30
- s0/0/0 on Ranet-HQ: last IP of 98.83.165.72/30
- s0/1/0 on Ranet-HQ: last IP of 52.9.236.20/30

all serial interface use HDLC as encapsulation protocol and do not forget to set clock rate at 64 kbps on Ranet-BR side.

3. Set RIPv2 as routing protocol on each router to let Host1 connect to Host2.

4. Set default route on each router to let both Host1 and Host2 be able to connect to the Online Server        (55.8.92.3) in the internet.

-------------------------------- The End -----------------------------------

Solution:


Ranet-HQ config:
(copy & paste these commands to Ranet-HQ router)

en
conf t
int fa0/0
no sh
ip add 98.83.165.65 255.255.255.248
int s0/0/0
no sh
ip add 98.83.165.74 255.255.255.252
int s0/1/0
no sh
ip add 52.9.236.22 255.255.255.252
exit
router rip
version 2
network 98.0.0.0
no auto-summary
exit
ip route 0.0.0.0 0.0.0.0 s0/1/0

Ranet-HQ#sh ip protocol
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 21 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
98.0.0.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance
Distance: (default is 120)
Ranet-HQ#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-HQ#

Ranet-BR config:
(copy & paste these commands to Ranet-HQ router)

en
conf t
int fa0/0
no sh
ip add 98.83.165.81 255.255.255.240
int s0/0/0
no sh
clock rate 64000
ip add 98.83.165.73 255.255.255.252
exit
router rip
version 2
network 98.0.0.0
no auto-summary
exit
ip route 0.0.0.0 0.0.0.0 s0/0/0
end

Ranet-BR#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

98.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
R 98.83.165.64/29 [120/1] via 98.83.165.74, 00:00:27, Serial0/0/0
C 98.83.165.72/30 is directly connected, Serial0/0/0
C 98.83.165.80/28 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 is directly connected, Serial0/0/0
Ranet-BR#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-BR#

Everything is ok!!

----------------------------------  End  ------------------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 4.1 IP Routing - Static and Default Route

CCNA LAB - 4.1 IP Routing - Static and Default Route



LAB 4-1: IP Routing – Static and Default Route


You are the network administrator at Ranet, and have to config the routers both Ranet-HQ and Ranet-BR to make the connection throughout Ranet network and with the Internet. So all you have to do are:

(Config via console of each router.)

1. Enable and set IP address on LAN interface of each router to be the last assignable IP of each subnet.

2. Enable serial interface on each router and set IP address on each interface as:

- s0/0/0 on Ranet-BR: last IP of 52.7.9.220/30
- s0/0/0 on Ranet-HQ: first IP of 52.7.9.220/30
- s0/1/0 on Ranet-HQ: last IP of 77.7.7.252/30
all serial interface use HDLC as encapsulation protocol and do not forget to set clock rate at 64 kbps on Ranet-BR side.

3. Set static route of each LAN on each router to let Host1 connect to Host2. (Use destination interface
instead of IP next hop.)

4. Set default route on each router to let both Host1 and Host2 be able to connect to the Online Server
(72.76.5.3) in the internet.

-------------------------------------- The End ----------------------------------------


Solution:



Ranet-HQ router config:

(copy & paste these commands to Ranet-HQ router)



en
conf t
int fa0/0
no sh
ip add 52.7.9.206 255.255.255.240
int s0/0/0
no sh
ip add 52.7.9.221 255.255.255.252
int s0/1/0
no sh
ip add 77.7.7.254 255.255.255.252
exit
ip route 52.7.9.208 255.255.255.248 se0/0/0
ip route 0.0.0.0 0.0.0.0 se0/1/0


Ranet-HQ#sh ip route 
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

52.0.0.0/28 is subnetted, 1 subnets
C 52.7.9.192 is directly connected, FastEthernet0/0
77.0.0.0/30 is subnetted, 1 subnets
C 77.7.7.252 is directly connected, Serial0/1/0
S* 0.0.0.0/0 is directly connected, Serial0/1/0

Ranet-HQ#copy run start 
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-HQ#

Ranet-BR router config:
(copy & paste these commands to Ranet-BR router)
en
conf t
int fa0/0
no sh
ip add 52.7.9.214 255.255.255.248
int s0/0/0
no sh
clock rate 64000
ip add 52.7.9.222 255.255.255.252
exit
ip route 52.7.9.192 255.255.255.240 s0/0/0
ip route 0.0.0.0 0.0.0.0 se0/0/0
end


Ranet-BR#sh ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route


Gateway of last resort is 0.0.0.0 to network 0.0.0.0


52.0.0.0/8 is variably subnetted, 3 subnets, 3 masks

S 52.7.9.192/28 is directly connected, Serial0/0/0

C 52.7.9.208/29 is directly connected, FastEthernet0/0

C 52.7.9.220/30 is directly connected, Serial0/0/0

S* 0.0.0.0/0 is directly connected, Serial0/0/0

Ranet-BR#copy run start 

Destination filename [startup-config]?

Building configuration...

[OK]

Ranet-BR#





Now, everything is ok!!



------------------------------ The End --------------------------


You can download this solution here.






Copyright by http://www.lecuong.info

CCNA LAB- 3.4 Frame Relay - Point to Point

CCNA LAB- 3.4 Frame Relay - Point to Point



LAB 3-4: Frame Relay – Point-to-Point (Subinterface)

You are the network administrator at Ranet Headquater, and have to configure the router “Ranet-HQ” to let Host1 connect with Host2, Host3 and Host4 as below:
(Use console to config this router.)

1. Enable and set IP address on LAN interface to be the first IP of this subnet.

2. Enable serial interface, and create subinterface with Frame-Relay setting as below:

- s0/0/0.2 for connect with Ranet-BR2, via DLCI 902
- s0/0/0.3 for connect with Ranet-BR3, via DLCI 903
- s0/0/0.4 for connect with Ranet-BR4, via DLCI 904

All subinterfaces use CISCO standard for both encapsulation and LMI, and set IP address to use the first IP in each subnet.

If everything is correct, Host1 should be able to connect
with Host2, Host3, and Host4.
Solution:


Ranet-HQ config:
(copy & paste these commands to Ranet-HQ router)
en
conf t
int fa0/0
no sh
ip add 172.20.8.1 255.255.255.240
int s0/0/0
no sh
encapsulation frame-relay
int s0/0/0.2 point-to-point
frame-relay interface-dlci 902
ip add 10.0.2.1 255.255.255.252
int s0/0/0.3 point-to-point
frame-relay interface-dlci 903
ip add 10.0.3.1 255.255.255.252
int s0/0/0.4 point-to-point
frame-relay interface-dlci 904
ip add 10.0.4.1 255.255.255.252
end

Ranet-HQ#sh frame-relay map
Serial0/0/0.2 (up): point-to-point dlci, dlci 902, broadcast, status defined, active
Serial0/0/0.3 (up): point-to-point dlci, dlci 903, broadcast, status defined, active
Serial0/0/0.4 (up): point-to-point dlci, dlci 904, broadcast, status defined, active

Ranet-HQ#ping 172.20.8.30
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.20.8.30, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 4/9/12 ms
Ranet-HQ#ping 172.20.8.40
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.20.8.40, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 10/12/16 ms
Ranet-HQ#ping 172.20.8.60
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.20.8.60, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 11/12/13 ms
Ranet-HQ#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-HQ#

Everthing is ok!! Host1 should be able to connect with Host2, Host3, and Host4.

----------------------------------------  End -------------------------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 3.3 Frame Relay – Multipoint

CCNA LAB - 3.3 Frame Relay – Multipoint




LAB 3-3: Frame Relay – Multipoint

You are the network administrator at Ranet Headquater, and have to configure the router “Ranet-HQ” to let Host1connect with Host2, Host3 and Host4 as below:
(Use console to config this router.)

1. Enable and set IP address on LAN interface to be the first IP of this subnet.

2. Enable and set IP address on serial interface to be the first IP of its subnet, and then set the parameter about frame-relay as:
- Use IETF Frame-Relay as encapsulation protocol
- Use LMI ANSI type then try to ping with others node in this subnet, and use command to gather information about DLCI per each destination that came from Inverse-ARP then shutdown this interface and set frame-relay map in static, after that, re-enable the interface and check the
connections between node again.

If success, Host1 should be able to connect with other Hosts.


------------------------- The End ------------------------------Solution



Ranet-HQ config:
(copy & paste these commands to Ranet-HQ router)


en
conf t
int fa0/0
no shut
ip add 192.168.0.73 255.255.255.248
int s0/0/0
no shut
ip add 10.0.0.1 255.255.255.248
encapsulation frame-relay ietf
frame-relay lmi-type ansi
end

Ranet-HQ#ping 192.168.0.123
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.123, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 11/12/13 ms
Ranet-HQ#sh frame-relay map
Serial0/0/0 (up): ip 10.0.0.4 dlci 104, dynamic, broadcast, IETF, status defined, active
Serial0/0/0 (up): ip 10.0.0.2 dlci 102, dynamic, broadcast, IETF, status defined, active
Serial0/0/0 (up): ip 10.0.0.3 dlci 103, dynamic, broadcast, IETF, status defined, active

(copy & paste these commands below)
conf t
int s0/0/0
sh
frame-relay map ip 10.0.0.2 102 broadcast
frame-relay map ip 10.0.0.3 103 broadcast
frame-relay map ip 10.0.0.4 104 broadcast
no sh

Ranet-HQ#sh frame-relay map
Serial0/0/0 (up): ip 10.0.0.2 dlci 102, static, broadcast, IETF, status defined, active
Serial0/0/0 (up): ip 10.0.0.3 dlci 103, static, broadcast, IETF, status defined, active
Serial0/0/0 (up): ip 10.0.0.4 dlci 104, static, broadcast, IETF, status defined, active
Ranet-HQ#ping 192.168.0.123
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.123, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/12/15 ms
Ranet-HQ#ping 192.168.0.130
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.130, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 10/12/15 ms
Ranet-HQ#ping 192.168.0.140
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.140, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 11/12/15 ms
Ranet-HQ#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-HQ#

Host1 :

(Desktop > Command Prompt)
Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.123
Pinging 192.168.0.123 with 32 bytes of data:
Reply from 192.168.0.123: bytes=32 time=23ms TTL=126
Reply from 192.168.0.123: bytes=32 time=16ms TTL=126
Reply from 192.168.0.123: bytes=32 time=16ms TTL=126
Reply from 192.168.0.123: bytes=32 time=17ms TTL=126
Ping statistics for 192.168.0.123:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 16ms, Maximum = 23ms, Average = 18ms
PC>ping 192.168.0.130
Pinging 192.168.0.130 with 32 bytes of data:
Reply from 192.168.0.130: bytes=32 time=14ms TTL=126
Reply from 192.168.0.130: bytes=32 time=16ms TTL=126
Reply from 192.168.0.130: bytes=32 time=19ms TTL=126
Reply from 192.168.0.130: bytes=32 time=18ms TTL=126
Ping statistics for 192.168.0.130:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 14ms, Maximum = 19ms, Average = 16ms

PC>ping 192.168.0.140
Pinging 192.168.0.140 with 32 bytes of data:
Reply from 192.168.0.140: bytes=32 time=17ms TTL=126
Reply from 192.168.0.140: bytes=32 time=8ms TTL=126
Reply from 192.168.0.140: bytes=32 time=18ms TTL=126
Reply from 192.168.0.140: bytes=32 time=15ms TTL=126
Ping statistics for 192.168.0.140:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 8ms, Maximum = 18ms, Average = 14ms
PC>


----------------------------------------  End -------------------------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 3.2 Point-to-Point Protocol (PPP) – CHAP

CCNA LAB - 3.2 Point-to-Point Protocol (PPP) – CHAP

Download

LAB 3-2: Point-to-Point Protocol (PPP) – CHAP

You are the Network Administrator at Ranet, and have to config both router Ranet-BR1 and
Ranet-BR2 to allow the connection between Host1 and Host2 via PPP link as below:
(Use Console for config each router)

1. Enable and set IP address on Lan interface for each router to be the last assignable
IP address in its own subnet.

2. Enable and set IP address on interface s0/0/0 on Ranet-BR1 to be the first
assignable IP in network 172.20.1.232/29

3. Enable and set IP address on interface s0/0/0 on Ranet-BR2 to be the last
assignable IP in the same network. Don’t forget to set clock rate at 64 kbps due
to this is the DCE.

4. Set encapsulation on this link to be PPP and use username as the device’s hostname (no
need for password) by using CHAP as authentication protocol

If everything is done, Host1 has to be able to
connect with Host2.
----------------------- The End -------------------

Solution


Ranet-BR1 config:
(copy & paste these commands to Ranet-BR1 router)
en conf t int fa0/0
no sh
ip add 172.20.1.206 255.255.255.240
int s0/0/0
no sh
ip add 172.20.1.233 255.255.255.248
encapsulation ppp
ppp authentication chap
exit
username Ranet-BR2
exit
copy run start

Ranet-BR2 config:
(copy & paste these commands to Ranet-BR2 router)

en
conf t
int fa0/0
no sh
ip add 172.20.1.230 255.255.255.248
int s0/0/0
no sh
clock rate 64000
ip add 172.20.1.238 255.255.255.248
encapsulation ppp
ppp authentication chap
exit
username Ranet-BR1
exit
copy run start

------------------------------------ End ----------------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 3.1 Point-to-Point Protocol (PPP) – PAP

CCNA LAB - 3.1 Point-to-Point Protocol (PPP) – PAP



LAB 3-1: Point-to-Point Protocol (PPP) - PAP

You are the Network Administrator at Ranet, and have to config both router Ranet-BR1 and
Ranet-BR2 to allow the connection between Host1 and Host2 via PPP link as below:
(Use Console for config each router)

1. Enable and set IP address on Lan interface for each router to be the last assignable IP address in its own subnet.

2. Enable and set IP address on interface  s0/0/0 on Ranet-BR1 to be the first assignable IP in network 192.168.0.224/30

3. Enable and set IP address on interface s0/0/0 on Ranet-BR2 to be the last assignable IP in the same network.
Don’t forget to set clock rate at 64 kbps due to this is the DCE.

4. Set encapsulation on this link to be PPP and use username and password as:
user: ranetpapuser
pass: ranetpappass
by using PAP as authentication protocol

If everything is done, Host1 has to be able to
connect with Host2.

------------------------- The End ------------------------------

Solution

Ranet BR1 :
Ranet-BR1>en
Ranet-BR1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-BR1(config)#int fa0/0
Ranet-BR1(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-BR1(config-if)#ip add 192.168.0.62 255.255.255.224
Ranet-BR1(config-if)#int s0/0/0
Ranet-BR1(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Ranet-BR1(config-if)#ip add 192.168.0.225 255.255.255.252
Ranet-BR1(config-if)#encapsulation ppp
Ranet-BR1(config-if)#ppp authentication pap
Ranet-BR1(config-if)#ppp pap sent-username ranetpapuser password ranetpappass
Ranet-BR1(config-if)#exit
Ranet-BR1(config)#username ranetpapuser password ranetpappass
Ranet-BR1(config)#
Ranet-BR1#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-BR1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-BR1#

Ranet BR2 :
Ranet-BR2>en
Ranet-BR2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-BR2(config)#int fa0/0
Ranet-BR2(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-BR2(config-if)#ip add 192.168.0.78 255.255.255.240
Ranet-BR2(config-if)#int s0/0/0
Ranet-BR2(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Ranet-BR2(config-if)#clock rate 64000
Ranet-BR2(config-if)#ip add 192.168.0.226 255.255.255.252
Ranet-BR2(config-if)#encapsulation ppp
Ranet-BR2(config-if)#ppp authentication pap
Ranet-BR2(config-if)#ppp pap sent-username ranetpapuser password ranetpappass
Ranet-BR2(config-if)#exit
Ranet-BR2(config)#username ranetpapuser password ranetpappass
Ranet-BR2(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Ranet-BR2(config)#
Ranet-BR2#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-BR2#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-BR2#

Host1 :
(Desktop >Command Prompt)
Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.70
Pinging 192.168.0.70 with 32 bytes of data:
Reply from 192.168.0.70: bytes=32 time=13ms TTL=126
Reply from 192.168.0.70: bytes=32 time=13ms TTL=126
Reply from 192.168.0.70: bytes=32 time=11ms TTL=126
Reply from 192.168.0.70: bytes=32 time=11ms TTL=126
Ping statistics for 192.168.0.70:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 11ms, Maximum = 13ms, Average = 12ms
PC>

------------------------------ End ----------------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 2.3 Spanning Tree Protocol (STP)

CCNA LAB - 2.3 Spanning Tree Protocol (STP)

Download

LAB 2-3: Spanning Tree Protocol (STP)

You are the Network Administrator of Ranet, and
would like:
- Ranet-CoreSW to be the Root Bridge
- Port Fa0/2 of Ranet-SW2 to be in the blocking state
Please config spanning-tree parameter on both
Ranet-CoreSW and Ranet-SW2 via its console to be
as the requirement above.

Remark: Use command to set priority as lowest/highest
as possible to gain the point (%Completion) for this
question.


----------------------------  The End ---------------------------
Solution


 Ranet Core-SW:


Ranet-CoreSW>en
Ranet-CoreSW#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0002.4A0B.19DB
Cost 4
Port 26(GigabitEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0090.216A.C001
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/1 Desg FWD 4 128.25 P2p
Gi0/2 Root FWD 4 128.26 P2p
Ranet-CoreSW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-CoreSW(config)#spanning-tree vlan 1 root primary
Ranet-CoreSW(config)#
Ranet-CoreSW#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-CoreSW#sh spanning-tree
VLAN0001 2
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.216A.C001
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)
Address 0090.216A.C001
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/1 Desg FWD 4 128.25 P2p
Gi0/2 Altn BLK 4 128.26 P2p
Ranet-CoreSW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-CoreSW#

 Ranet SW3 :

Ranet-SW3>en
Ranet-SW3#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.216A.C001
Cost 4
Port 25(GigabitEthernet1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0002.4A0B.19DB
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi1/1 Root FWD 4 128.25 P2p
Fa0/1 Desg FWD 19 128.1 P2p
Ranet-SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW3(config)#spanning-tree vlan 1 priority ?
bridge priority in increments of 4096
Ranet-SW3(config)#spanning-tree vlan 1 priority 61440
Ranet-SW3(config)#
Ranet-SW3#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW3#sh spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 0090.216A.C001
Cost 4
Port 25(GigabitEthernet1/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 61441 (priority 61440 sys-id-ext 1)
Address 0002.4A0B.19DB
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi1/1 Root FWD 4 128.25 P2p
Fa0/1 Desg FWD 19 128.1 P2p
Ranet-SW3#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW3#

------------------------------ End ----------------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 2.2 Virtual Trunking Protocol (VTP)

CCNA LAB - 2.2 Virtual Trunking Protocol (VTP)

Download

LAB 2-2: Virtual Trunking Protocol (VTP) 


You are the Network Administration at Ranet, and have to config to let Ranet-SW3 seperate VLAN
according to the VLAN database from Ranet-SW1 via VTP (use Console for each switch) as below:

1. Gather information about VTP configuration in Ranet-SW1 by using "show" command in
USER mode only. (You do not have right to config anything on this switch.)

2. On switch Ranet-SW2, you have to config to let the VTP information send from Ranet-SW1
via itself to Ranet-SW3 without any change in VLAN database of Ranet-SW2

3. On switch Ranet-SW3, you have to config to receive VTP information from Ranet-SW1 and
use the received VLAN database to set members of each VLAN as:
VLAN 10: Fa0/1
VLAN 20: Fa0/2

-------------- The End --------------
Solution

Ranet SW1  :

Ranet-SW1>sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : Ranet
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x30 0x94 0xC2 0x6A 0x32 0xCF 0x82 0xFF
Configuration last modified by 0.0.0.0 at 3-1-93 00:41:24
Local updater ID is 0.0.0.0 (no valid interface found)
Ranet-SW1>sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/1, Gig1/2
10 Ranet-01 active Fa0/1
20 Ranet-02 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Ranet-SW1>

Ranet SW2:

Ranet-SW2>en
Ranet-SW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW2(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Ranet-SW2(config)#vtp domain Ranet
Changing VTP domain name from NULL to Ranet
Ranet-SW2(config)#vtp version 2
Ranet-SW2(config)#int gig1/1
Ranet-SW2(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to up
Ranet-SW2(config-if)#
Ranet-SW2#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW2#sh vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Transparent
VTP Domain Name : Ranet
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x39 0x70 0x66 0x32 0x4F 0x8F 0x84 0x33
Configuration last modified by 0.0.0.0 at 3-1-93 00:14:20
Ranet-SW2#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/2
30 Ranet-03 active Fa0/1
40 Ranet-04 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
40 enet 100040 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0 4
Ranet-SW2#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig1/1 on 802.1q trunking 1
Port Vlans allowed on trunk
Gig1/1 1-1005
Port Vlans allowed and active in management domain
Gig1/1 1,30,40
Port Vlans in spanning tree forwarding state and not pruned
Gig1/1 none
Ranet-SW2#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW2#

 Ranet SW3  :

Ranet-SW3>en
Ranet-SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW3(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Ranet-SW3(config)#vtp domain Ranet
Changing VTP domain name from NULL to Ranet
Ranet-SW3(config)#vtp mode client
Setting device to VTP CLIENT mode.
Ranet-SW3(config)#int gig1/1
Ranet-SW3(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/1, changed state to up
Ranet-SW3(config-if)#
Ranet-SW3#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW3#sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Client
VTP Domain Name : Ranet
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x30 0x94 0xC2 0x6A 0x32 0xCF 0x82 0xFF
Configuration last modified by 0.0.0.0 at 3-1-93 00:41:24
Ranet-SW3#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig1/2
10 Ranet-01 active
20 Ranet-02 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0 6
Ranet-SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW3(config)#int fa0/1
Ranet-SW3(config-if)#switchport mode access
Ranet-SW3(config-if)#switchport access vlan 10
Ranet-SW3(config-if)#int fa0/2
Ranet-SW3(config-if)#switchport mode access
Ranet-SW3(config-if)#switchport access vlan 20
Ranet-SW3(config-if)#
Ranet-SW3#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW3#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/2
10 Ranet-01 active Fa0/1
20 Ranet-02 active Fa0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
Ranet-SW3#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW3#

---------------- End  --------------------

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA LAB - 2.1 InterVLAN Routing

CCNA LAB - 2.1 InterVLAN Routing

                                                                       Download

LAB 2-1: InterVLAN Routing 

You are the Network Administrator at Ranet, and have to config both switch "Ranet-SW" and router 
"Ranet-GW" via its console terminal as below: 


1. Set Ranet-SW to seperate VLAN to be VLAN 10 and VLAN 20 and set its member as: 
VLAN 10: Fa0/1, Fa0/2 
VLAN 20: Fa0/3, Fa0/4 


2. Enable feature "Portfast" on all access ports. 

3. Set both Ranet-SW and Ranet-GW to route between VLAN 10 and VLAN 20: 

- Use interface Fa0/0.1 and Fa0/0.2 on Ranet-GW as sub-interface for VLAN 10 and 
VLAN 20 respectively.
- Please note that all hosts in each VLAN set IP Default Gateway to be the last IP of its 
own subnet. 

If everything is correct, All hosts will be able to connect with each other.

--------------  End -------------------

Solution

Ranet SW config

Ranet-SW>en
Ranet-SW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-SW(config)#vlan 10
Ranet-SW(config-vlan)#vlan 20
Ranet-SW(config-vlan)#int ran fa0/1 -2
Ranet-SW(config-if-range)#switchport mode access
Ranet-SW(config-if-range)#switchport access vlan 10
Ranet-SW(config-if-range)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast will be configured in 2 interfaces due to the range command
but will only have effect when the interfaces are in a non-trunking mode.
Ranet-SW(config-if-range)#int ran fa0/3 -4
Ranet-SW(config-if-range)#switchport mode access
Ranet-SW(config-if-range)#switchport access vlan 20
Ranet-SW(config-if-range)#spanning-tree portfast
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast will be configured in 2 interfaces due to the range command
but will only have effect when the interfaces are in a non-trunking mode.
Ranet-SW(config-if-range)#int gig1/1 2
Ranet-SW(config-if)#switchport mode trunk
Ranet-SW(config-if)#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-SW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-SW#

Ranet GW config

Ranet-GW>en
Ranet-GW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-GW(config)#int fa0/0
Ranet-GW(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-GW(config-if)#int fa0/0.1
Ranet-GW(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up
Ranet-GW(config-subif)#encapsulation dot1Q 10
Ranet-GW(config-subif)#ip add 192.168.0.142 255.255.255.240
Ranet-GW(config-subif)#int fa0/0.2
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up
Ranet-GW(config-subif)#encapsulation dot1Q 20
Ranet-GW(config-subif)#ip add 192.168.0.158 255.255.255.240
Ranet-GW(config-subif)#
%SYS-5-CONFIG_I: Configured from console by consoleRanet-GW#
Ranet-GW#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
192.168.0.0/28 is subnetted, 2 subnets
C 192.168.0.128 is directly connected, FastEthernet0/0.1
C 192.168.0.144 is directly connected, FastEthernet0/0.2

Ranet-GW#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-GW#

------------------- End --------------------

Now, all host will be able to connect with each other.

You can download this solution here.
Copyright by http://www.lecuong.info

CCNA Lab -1.3 IPv6 addressing

CCNA Lab -1.3 IPv6 addressing

Download

LAB 1-3: IPv6 Addressing 

You are the network administrator at Ranet, and 
have to config Ranet-HQ (via Console Terminal) for 
connection t use IPv6 as below: 
    1. set IPv6 address on interface Se0/0/0 to be 
       FEC0:78:0:1::2/64 
    2. set IPv6 address on interface Se0/1/0 to be 
       2001:21::2/48 
    3. Set IPv6 address on interface Fa0/0 to be the 
       gateway for Hosts in LAN as: 
          3.1 Set IPv6 Local address in EUI-64 that 
             has prefix to be FEC0:78:0:2::/64 
          3.2 Set IPv6 Global address in EUI-64 that 
             has prefix to be 2001:22::/48 

If the configuration above is done, 
    - Host1 will be able to connect with Ranet-BR. 
    - Host2 will be able to connect with ISP-Router.

Solution:

Ranet-HQ router config:

Ranet-HQ>en
Ranet-HQ#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-HQ(config)#ipv6 unicast-routing
Ranet-HQ(config)#int s0/0/0
Ranet-HQ(config-if)#ipv6 add FEC0:78:0:1::2/64
Ranet-HQ(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Ranet-HQ(config-if)#int s0/1/0
Ranet-HQ(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
Ranet-HQ(config-if)#ipv6 add 2001:21::2/48
Ranet-HQ(config-if)#int fa0/0
Ranet-HQ(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-HQ(config-if)#ipv6 add FEC0:78:0:2::/64 eui-64
Ranet-HQ(config-if)#ipv6 add 2001:22::/48 eui-64
Ranet-HQ(config-if)#
%SYS-5-CONFIG_I: Configured from console by consoleRanet-HQ#
Ranet-HQ#copy run start
Destination filename [startup-config]? 2

Building configuration...
[OK]
Ranet-HQ#

----------------- End------------------

Now, Ping from Host1 to Ranet-BR and Host2 to ISP-Router is OK.

You can download this solution here

Nice day.
Copyright by http://www.lecuong.info

CCNA Lab -1.2 IPv4 addressing

CCNA Lab -1.2 IPv4 addressing



LAB 1-2: IPv4 Addressing

You are the network administrator at Ranet, and
have to config the router “Ranet-BR” via Console
Terminal as below:

1. enable interface Se0/0/0 and set IP address
/Subnet Mask that can connect with router
“Ranter-HQ” at 192.168.0.254/30

2. enable interface Se0/1/0 and set IP address
/Subnet Mask that can connect with router
“Ranter-BR1-1″ at 192.168.0.30/30

3. The Headquater has given IP address
range 192.168.0.0/27 for the network
behind our router, then you have to:

3.1 enable interface Fa0/0 and set
IP address/Subnet Mask to be the
last IP of this subnet that has
10 host as members.
    3.2 enable interface Fa0/1 and set
IP address/Subnet Mask to be the
last IP of this subnet that has
5 host as members.

   3.3 Set IP address/Subnet Mark of Host1
in each LAN to be the first IP of its
own subnet, and set IP of gateway also

If the configuration is correct, Host1 in each subnet
must be able to ping to Ranet Server at 192.168.0.33

============= The End ===================

Solution:


192.168.0.0/27
*10 host:
int fa0/0 : 192.168.0.0/28  --- use last ip
*5 host:
int fa0/1 : 192.168.0.16/29 -- use last ip
------------------------------
int se0/0/0 : 192.168.0.254/30 -- use first ip
int se0/1/0: 192.168.0.30/30 -- use first ip

Ranet-BR router config:
Ranet-BR>en
Ranet-BR#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Ranet-BR(config)#int s0/0/0
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Ranet-BR(config-if)#ip add 192.168.0.253 255.255.255.252
Ranet-BR(config-if)#int s0/1/0
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
Ranet-BR(config-if)#ip add 192.168.0.29 255.255.255.252
Ranet-BR(config-if)#int fa0/0
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Ranet-BR(config-if)#ip add 192.168.0.14 255.255.255.240
Ranet-BR(config-if)#int fa0/1
Ranet-BR(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up 2

Ranet-BR(config-if)#ip add 192.168.0.22 255.255.255.248
Ranet-BR(config-if)#
%SYS-5-CONFIG_I: Configured from console by console
Ranet-BR#
Ranet-BR#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Ranet-BR#ping 192.168.0.254
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.254, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/6 ms
Ranet-BR#ping 192.168.0.30
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.30, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 3/3/5 ms

 Host1 in LAN1 :
IP Configuration

IP Address: 192.168.0.1
Subnet Mask: 255.255.255.240
Default Gateway: 192.168.0.14

click Desktop >  Command Prompt

Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.33
Pinging 192.168.0.33 with 32 bytes of data:
Reply from 192.168.0.33: bytes=32 time=12ms TTL=254
Reply from 192.168.0.33: bytes=32 time=13ms TTL=254 3
Reply from 192.168.0.33: bytes=32 time=7ms TTL=254
Reply from 192.168.0.33: bytes=32 time=9ms TTL=254
Ping statistics for 192.168.0.33:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 13ms, Average = 10ms
PC>

Host1 in LAN2 :
IP Configuration

IP Address: 192.168.0.17
Subnet Mask: 255.255.255.248
Default Gateway: 192.168.0.22

click Desktop >  Command Prompt

Packet Tracer PC Command Line 1.0
PC>ping 192.168.0.33
Pinging 192.168.0.33 with 32 bytes of data:
Reply from 192.168.0.33: bytes=32 time=16ms TTL=254
Reply from 192.168.0.33: bytes=32 time=8ms TTL=254
Reply from 192.168.0.33: bytes=32 time=11ms TTL=254
Reply from 192.168.0.33: bytes=32 time=7ms TTL=254
Ping statistics for 192.168.0.33:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 16ms, Average = 10ms
PC>

download

Good luck.
Copyright by http://www.lecuong.info

CCNA Lab – 1.1- Basic Config

CCNA Lab – 1.1- Basic Config

                                                  


                                                 

 

LAB 1-1: Basic Configuration You are the Network Administrator at Ranet. 
We have just installed new router to be our gateway. 
You have to do the basic configuration via Console Terminal 
(PC-PT) as below: 
1. Set hostname to be "RanetA" 
2. Set enable secret to be "ranetenablepass" 
3. Set console password to be "ranetconsolepass" 
4. Set telnet password to be "ranettelnetpass" 
5. Set IP address of interface Fastethernet 0/0 to 
be the first address of network 10.0.0.0/30 
6. Set IP address of interface Fastethernet 0/1 to 
be 192.168.0.254/26 
7. Both interface Fastethernet 0/0 and 0/1 must 
be enable. After these configuration, you should be able to 
1. Ping to 10.0.0.2 from Ranet A 
2. Telnet from Ranet PC to Ranet A by using IP 
address 192.168.0.254 and telnet password 
as above.



=========== The End ===================Solution:  


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname RanetA
RanetA(config)#enable secret ranetenablepass
RanetA(config)#line con 0
RanetA(config-line)#password ranetconsolepass
RanetA(config-line)#login
RanetA(config-line)#line vty 0 4
RanetA(config-line)#password ranettelnetpass
RanetA(config-line)#login
RanetA(config-line)#int fa0/0
RanetA(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
RanetA(config-if)#ip add 10.0.0.1 255.255.255.252
RanetA(config-if)#int fa0/1
RanetA(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
RanetA(config-if)#ip add 192.168.0.254 255.255.255.192
RanetA(config-if)#
RanetA#
%SYS-5-CONFIG_I: Configured from console by console
RanetA#copy run start
Building configuration...
RT-CNA-003-L11
[OK]
RanetA#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 2/3/5 ms

RanetA#
Telnet from Ranet PC to Ranet A router:
(Click to Ranet PC  ---> Desktop Tab -->Command Prompt)

Packet Tracer PC Command Line 1.0
PC>telnet 192.168.0.254
Trying 192.168.0.254 ...Open

User Access Verification

Password: ranettelnetpass

RanetA>

 

download




 

 
Copyright by http://www.lecuong.info