using mininet in virtual box &host only adapter setting

This is for discussing general topics about how to use VirtualBox.
Post Reply
FarPak
Posts: 2
Joined: 19. Dec 2013, 10:06

using mininet in virtual box &host only adapter setting

Post by FarPak »

Hi
I have encountered a problem in Mininet.
The eth0 is allocated to NAT in Mininet and has a certain IP address to connect to the INTERNET.
But when I defined a host only adaptor, the IPv4 is allocated and IPv6 is empty of any valueand IPv6 Network Mask length is 0.the setting that it must be
but after I click on the OK button and open it again the ipv6 had a value!!!
the most important problem is when I add a host-only adapter to Mininet, and do the command “ ifconfig -a” it didn't allocate any IP address to it and it is written UP BROADCAST RUNNING MULTICAST. but I need and ip address to communicate with remote controller.
When I want to do “dhclient eth1” for allocating the IP address the mininet did not worked.
I also Googled it but I couldn't find any related topic for my problem or an executable solution.
I JUST WANT TO ALLOCATE IPV4 NOT IPV6.
THANKS
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: using mininet in virtual box &host only adapter setting

Post by noteirak »

FarPak wrote:I JUST WANT TO ALLOCATE IPV4 NOT IPV6.
Disable IPv6 on the interface then?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
FarPak
Posts: 2
Joined: 19. Dec 2013, 10:06

Re: using mininet in virtual box &host only adapter setting

Post by FarPak »

thanks for your reply.
Now how can I disable it??
i don't want to use it.

noteirak wrote:
FarPak wrote:I JUST WANT TO ALLOCATE IPV4 NOT IPV6.
Disable IPv6 on the interface then?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: using mininet in virtual box &host only adapter setting

Post by Perryg »

Post Reply