Generate HTTP traffic in GNS3 without Traffic Generator

Hi all,
I am going to share and explain how to generate HTTP traffic using gns3 with a very easy method.
I have build a simple lab in GNS3 for achieving this goal. I just use cloud and a web browser for generation of HTTP traffic. For detail you can visit this lab Generate HTTP traffic in GNS3 without Traffic Generator.

Hope you will find this useful.
thank you.

EIGRP Route summarization & Stub Sim on GNS3

EIGRP Stub CCNP Route Sim


Question
By increasing the first distant office, PNG manufactures has extended their business. They configured the remote office router (R3) from which they can reach all corporate subnets. In order to raise network stableness and lower the memory usage and broadband utilization to R3, RB manufactures makes use of route summarization together with the EIGRP Stub Routing feature. Another network engineer is responsible for the implementing of this solution. However, in the process of configuring EIGRP stub routing connectivity with the remote network devices off of R3 has been missing.

Presently PNG has configured EIGRP on all routers in the network R2, R3, and R4. Your duty is to find and solve the connectivity failure problem with the remote office router R3. You should then configure route summarization only to the distant office router R3 to complete the task after the problem has been solved.
The success of pings from R4 to the R3 LAN interface proves that the fault has been corrected and the R3 IP routing table only contains two 10.0.0.0 subnets.
GNS3 Configuration:
Create the above lab with following configurations in GNS3 and then practice this SIm with Real Exam configuration for your Route Exam.

R3 Configuration: R3(config)# interface Loopback1 R3(config-if)#ip address 172.16.1.1 255.255.255.0 R3(config-if)#interface Serial1/0 R3(config-if)#ip address 10.2.3.3 255.255.255.0 R3(config-if)# No shut
R3(config-if)#end
R3(config)#router eigrp 123 R3(config-rtr)#network 10.2.3.0 0.0.0.255
R3(config-rtr)#network 172.16.1.0 0.0.0.255
R3(config-rtr)#no auto-summary
R3(config-rtr)#eigrp stub receive-only
R4 Configuration:  R4(config)# interface Serial1/0 R4(config-if)#ip address 10.2.3.4 255.255.255.0
R4(config-if)# No shut
R4(config-if)#interface FastEthernet2/0
R4(config-if)#ip address 10.2.2.4 255.255.255.0
R4(config-if)# No shut
R4(config-if)#end
R4(config -rtr)#router eigrp 123
R4(config -rtr)#network 10.2.2.0 0.0.0.255
R4(config -rtr)#network 10.2.3.0 0.0.0.255
R4(config -rtr)#no auto-summary
R2 Configuration:
R2(config)#interface Loopback2 
R2(config-if)#ip address 10.2.4.2 255.255.255.0 
R2(config-if)# interface Loopback3 
R2(config-if)#ip address 10.2.5.2 255.255.255.0 
R2(config-if)#interface Loopback5 
R2(config-if)#ip address 10.2.6.2 255.255.255.0 
R2(config-if)#interface Loopback6 
R2(config-if)#ip address 10.2.7.2 255.255.255.0 
R2(config-if)#interface Loopback7 
R2(config-if)#ip address 10.2.8.2 255.255.255.0 
R2(config-if)#interface Loopback8 
R2(config-if)#ip address 10.2.9.2 255.255.255.0 
R2(config-if)#interface FastEthernet1/0 
R2(config-if)#ip address 10.2.2.2 255.255.255.0 
R2(config-if)# No shut R2(config-if)# end 
R2(config)# router eigrp 123 
R2(config -rtr)#network 10.2.2.0 0.0.0.255 
R2(config -rtr)#network 10.2.4.0 0.0.0.255 
R2(config -rtr)#network 10.2.5.0 0.0.0.255 
R2(config -rtr)#network 10.2.6.0 0.0.0.255 
R2(config -rtr)#network 10.2.7.0 0.0.0.255 
R2(config -rtr)#network 10.2.8.0 0.0.0.255 
R2(config -rtr)#network 10.2.9.0 0.0.0.255 
R2(config -rtr)#no auto-summary

Real exam Configuration:
Step-1:
R4 & R3 are not communicating because of 
eigrp stub receive-only command in EIGRP Process 123. Due to this command router R3 is not sharing any of its routes with any other router in that EIGRP 123.
To make the communication possible we need to replace this with eigrp stub command. R3#configure terminal
R3(config)#router eigrp 123
R3(config-router)#no eigrp stub receive-only
R3(config-router)#eigrp stubR3(config-router)#end

