eNSP和GNS3进行桥接

eNSP和GNS3进行桥接

通过这样的方式实现不同厂商之间不同的设备进行互联使用。
eNSP和GNS3进行桥接
eNSP和GNS3进行桥接
AR1配置参数:

[AR1]interface Vlanif 1
[AR1-Vlanif1]display this
[V200R003C00]

interface Vlanif1
ip address 192.168.1.1 255.255.255.0

return

[AR1]interface Ethernet4/0/0
[AR1-Ethernet4/0/0]display this
[V200R003C00]

interface Ethernet4/0/0
port link-type trunk
port trunk allow-pass vlan 2 to 4094

return
[AR1-Ethernet4/0/0]

eNSP和GNS3进行桥接

GNS3 配置
eNSP和GNS3进行桥接
eNSP和GNS3进行桥接
R1相关配置参数

R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.1.2 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#do ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/15/24ms
R1(config-if)#
eNSP和GNS3进行桥接
ping 192.168.1.2
PING 192.168.1.2: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=255 time=1 ms
Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=255 time=20 ms

— 192.168.1.2 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/16/30 ms

桥接完成!

设置用户,使在GNS3的路由器上使用telent远程登录到eNSP的路由器上。

eNSP AR1设置

[AR1]aaa
[AR1-aaa]local-user huawei password cipher huawei privilege level 3
Info: Add a new user.
[AR1-aaa]local-user huawei service-type telnet
[AR1-aaa]q
[AR1]user-interface vty 0 4
[AR1-ui-vty0-4]authentication-mode aaa
[AR1-ui-vty0-4]

GNS3 R1 telent 至eNSP AR1
eNSP和GNS3进行桥接
????设置完成
eNSP和GNS3进行桥接
eNSP和GNS3进行桥接