Anda di halaman 1dari 4

Inteerconneccting Hu

uawei eN
NSP and GNS3.
URCE:http:///l3switch.bloogspot.com.ees/2014/04/innterconnectinng-huawei-eensp-and-gnss3.html
SOU
My OSO is Windoows 7 PRO 64bit.
eNSP P - V100R0002C00B330.
GSNN3 - 0.8.6. I assume it will
w work wiith the new GNS3 but haven't
h testeed it since there
t is
no sttable versionn yet.

Afterr installationn let's create simple toppology in booth emulatoors.

S3:
GNS

Noticce the cloudd configurattion:

3
30100

3
30001 LOCAL REMOTE
PORT PORT
And simple configuration on
o R1:

interfface Loopbacck0
ip adddress 1.1.1.1 255.255.2555.255
!
interfface FastEthernet0/0
ip adddress 10.0.00.1 255.255.2255.0
no shhutdown
!
routeer ospf 1
work 1.1.1.1 00.0.0.0 area 0
netw
work 10.0.0.1 0.0.0.0 areaa 0
netw

eNSP
P:

Clouud configuraation on eNS


SP side is a bit tricky. Firstly,
F creaate two UDP
P ports - on
ne private
and one
o public ((with remote port on thhe GNS3 sidde), then maap these twoo ports in seettings
beloww:

P Do not
Private Port n check thhe box Pubblic UDP Poort
o T The UDP porrt chosen willl be random
Public Port Do check
c the boox Public UDP
U Port
o C
Choose the listening port 30001 and thhe peer port 30100

Atth
hebottomo
ofthepage:
PortTypee:Ethernet
LocalPorrtNum:1
RemoteP PortNum:2

hebottomrightcornerPortMaapping:
Atth
No:1Lo
ocalPortNum:1Remo
otePortNum:2PortType:Ethernett
No:2Lo otePortNum:1PortType:Ethernett
ocalPortNum:2Remo

AR1hassimilarconfiguration:

interfa
face GigabitEtthernet0/0/0
ip adddress 10.0.0.22 255.255.2555.0
#
interfa
face LoopBackk0
ip adddress 2.2.2.2 255.255.255.2255
#
ospf 1
area 0.0.0.0
netw
work 2.2.2.2 0.0.0.0
netw
work 10.0.0.2 0.0.0.0
0

Andthat'sit:

R1#show ip route
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/1] via 10.0.0.2, 00:00:36, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0

R1#ping 2.2.2.2 source loopback 0


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/14/24 ms

[AR1]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 6 Routes : 6

Destination/Mask Proto Pre Cost Flags NextHop Interface

1.1.1.1/32 OSPF 10 2 D 10.0.0.1 GigabitEthernet0/0/0


2.2.2.2/32 Direct 0 0 D 127.0.0.1 LoopBack0
10.0.0.0/24 Direct 0 0 D 10.0.0.2 GigabitEthernet0/0/0
10.0.0.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0

[AR1]ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=70 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=50 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=10 ms

--- 1.1.1.1 ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/38/70 ms

[AR1]ping a 2.2.2.2 1.1.1.1

[AR1]ping a 2.2.2.2 c 4 s 1472 1.1.1.1

Anda mungkin juga menyukai