Step-2: 
You need to configure route summarization on R4 so that R3 has only 2 subnets of 10.0.0.0 network. Use the show ip route command on R3 to view its routing table



For R3 only have 2 subnets we need Summarization at the R4's serial 1/0 interface which is connected with R3.
To fulfill this requirement we configure R4 as follow, R4>enable
R4#configure terminal
R4(config)#interface s1/0
R4(config-if)#ip summary-address eigrp 123 10.2.0.0 255.255.0.0

Testing:

Now show ip route command to verify the effect, the output is shown below:

In your real exam IPs might be different so you need configure R4 according to requirements.

CCNP Route Labs

CCNP Exam Tips:

CCNP Exam Tips:

There are few things you should keep in mind before taking route exam.
·         There are 50 questions. You have 90 minutes to answer them but if your native language is not English, Cisco allows you a 30-minute exam time extension. You need to get 790 out of 1000 points to pass route exam.
·         Before exam review all latest route exam topics, IS-IS have been removed from route exam.

·         Many people want to know that is “Copy running-config startup-config” working in real exam? Answer is that in many sim “Copy running-config startup-config” is not working and giving you message that “incomplete command” so don’t wary you can go to next question once you finished. Exam simulator automatically saves your configurations. But in some simulation you need to save configurations by using “Copy running-config startup-config” and this command works. Normally this type of lab has following figure. (Figure with man J )


For save side you can try “Copy running-config startup-config” on every sim.
·         Time management is also very important in exam, they are 3-4 sim in every exam, therefore manage you time.
·         Prepare well before exam, clear important concepts and if you are preparing your exam from some dumps for final preparation then learn them by concepts not by options ABCD because in real exam there are bullets and no options as ABC.
·         Also in lab-sim sometimes IPs and network mask are changed therefore you need to relay on your concepts.
      CCNP Route Labs

IPv6 OSPF Virtual Link Sim configuration on GNS3:

IPv6 OSPF Virtual Link CCNP Route Sim
Question
Route.com is a small export company that has an existing enterprise network that is running IPv6 OSPFv3 for process 1. Currently OSPF is configured on all routers. However, R4′s loopback address (FEC0:44:4) cannot be seen in R1′s IPv6 routing table. You are tasked with identifying the cause of this fault and implementing the needed corrective actions that uses OSPF features and does no change the current area assignments. You will know that you have corrected the fault when R4′s loopback address (FEC0:44:4) can be seen in the routing table of R1.








Note: To gain the maximum number of points you must remove all incorrect or unneeded configuration statements related to this issue.
Step for Configuration:

This lab is for testing your OSPF virtual-link concepts. And need to configure all routers with correct virtual-link commands.

1. you need to short out the wrong virtual-link configurations that you will find on R3 & R4 i.e.

area 54 virtual-link 4.4.4.4
area 54 virtual-link 3.3.3.3
First remove these command and add the correct one.
since i have simulate this lab in GNS3 for exam's practice that way first i have configured lab with wrong configuration as you will find in real exam in GSN3 configuration section and in Real exam section i correct all incorrect configurations and add with right configuration.

GNS3 configuration:
Create this lab in GNS3 with following configuration, after these configurations you can start real lab configuration as you need to complete in exam.

R1 Configuration:
R1(config)#ipv6 unicast-routing
R1(config)#interface Loopback1
R1(config-if)# ipv6 address FEC0:11::1/64
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#EXIT
R1(config-if)#interface FastEthernet1/0
R1(config-if)#ipv6 address FEC0:1::1/64
R1(config-if)#no shut
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#exit
R1(config)#ipv6 router ospf 1
R1(config-rtr)#router-id 1.1.1.1
R2 Configuration:
R2(config)#ipv6 unicast-routing
R2(config)#int loopback 1
R2(config-if)#ipv6 address fec0:22::2/64
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#EXIT
R2(config-if)#interface FastEthernet1/0
R2(config-if)#ipv6 address FEC0:1::2/64
R2(config-if)#no shut
R2(config-if)#ipv6 ospf 1 area 0
R2(config-if)#exit
R2(config-if)#interface serial2/0
R2(config-if)#ipv6 address FEC0:2::1/64
R2(config-if)#no shut
R2(config-if)#ipv6 ospf 1 area 11
R2(config-if)#EXIT
R2(config)#ipv6 router ospf 1
R2(config-rtr)#router-id 2.2.2.2
R3 Configuration:
R3(config)#ipv6 unicast-routing
R3(config)#int loopback 1
R3(config-if)#ipv6 address fec0:33::3/64
R3(config-if)#ipv6 ospf 1 area 11
R3(config-if)#EXIT
R3(config-if)#interface FastEthernet1/0
R3(config-if)#ipv6 address FEC0:3::1/64
R3(config-if)#no shut
R3(config-if)#ipv6 ospf 1 area 54
R3(config-if)#exit
R3(config-if)#interface serial2/0
R3(config-if)#ipv6 address FEC0:2::2/64
R3(config-if)#no shut
R3(config-if)#ipv6 ospf 1 area 11
R3(config-if)#EXIT
R3(config)#ipv6 router ospf 1
R3(config-rtr)#router-id 3.3.3.3

