GNS3
http://forum.gns3.net/

VirtualBox VMs connecting to IOUs
http://forum.gns3.net/topic12152.html
Page 1 of 1

Author:  zachlds [ Tue Sep 23, 2014 9:03 pm ]
Post subject:  VirtualBox VMs connecting to IOUs

I get this error "Server error [-3200] from 192.168.111.128:8000: Switch1: Could not create an UDP connection to 10.1.2.64:35001: [Errno 101] Network is unreachable"
when trying to connect my VM to my IOU switch

I understand they are unable to communicate because different subnets/ips etc

but does anyone have a decent solution other then changing the ip address of my local machine?

/e tried changing my local IP and it did not work out to great broke more things then fixed and it still did not work

Author:  twv [ Fri Oct 10, 2014 3:15 am ]
Post subject:  Re: VirtualBox VMs connecting to IOUs

zachlds wrote:
I get this error "Server error [-3200] from 192.168.111.128:8000: Switch1: Could not create an UDP connection to 10.1.2.64:35001: [Errno 101] Network is unreachable"
when trying to connect my VM to my IOU switch

I understand they are unable to communicate because different subnets/ips etc

but does anyone have a decent solution other then changing the ip address of my local machine?

/e tried changing my local IP and it did not work out to great broke more things then fixed and it still did not work


No need to change your local machine's LAN IP.

Find the VBox Host Only Adapter that your IOU VM is using:

Image

Open a command prompt, type ipconfig and find the corresponding VBox Host Only Adapter:

Ethernet adapter VB HOA #2 IOU:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::39b0:b4e3:a49d:5022%44
IPv4 Address. . . . . . . . . . . : 192.168.133.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Then change the IP address in the Host Binding field of "Local server" (Edit -> preferences -> GNS3 Server) to match the IP address of the VB HOA (it should be listed in the drop down menu of the text field).

Image

If the IP address that your IOU VM is using isn't in the same subnet, change it. Just to be clear, don't assign 192.168.133.2 to your IOU VM's nic though.

Image

I set a VB HOA aside for the IOU and configured it to provide DHCP that only gives out one IP Address.

Image

Don't forget to change the Remote Server address in GNS3's preferences to reflect any change in the IOU VM's IP address:

Image

This works for me after quite a bit of research on why my VBox VM's IOU devices weren't pingable but a VMWare test VM had no problems one configured. I hope this will help someone.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/