I'm a total noob, don't go harsh on me.
So, here's DHCP config:
Code:
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;
subnet 10.0.1.0 netmask 255.255.255.0 {
 range 10.0.1.10 10.0.1.100;
 option routers 10.0.1.1;
}
host serwerfedora {
 option host-name "serwerfedora";
 hardware ethernet 00:00:27:13:64:F5;
 fixed-address 10.0.1.1;
}
First network, named SIECLAN, configured as internal network in virtual machine:
Code:
HWADDR=08:00:27:13:64:F5
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF-yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp0s3
PREFIX=24
IPADDR=10.0.1.1
UUID=09b44aaf-a768-3369-ad1a-2f17032bddfa
ONBOOT=yes
AUTOCONNECT_PRIORITY=-999
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_PRIVACY=no
And second network, configured as NAT:
Code:
HWADDR=08:00:27:8C:F5:73
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp0s8
UUID=469d1fec-98f1-371e-a5e0-6ede0384f3c5
ONBOOT=yes
AUTOCONNECT_PRIORITY=-999
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_PRIVACY=no
IPADDR=192.168.1.40
The physical router is scheduled for netmask 255:255:255.0, IP 192.168.1.1, and grants addresses from 192.168.1.50 to 100.
Physical computer I'm doing it on has IP=192.168.1.11.

Basically, I wanted to make a DHCP for the first network which would automatically grant IP addresses etc. for any virtual machines in virtual network, and make second network get addresses from physical router. It's not really working, since "systemctl status network" says that "failed to start LSB: Bring up/down network".
Okay, what did I mess up? I guess I got BOOTPROTO wrong somehow, but I have no idea how do I actually configure this. Also, can I just kick out all those IPv6 things without triggering bilion various warnings and errors?
I feel like I'm going to trigger a facepalm or even two