Follow virtual-link configuration are wrong i have added these because in real exam you will find such wrong configuration and you need to removes these and need to configure R2 & R3 for virtual-link. Also in exam configuration i shall removes this area 54 virtual-link 4.4.4.4 command from R3 so that all routers can communicate with each other.
R3(config-rtr)# area 54 virtual-link 4.4.4.4
R4 Configuration:
R4(config)#ipv6 unicast-routing
R4(config)#int loopback 1
R4(config-if)#ipv6 address fec0:44::4/64
R4(config-if)#ipv6 ospf 1 area 54
R4(config-if)#EXIT
R4(config-if)#interface FastEthernet1/0
R4(config-if)#ipv6 address FEC0:3::2/64
R4(config-if)#no shut
R4(config-if)#ipv6 ospf 1 area 54
R4(config-if)#exit
R4(config)#ipv6 router ospf 1
R4(config-rtr)#router-id 4.4.4.4

Configuration required in Exam:


In this lab you need to configure virtual link for area 11 so that end to end communication can be possible.
Step-1:
Show Run on R1, R2 ans R3, and check the virtual links commands, if you found any of router please remove these first. Also note the router-ids and ospf process ID. In real exam IP addresses, OSPF process ids and area ids may be change, so you need to figure out the exact values by using show run.
For example in R3 configuration you found area 54 virtual-link 4.4.4.4 which is unnecessary. 

So please remove this.  You need to make the virtual link on R2 & R3. We create virtual links when some OSPF area is not physically connected with backbone area (Area 0). The area through which you configure the virtual link is known as a transit area. Routers R2 and R3 are belonging to transit area that way need to add commands on these routers.

R4#configure terminal
R4(config)#ipv6 router ospf 1
R4(config-rtr)#no area 54 virtual-link 3.3.3.3

Step-2:
Complete the virtual links configurations on R2 & R3.

R3>enable
R3#configure terminal
R3(config)#ipv6 router ospf 1
R3(config-rtr)#no area 54 virtual-link 4.4.4.4 
R3(config-rtr)#area 11 virtual-link 2.2.2.2
R2>enable
R2#configure terminal
R2(config)#ipv6 router ospf 1
R2(config-rtr)#area 11 virtual-link 3.3.3.3
R4>enableR4#show running-config

You will see a wrongly configured virtual-link command. To get full mark we have to disable this command:
Verification:
After configuration use command “Show IPv6 route” on R1, if you found the R4 route in routing table its mean you have done this lab successfully. And ping from R1 to R4 should be successful.



Important Tip: Please don’t forget to use IPV6 in every command e.g.
Show IPV6 route, IPv6 router ospf 54 etc.
CCNP Route Labs

Policy Based Routing Sim configuration on GNS3 | CCNP route:

Policy Based Routing CCNP Route Sim 
Question:
Company Route.com has two links which can take it to the Internet. The company policy demands that you use web traffic to be forwarded only to Frame Relay link if available and other traffic can go through any links. No static or default routing is allowed.
Solution:
I have created above lab in GNS3. BorderRouter and R1 are configured with EIGRP 11. I have used a cloud for generating HTTP Traffic. I connect the e3/0 interface with PC’s NIC using cloud and assigned the following IP.

And also add a manual route for 13.13.13.2 so that my PC can access internal R1 Router.
For this go to Run\cmd (make sure you have admin rights) and use the following command.
Route add 13.13.13.2 mask 255.255.255.255 14.14.14.1 –p


