GNS3 / iouyap

Bridge IOU to UDP, TAP and Ethernet.
GNU General Public License v3.0
23 stars 10 forks source link

IOU to Dynamips causes IOUYAP drop out #2

Closed cowleyl closed 10 years ago

cowleyl commented 10 years ago

crash on adding additional connection at run time:

started with: IOU1 - IOU2 (all good) add: IOU1 - IOU2 \ / Dynamips (fall over)

Dump as follows:

=> Server notification: node IOU1: iouyap has stopped running iouyap.c:open_tunnel_udp:689: DYNAMIPS 30001 : 192.168.56.101 : 30002 iouyap.c:main:1232: Received signal 1 iouyap.c:main:1250: Reloading configuration because of SIGHUP iouyap.c:open_tunnel_udp:689: DYNAMIPS 30001 : 192.168.56.101 : 30002 iouyap.c:open_tunnel_udp:689: DYNAMIPS 30003 : 10.255.255.1 : 10001 iouyap.c:open_tunnel_udp:744: Could not connect

Server notification: node IOU2: iouyap has stopped running iouyap.c:open_tunnel_udp:689: DYNAMIPS 30002 : 192.168.56.101 : 30001 iouyap.c:main:1232: Received signal 1 iouyap.c:main:1250: Reloading configuration because of SIGHUP iouyap.c:open_tunnel_udp:689: DYNAMIPS 30002 : 192.168.56.101 : 30001 iouyap.c:open_tunnel_udp:689: DYNAMIPS 30004 : 10.255.255.1 : 10002 iouyap.c:open_tunnel_udp:744: Could not connect


Different message same problem if I start up with

IOU1 - IOU2 \ / Dynamips

Dump

=> Server notification: node IOU1: iouyap has stopped running iouyap.c:open_tunnel_udp:689: DYNAMIPS 30001 : 10.255.255.1 : 10001 iouyap.c:open_tunnel_udp:744: Could not connect

Server notification: node IOU2: iouyap has stopped running iouyap.c:open_tunnel_udp:689: DYNAMIPS 30002 : 10.255.255.1 : 10002 iouyap.c:open_tunnel_udp:744: Could not connect

grossmj commented 10 years ago

Well the root reason is that 192.168.56.101 (the VM) cannot communicate with10.255.255.1 on your host. Change the host binding setting for the local server to something like 192.168.56.1 (in the GNS3 preferences).

grossmj commented 10 years ago

An error message will be provided by GNS3 for this situation and iouyap will not shutdown anymore.