Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

VirtualBOX on GNS3

I have Nexus Titanium VM on VM Workstation, it runs properly. I shut it down and I exported it to OVF file
From Oracle  Virtual Box , I imported the OVF as a VM and  cloned it. Now I have 2 Nexus IOS VMs in Virtual Box
I configured GNS3 preferences, to connect to Virtual box  Nexus VMs. Then I managed to add the 2 Nexus VMs to GNS3 topology and link both VMs  with 2 ethernet links.
I powered up Nexus VMs from GNS3, and am able to console to each VM from GNS3. So far everything looks perfect.
However the interfaces that I used in GNS3 do not show up when I run SHOW INTERFACE BRIEF in either VMs.
Though in GNS3 they show Green when I powered up the VMs.


Any idea ?
User generated image
 


N7K-2# show interface brief

--------------------------------------------------------------------------------
Port   VRF          Status IP Address                              Speed    MTU
--------------------------------------------------------------------------------
mgmt0  --           down   192.168.1.101                           --       1500

--------------------------------------------------------------------------------
Ethernet      VLAN    Type Mode   Status  Reason                   Speed     Por
t
Interface                                                                    Ch
#
--------------------------------------------------------------------------------
Eth2/1        --      eth  routed down    Administratively down      auto(D) --
Eth2/2        --      eth  routed down    Administratively down      auto(D) --
Eth2/3        --      eth  routed down    Administratively down      auto(D) --
Eth2/4        --      eth  routed down    Administratively down      auto(D) --
Eth2/5        --      eth  routed down    Administratively down      auto(D) --
Eth2/6        --      eth  routed down    Administratively down      auto(D) --
Eth2/7        --      eth  routed down    Administratively down      auto(D) --
Eth2/8        --      eth  routed down    Administratively down      auto(D) --
Eth2/9        --      eth  routed down    Administratively down      auto(D) --
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

There would appear to be an issue with the virtual machine hardware.

Network Interfaces not correct, not mapped to Bridged, NAT correctly.

and if it's down, I don't suppose, you can ping it, or NK7-2 can ping out either.

and if it worked on VMware Workstation, then this shows something is wrong with Virtualbox, and these Emulators, were designed for VMware originally, not Virtualbox, as far as my understanding.

I think I would be included to remove ALL the interfaces, and add at least a single new network interface, and check that mgmt0 comes up.

Also check that the network interfaces on the VMs, the virtual network interfaces are connected and connected at power on.
Avatar of jskfan

ASKER

The VMs are good. I can SSH to each of them. However , the Management interface on each VM is 192.168.1.101 , I guess it is supposed to be that way..if I am not wrong


I connected both VMs to a Router, but still does not seem like the VMs have connected link between them.
Show CDP neighbors. does not show anything
Avatar of jskfan

ASKER

User generated image
Virtualbox and VM issue, not configured correctly for GNS3.

GNS3 does not have control of the VM networking.

Show CDP neighbors is not a good sign, your Virutalbox Networking is also wrong.

Management VM IP Address, is okay...it can be changed, and probably would help if that network was the same as the virtual network in virtualbox, which is what?

I bet you cannot ping both nodes from each other ?
Avatar of jskfan

ASKER

GNS 3 can power up the VMs either they are in Vmware workstation or in Oracle Virtual box
I will power them off from Virtual box and move them to Vmware workstation them send you screenshots later.

Like you said GNS3 probably does not have control of linking interfaces between the VMs.
I wonder if I can go to an interface on each  VM (which runs cisco Nexus IOS) and configure ip addresses on the same subnet .

I am not doing the LAB now..but probably later ..I need to configure interfaces IP addresses on each VM to be on the same subnet.. if they can ping each other then that means they are just like when you link them in GNS3
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

This is the Cisco Nexus Titanium the same as the one used in VIRL.
But what do you suggest in order to configure it in Vmware ?
I have seen some articles on the web , but they do not explain it clearly on how to link interfaces of each VM

The question is with GNS3 or without GNS3 , how to link interfaces of 2 VMs.

I thought about putting them in the same ESX host, that way they will be linked by the Virtual Switch, but wanted to make sure it is going to work before I go through that hard work. (:-)
This is the Cisco Nexus Titanium the same as the one used in VIRL.

It might be the same, but VIRL does not come already configured....

without GNS3. configure the correct management IP Addresses on the same subnet, like any other VM.

I think ESXi, is easier to understand networking than Workstation, as you can make different networks, virtual machine portgroups, different vSwitches , VLANS to isolate traffic, and experiment...

but both should work, if you setup the correct networking requirements
Any hypervisor will work, if you get the networking correct!

and have the official VIRL package.

You may want to reset your config to defaults.
Avatar of jskfan

ASKER

I will try it in VIRL
Thank you