You can use “Route print” command to verify. In testing part I will show you how I generate HTTP traffic from using GNS3 cloud.
GNS3 Configurations:
To made communication between R1 and Borderrouter I use the EIGRP, in real exam lab you don’t have any concerned with routing protocol for this Sim you just need to create ACL and Route map in real exam.
BorderRouter Configurations:
R3#config t
R3(config)#hostname Borderrouter
Borderrouter(config)#interface e3/0
Borderrouter(config-if)# ip address 14.14.14.1 255.255.255.0
Borderrouter(config-if)#no shut
Borderrouter(config)#interface s1/0
Borderrouter(config-if)# ip address 13.13.13.1 255.255.255.0
Borderrouter(config-if)#no shut
Borderrouter(config)#router eigrp 11
Borderrouter(config-router)#network 13.13.13.0 0.0.0.255
Borderrouter(config-router)#network 14.14.14.0 0.0.0.255
Borderrouter(config)#ip default-gateway 13.13.13.2

R1 Configurations:
R1#config t
R1(config)#interface s1/0
R1(config-if)# ip address 13.13.13.2 255.255.255.0
R1(config-if)#no shut
R1(config)#router eigrp 11
R1(config-router)# network 13.13.13.0 0.0.0.255

Configurations that you needs in real Exam:

First you need to create an access-list, which allows all HTTP traffic.

BorderRouter#access-list 111 permit tcp any any eq www

Secondly you need to create route-map to send the traffic through Frame-relay interface.

BorderRouter(config)#route-map blockftp permit 10
BorderRouter(config-route-map)#match ip address 111
BorderRouter(config-route-map)#set ip next-hop 13.13.13.2
BorderRouter(config-route-map)#exit
BorderRouter(config)#route-map blockftp permit 20
(Notice: blockftp is just name of route-map, u can use any name. The route-map blockftp permit 20 line allows other traffic than HTTP to be routed. Otherwise, other traffic will be dropped)
3) Apply the route-map on the interface to the server in the EIGRP Network:
BorderRouter(config-route-map)#exit
BorderRouter(config)#int e3/0
BorderRouter(config-if)#ip policy route-map blockftp
BorderRouter(config-if)#exit


Testing and Verification:

In Real Examthere is a “Host for Testing”, click on that. Then click on this “Generate HTTP traffic” button to generate some packets for HTTP traffic. Jump back to the BorderRouter and type the command “show route-map”.
BorderRouter#show route-map

You will see that 9 packets matches which verify that your configurations is correct.

Testing in GNS3:
To test your configurations in GNS3 you just type “http://13.13.13.2” in web browser. Result will be “cannot fine this page” but this will pass some http packets to frame-relay ISP. 



Now type the command “show route-map”.
BorderRouter#show route-map

You will see packets matches.




EIGRP OSPF Redistribution Sim configuration On GNS3:

EIGRP OSPF Redistribution CCNP Route Sim 

In following topology there are four router, R1, R2 and R3 are running in EIGRP AS 100. While R2’s s1/2 is running in OSPF area 24, R3’s f2/0 interface is running in OSPF area 34. In this Sim you need to redistribute OSPF into EIGRP so that they can communicate with each other. At the end of your configuration ping from R1 to Test IP 172.16.100.1 must be successful.
You can practice this simulation in GNS3 very easily; first you need to create above topology in GNS3 with following configurations. I have run EIGRP on R1, R2 and R3 and OSPF on R2 and R3 according to above diagram. In real Exam you don't have any concerned regarding routing protocols configuration you just need to redistribute OSPF and EIGPR

GNS3 Configuration:

R1 Configuration:

R1(config)#int s1/0
R1 (config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config)#exit
R1(config)#router eigrp 100
R1(config)#network 192.168.1.0 0.0.0.255
R2 Configuration:
Router(config)#hostname R2
R2(config)#interface s1/0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)#interface s1/1
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#interface s1/2
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#ip ospf 1 area 24
R2(config-if)#no shut
R2(config)#router EIGRP 100
R2(config-router)#network 192.168.2.0
R2(config-router)#network 192.168.1.0
R3 Configuration:
Router(config)#hostname R3
R3(config)#interface s1/0
R3(config-if)#ip address 192.168.2.2 255.255.255.0
R3(config-if)#interface f2/0
R3(config-if)#ip address 192.168.4.1 255.255.255.0
R3(config-if)#ip ospf 1 area 34
R3(config)#router EIGRP 100
R3(config-router)#network 192.168.2.0
R4 Configuration:
Router(config)#hostname R4
R4(config)#interface s1/0
R4(config-if)#ip address 192.168.3.2 255.255.255.0
R4(config-if)#ip ospf 1 area 24
R4(config-if)#interface f2/0
R4(config-if)#ip address 192.168.4.2 255.255.255.0
R4(config-if)#ip ospf 1 area 34
After complete the above configuration you are at same stage where you need to configure this lab in exam.
We have done so much as given in exam and from now on word you have to handle this complete the configuration.

