Page 1 of 1

using mininet in virtual box &host only adapter setting

Posted: 19. Dec 2013, 10:33
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

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

Posted: 19. Dec 2013, 13:54
by noteirak
FarPak wrote:I JUST WANT TO ALLOCATE IPV4 NOT IPV6.
Disable IPv6 on the interface then?

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

Posted: 20. Dec 2013, 00:38
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?

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

Posted: 20. Dec 2013, 01:16
by Perryg