Interconnection between eNSP and GNS3 Highlighted

193 0 4 0

Hi everyone,

I will share with you how to interconnect eNSP with GNS3.

The principle of the interworking between the eNSP and GNS3 is to use the cloud (local network adapter 127.0.0.1) to set up a UDP tunnel between the two simulators. Interconnection requires only two steps:


Step 1: On the GNS3 side:

First, create a cloud, double-click the cloud, and configure the local and remote port numbers on the UDP tunnels tab page. (The cloud must be configured before the connection and cannot be configured after the connection.) In the following figure, port 30001 is used at the local end and port 30002 is used at the remote end. After configuring the UDP port, click “Add” to save the configuration. The GNS3 cloud configuration is complete.


b14e42641cdc09064289_894x621.png@900-0-9


Note that no matter whether the Cisco or Juniper OS runs on the local or VM, the cloud interface must use the local server.


ensp


Select the UDP tunnel for the cloud interface and do not select Ethernet.


06ed42641cf335042e5e_579x248.png@900-0-9


So far, all the operations on the GNS3 are complete.


Step 2: On the eNSP side:

 Compared with GNS3, operations on the eNSP side are slightly more complex.

First, a cloud is also created on the eNSP.  The port number is opposite to the GNS3 configuration (local 30002 and remote 30001). Set the peer IP address to 127.0.0.1, select “public UDP Port”, set the port type to Ethernet, and click Add to confirm the configuration.


1150b2641ccb2e408a95_1498x815.png@900-0-


In addition, another UDP binding needs to be established due to eNSP restrictions. On the cloud configuration page, deselect “public UDP Port” and click “Add” to create an internal connection channel.


bcb962641ccea0dc077f_918x667.png@900-0-9


After the two UDP entries are configured, configure the “port map settings” at the bottom of the window. Select 1 and 2 for the “Local Port Num” and “Remote Port Num”, select “Two-way” channel, and click “Add”.

bcb962641ccea0dc077f_918x667.png@900-0-9

After the configuration is complete, close the cloud configuration window and connect the cloud and devices. The eNSP configuration is complete.

89d2d2641cd28cb53401_928x669.png@900-0-9

Test results:

bc0592641d0ac573386c_580x297.png@900-0-9

 

cd4292641d0b0b4579c6_780x701.png@900-0-9

 

Let me know if my solution works out for you.

  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login