Step for configuration in Exam:First we need 5 parameters of the s1/2 interface i.e. (Bandwidth, Delay, Reliability, Load, MTU) for this use command.
R2#config terminal
R2(config)# router ospf 1
R2(config-router)# redistribute eigrp 100 metric-type 1 subnets
R2(config-router)#exit
R2(config-router)#router eigrp 100
R2(config-router)#redistribute ospf 1 metric 1544 2000 255 1 1500


For R3 we use the show interface fa2/0 to get these 5 parameters.
R3#show interface f2/0


R3#config terminal
R3(config)#router ospf 1
R3(config-router)#redistribute eigrp 100 metric-type 1 subnets
R3(config)#exit
R3(config-router)#router eigrp 100
R3(config-router)#redistribute ospf 1 metric 100000 100 255 1 1500



Verification & testing:
Show ip route on R1: You will see the all other routes if you done the correct configuration also ping from R1 to 172.16.100.1 should be successful.


more CCNP Route Labs

OSPF Stub Area Sim configuration on GNS3:

Question
A company has three  routers Protland, Amsni and Lynaic. OSPF is configured on routers Amani and Lynaic. Amani’s S0/0 interface and Lynaic’s S0/1 interface are in Area 0. Lynaic’s Loopback0 interface is in Area 2. Details of configuration are as follow:
Portland’s S1/0 interface in Area 1
Amani’s S1/0 interface in Area 1
Use the appropriate mask such that ONLY Portland’s S0/0 and Amnani’s S0/1 could be in Area 1.
Area 1 should not receive any external or inter-area routes (except the default route).


GNS3 Configurations:
First you need to create this topology in GNS3 as show above with following configurations.
Portland Router:
R1#config t
R1 (config)# hostname Portland
Portland (config)# enable secret cisco
Portland (config)#interface Serial1/0
Portland (config-if)# ip address 192.168.4.5 255.255.255.252
Portland (config-if)#no shutdown
Anami Router:
R2#config t
R2 (config)# hostname Anami
Anami (config)# enable secret cisco
Anami (config)#interface Serial1/0
Anami (config-if)# ip address 192.168.4.6 255.255.255.252
Anami (config-if)# no shutdown
Anami (config)#interface Serial1/1
Anami (config-if)# ip address 192.168.72.6 255.255.255.252
Anami (config-if)#no shutdown
Anami (config)#exit
Anami (config)#router ospf 1
Anami (config-router)# network 192.168.4.4 0.0.0.3 area 1
Anami (config-router)# network 192.168.72.4 0.0.0.3 area 0

Lynaic Router:
R3#config t
R3 (config)# hostname Lynaic
Lynaic (config)# enable secret cisco
Lynaic (config)#interface loopback 1
Lynaic (config-if)# ip address 239.239.239.239 255.255.255.255
Lynaic (config-if)# ex
Lynaic (config)#interface Serial1/0
Lynaic (config-if)# ip address 192.168.72.5 255.255.255.252
Lynaic (config-if)#no shutdown
Lynaic (config)#exit
Lynaic (config)#router ospf 1
Lynaic (config-router)# network 239.239.239.239 0.0.0.0 area 2
Lynaic (config-router)# network 192.168.72.4 0.0.0.3 area 0

Configuratio that you need  in real exam:
From above configuration you have notice that Portland router and Anami’s S1/0 interface is not running OSPF that way they are not able to communicate with other. In order to complete the configuration you need to run OSPF on these. For appropriate mask for 192.168.4.5\30 you need to find out the network ID for this subnet.
1
2
3
4
5
6
7
8
128
64
32
16
8
4
2
0
As we know that \30 is 6th bit of 4th octet that way from above table these subnets are divided into four number differences as follow.





Subet IDs for \30
Broadcast Address
0
3
4
7
8
11
12
15
And so on…….
……..

And from above we can see that 192.168.4.5 lie in 4-7 range therefore
Subnet ID=192.168.4.4

Portland#configure terminal
Portland(config)#router ospf 1
Portland(config-router)#network 192.168.4.4 0.0.0.3 area 1

“Area 1 should not receive any external or inter-area routes” configure area 1 as totally stubby area.

Portland(config-router)#area 1 stub
Portland(config-router)#end
Portland#copy running-config startup-config

Amani#configure terminal
Amani(config)#router ospf 1
Amani(config-router)#network 192.168.4.4 0.0.0.3 area 1
Amani(config-router)#area 1 stub no-summary

Testing:

Ping from Lynaic to Portland should be successful and Lynaic have all route in its routing table.
more CCNP Route Labs
UA-23728446-1