openflow-tutorial
openflow-tutorial copied to clipboard
Can't configure host-only network interface!
Hi. This might be a very basic issue, but I have been trying to configure a host-only network interface without success. I added host-only interface to VM and I can see it in mininet, but then when I execute sudo dhclient eth1, it kind of freeze and the command line disappears. When I use ifconfig-a, I don't see IP address with eth1, but I do see one in the settings.
Any help is appreciated!
did you modify the /etc/network/interfaces ?
Thanks for your response. I followed "VirtualBox: Setting up a Host-Only Network" I added host-only interface in the settings, and confirmed it's active with ifconfig -a, then I got stuck at: sudo dhclient eth1
in here you can simply added with
$sudo -s $vi /etc/network/host added same property as in the list.. :wq!
run the command $ifconfig -a
1 more time and you good to go.
On Tue, Apr 5, 2016 at 8:58 PM, ahmedalagha [email protected] wrote:
Thanks for your response. I followed "VirtualBox: Setting up a Host-Only Network" I added host-only interface in the settings, and confirmed it's active with ifconfig -a, then I got stuck at: sudo dhclient eth1
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/mininet/openflow-tutorial/issues/3#issuecomment-205790416
I've got exactly the same issue.
Does anyone know how to solve this?
Hi sfsmm - I used VMware instead, and never got this issue again.
Hello ahmedalagha.
I tried with VMware and indeed it seems it works but now I have a problem. I can't get the vm to capture the mouse. I tried installing another guest machine and it captures the mouse perfectly. It seems to be a problem with this vm in specific. Did you also have this issue?
Hey there, i'm only answering that for other user that have that problem. So, I solved this goin on File > Host Network Manager > Create a new exclusive host network > select the box DHCP server "Enable" hope it helps
For anyone facing the same issue, make sure you've enabled the DHCP server option on the target network adapter in VirtualBox settings. To do so, follow File > Host Network Manager, select the target network adapter, mark the DHCP server checkbox on the right. (If that doesn't work, go to your VM settings, by right-clicking on it, then open Network settings, select the target network adapter, open advanced settings, and check "cable connected option")
@Danialzz Feel free to edit the wiki page