On Thu, Apr 28, 2016 at 6:43 PM, Kenneth Wolcott
<kennethwolcott(a)gmail.com> wrote:
On Thu, Apr 28, 2016 at 1:42 PM, Samuel Sieb <samuel(a)sieb.net>
wrote:
> On 04/27/2016 06:10 PM, Kenneth Wolcott wrote:
>>
>> The /etc/sysconf/network-scripts/ifcfg-enp0s8 files does exist, but
>> the only entries that I recognize now are BOOTPROTO and ONBOOT;
>> everything else looks like IPV6.
>>
>> I'd rather have IPV4 and I'm pretty sure that is what I want to use
>> from VirtualBox.
>>
>> I'm not ready to dive into IPV6.
>>
>> i'd really like to have a compatible and functional set of entries
>> that are based on IPV4, but if I look at a sample from a long time
>> ago, I don't know if those entries will still be understood by the
>> current OS.
>>
> Here's a sample ifcfg-enp0s8 file for you:
> IPV6INIT=no
> BOOTPROTO=dhcp
> DEVICE=enp0s8
> ONBOOT=yes
> UUID=d211cad8-d15d-46a1-b94d-2a42def47212
> HWADDR=<put MAC here>
> TYPE=Ethernet
> DEFROUTE=yes
> PEERDNS=yes
> PEERROUTES=yes
> IPV4_FAILURE_FATAL=no
> NAME="System enp0s8"
>
> Put the actual MAC address in the right line or it might work if you
> completely remove that line. The problem is that I don't know how you've
> configured the networking in virtualbox. I've never even used virtualbox so
> I can't help you at all there. I only use KVM. But if virtualbox isn't
> offering dhcp on that interface (which would make sense, since the other
> interface is the default one), then this won't work. You will have to setup
> a manual ip address config in the file. If that's the case, then let me know
> the ip address you want and I will create a config file for you.
>
Thanks for the great support!
I've finally figured out how to enable the DHCP server on the
VirtualBox (Windows) host.
I used most of of your suggested entries.
I think I have to enable sshd on my vm now.
Thanks,
Ken
I can ssh into my vm now!
Thanks,
Ken Wolcott