Fedora Linux Support Community & Resources Center
  #1  
Old 24th June 2017, 07:12 PM
demucia Offline
Registered User
 
Join Date: Jun 2017
Location: Poland
Posts: 1
windows_7chrome
Fedora 25 Server VM DHCP and network problem

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
Reply With Quote
Reply

Tags
dhcp , fedora , network , problem , server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a dhcp server for IPv6 network carlosvita Servers & Networking 1 6th March 2011 08:06 PM
No IP Address from DHCP Server on Wireless Network naimesh.thakkar Servers & Networking 15 27th May 2009 10:30 AM
DHCP server problem (Fedora 4) Esther Servers & Networking 2 16th June 2005 09:38 AM
Can I Use FC3 as a network DHCP Server / Router? Kommissar Servers & Networking 4 14th March 2005 07:11 PM


Current GMT-time: 03:33 (Thursday, 19-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat