3 comments on “How to enable DHCP server in VirtualBox.

  1. Hi,
    I have set up pentest lab as described. I then followed the DHCP server instructions.
    I am getting the following errors.

    ifdown eth0

    ifdown: interface eth0 not configured

    ifup eth0

    ignoring unknown interface eth0=eth0

    Any ideas appreciated

    • @paul, open a terminal and type command “ifconfig”. See whether your interface name is eth0 or something different. If it is different, try the above commands with that interface name.

  2. hello,
    the above worked very well, I was just wondering if there was a way for it to be persistent? or would i have to retype this in every time i boot up the two machines?
    thanks in advance,
    michael

Leave a Reply

Your email address will not be published. Required fields are marked *