Why is my DHCP Server not running Announcing the arrival of Valued Associate #679: Cesar...

Sentence with dass with three Verbs (One modal and two connected with zu)

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

C's equality operator on converted pointers

Strange behavior of Object.defineProperty() in JavaScript

Draw 4 of the same figure in the same tikzpicture

What is the meaning of 'breadth' in breadth first search?

Is there hard evidence that the grant peer review system performs significantly better than random?

How does a spellshard spellbook work?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

A letter with no particular backstory

Why can't I install Tomboy in Ubuntu Mate 19.04?

What to do with repeated rejections for phd position

How many morphisms from 1 to 1+1 can there be?

How many time has Arya actually used Needle?

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

Project Euler #1 in C++

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Amount of permutations on an NxNxN Rubik's Cube

Is multiple magic items in one inherently imbalanced?

Deconstruction is ambiguous

Is there public access to the Meteor Crater in Arizona?

Co-worker has annoying ringtone

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

Putting class ranking in CV, but against dept guidelines



Why is my DHCP Server not running



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)DHCP + Static IP for DHCP server on eth1?Setup DHCP server for LAN partyDHCP server not working in new version of ubuntu with ethernet name as enp9s0?What's wrong with my isc-dhcp-server configuration?IPv6 SLAAC on Ubuntu Server 16.04.Why does my Ubuntu DHCP isc-DHCP-server service fail on re-boot?ping: unknown host google.com and host unreachableping 8.8.8.8Several websites unreachable on university network (w/o VPN)Cannot ping past gatewayUpdating server OS, installation and internet connectivity issues in using Ubuntu Server





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















I set up my /etc/default/isc-dhcp-server and set eth0 in /etc/dhcp/dhcpd.conf



Why is the isc-dhcp Server not running? When I execute sudo service isc-dhcp-server status and got this:



root@ubuntu:~# service isc-dhcp-server status
● isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Di 2015-11-03 15:27:57 CET; 15s ago
Docs: man:dhcpd(8)
Process: 6982 ExecStart=/bin/sh -ec CONFIG_FILE=/etc/dhcp/dhcpd.conf; if [ -f /etc/ltsp/dhcpd.conf ]; then CONFIG_FILE=/etc/ltsp/dhcpd.conf; fi; [ -e /var/lib/dhcp/dhcpd.leases ] || touch /var/lib/dhcp/dhcpd.leases; chown root:root /var/lib/dhcp /var/lib/dhcp/dhcpd.leases*; exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES (code=exited, status=1/FAILURE)
Process: 6979 ExecStartPre=/bin/chown dhcpd:dhcpd /run/dhcp-server (code=exited, status=0/SUCCESS)
Main PID: 6982 (code=exited, status=1/FAILURE)

Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Nov 03 15:27:57 ubuntu sh[6982]: Configuration file errors encountered -- exiting


Here is my dhcp.config:



    timeout 300;
authoritative; #keine Rogue-DHCP-Server
one-lease-per-client true; #nur ein lease pro client
get-lease-hostnames true; # Tell the server to look up the host name in DNS
#option domain-name "psa-team06.informatik.tu-muenchen.de";
#option domain-name-servers 192.168.6.1;
#option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
#log-facility local0;

interface eth1;

#ping-check true; #evtl noch auskommentieren



# Unser Subnetz
subnet 192.168.6.0 netmask 255.255.255.0 {
range 192.168.6.100 192.168.6.250;
option routers 192.168.6.3;
}

host VM1{
hardware ethernet 08:00:27:24:41:79;
fixed-adress 192.168.6.3;
option host-name "VM1";
}


my /etc/default/isc-dhcp-server:



# Defaults for isc-dhcp-server initscript
# sourced by /etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPD_CONF=/etc/dhcp/dhcpd.conf

# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPD_PID=/var/run/dhcpd.pid

# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"


and my ip a:



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:5a:70:a3 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe5a:70a3/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:79:73:5d brd ff:ff:ff:ff:ff:ff
inet 192.168.6.3/24 brd 192.168.6.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.61.1/24 brd 192.168.61.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.62.1/24 brd 192.168.62.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.63.1/24 brd 192.168.63.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.65.1/24 brd 192.168.65.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.76.2/24 brd 192.168.76.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.86.2/24 brd 192.168.86.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.106.2/24 brd 192.168.106.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.116.2/24 brd 192.168.116.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.126.2/24 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe79:735d/64 scope link
valid_lft forever preferred_lft forever
root@ubuntu:~#









share|improve this question

























  • And you have an inferface configured? The notice claims you have not.

    – Rinzwind
    Nov 2 '15 at 14:25











  • can you post your dhcp config file.

    – Neil
    Nov 3 '15 at 11:22











  • @Neil my config file is under the /etc/default/isc-dhcp-server in my question.

    – Leon D
    Nov 3 '15 at 13:07











  • @Rinzwind you mean in the /etc/dhcp/dhcpd.conf?

    – Leon D
    Nov 3 '15 at 13:14











  • sorry the other way round

    – Leon D
    Nov 3 '15 at 13:16


















3















I set up my /etc/default/isc-dhcp-server and set eth0 in /etc/dhcp/dhcpd.conf



Why is the isc-dhcp Server not running? When I execute sudo service isc-dhcp-server status and got this:



root@ubuntu:~# service isc-dhcp-server status
● isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Di 2015-11-03 15:27:57 CET; 15s ago
Docs: man:dhcpd(8)
Process: 6982 ExecStart=/bin/sh -ec CONFIG_FILE=/etc/dhcp/dhcpd.conf; if [ -f /etc/ltsp/dhcpd.conf ]; then CONFIG_FILE=/etc/ltsp/dhcpd.conf; fi; [ -e /var/lib/dhcp/dhcpd.leases ] || touch /var/lib/dhcp/dhcpd.leases; chown root:root /var/lib/dhcp /var/lib/dhcp/dhcpd.leases*; exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES (code=exited, status=1/FAILURE)
Process: 6979 ExecStartPre=/bin/chown dhcpd:dhcpd /run/dhcp-server (code=exited, status=0/SUCCESS)
Main PID: 6982 (code=exited, status=1/FAILURE)

Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Nov 03 15:27:57 ubuntu sh[6982]: Configuration file errors encountered -- exiting


Here is my dhcp.config:



    timeout 300;
authoritative; #keine Rogue-DHCP-Server
one-lease-per-client true; #nur ein lease pro client
get-lease-hostnames true; # Tell the server to look up the host name in DNS
#option domain-name "psa-team06.informatik.tu-muenchen.de";
#option domain-name-servers 192.168.6.1;
#option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
#log-facility local0;

interface eth1;

#ping-check true; #evtl noch auskommentieren



# Unser Subnetz
subnet 192.168.6.0 netmask 255.255.255.0 {
range 192.168.6.100 192.168.6.250;
option routers 192.168.6.3;
}

host VM1{
hardware ethernet 08:00:27:24:41:79;
fixed-adress 192.168.6.3;
option host-name "VM1";
}


my /etc/default/isc-dhcp-server:



# Defaults for isc-dhcp-server initscript
# sourced by /etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPD_CONF=/etc/dhcp/dhcpd.conf

# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPD_PID=/var/run/dhcpd.pid

# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"


and my ip a:



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:5a:70:a3 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe5a:70a3/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:79:73:5d brd ff:ff:ff:ff:ff:ff
inet 192.168.6.3/24 brd 192.168.6.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.61.1/24 brd 192.168.61.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.62.1/24 brd 192.168.62.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.63.1/24 brd 192.168.63.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.65.1/24 brd 192.168.65.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.76.2/24 brd 192.168.76.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.86.2/24 brd 192.168.86.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.106.2/24 brd 192.168.106.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.116.2/24 brd 192.168.116.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.126.2/24 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe79:735d/64 scope link
valid_lft forever preferred_lft forever
root@ubuntu:~#









share|improve this question

























  • And you have an inferface configured? The notice claims you have not.

    – Rinzwind
    Nov 2 '15 at 14:25











  • can you post your dhcp config file.

    – Neil
    Nov 3 '15 at 11:22











  • @Neil my config file is under the /etc/default/isc-dhcp-server in my question.

    – Leon D
    Nov 3 '15 at 13:07











  • @Rinzwind you mean in the /etc/dhcp/dhcpd.conf?

    – Leon D
    Nov 3 '15 at 13:14











  • sorry the other way round

    – Leon D
    Nov 3 '15 at 13:16














3












3








3


1






I set up my /etc/default/isc-dhcp-server and set eth0 in /etc/dhcp/dhcpd.conf



Why is the isc-dhcp Server not running? When I execute sudo service isc-dhcp-server status and got this:



root@ubuntu:~# service isc-dhcp-server status
● isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Di 2015-11-03 15:27:57 CET; 15s ago
Docs: man:dhcpd(8)
Process: 6982 ExecStart=/bin/sh -ec CONFIG_FILE=/etc/dhcp/dhcpd.conf; if [ -f /etc/ltsp/dhcpd.conf ]; then CONFIG_FILE=/etc/ltsp/dhcpd.conf; fi; [ -e /var/lib/dhcp/dhcpd.leases ] || touch /var/lib/dhcp/dhcpd.leases; chown root:root /var/lib/dhcp /var/lib/dhcp/dhcpd.leases*; exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES (code=exited, status=1/FAILURE)
Process: 6979 ExecStartPre=/bin/chown dhcpd:dhcpd /run/dhcp-server (code=exited, status=0/SUCCESS)
Main PID: 6982 (code=exited, status=1/FAILURE)

Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Nov 03 15:27:57 ubuntu sh[6982]: Configuration file errors encountered -- exiting


Here is my dhcp.config:



    timeout 300;
authoritative; #keine Rogue-DHCP-Server
one-lease-per-client true; #nur ein lease pro client
get-lease-hostnames true; # Tell the server to look up the host name in DNS
#option domain-name "psa-team06.informatik.tu-muenchen.de";
#option domain-name-servers 192.168.6.1;
#option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
#log-facility local0;

interface eth1;

#ping-check true; #evtl noch auskommentieren



# Unser Subnetz
subnet 192.168.6.0 netmask 255.255.255.0 {
range 192.168.6.100 192.168.6.250;
option routers 192.168.6.3;
}

host VM1{
hardware ethernet 08:00:27:24:41:79;
fixed-adress 192.168.6.3;
option host-name "VM1";
}


my /etc/default/isc-dhcp-server:



# Defaults for isc-dhcp-server initscript
# sourced by /etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPD_CONF=/etc/dhcp/dhcpd.conf

# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPD_PID=/var/run/dhcpd.pid

# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"


and my ip a:



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:5a:70:a3 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe5a:70a3/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:79:73:5d brd ff:ff:ff:ff:ff:ff
inet 192.168.6.3/24 brd 192.168.6.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.61.1/24 brd 192.168.61.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.62.1/24 brd 192.168.62.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.63.1/24 brd 192.168.63.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.65.1/24 brd 192.168.65.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.76.2/24 brd 192.168.76.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.86.2/24 brd 192.168.86.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.106.2/24 brd 192.168.106.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.116.2/24 brd 192.168.116.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.126.2/24 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe79:735d/64 scope link
valid_lft forever preferred_lft forever
root@ubuntu:~#









share|improve this question
















I set up my /etc/default/isc-dhcp-server and set eth0 in /etc/dhcp/dhcpd.conf



Why is the isc-dhcp Server not running? When I execute sudo service isc-dhcp-server status and got this:



root@ubuntu:~# service isc-dhcp-server status
● isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Di 2015-11-03 15:27:57 CET; 15s ago
Docs: man:dhcpd(8)
Process: 6982 ExecStart=/bin/sh -ec CONFIG_FILE=/etc/dhcp/dhcpd.conf; if [ -f /etc/ltsp/dhcpd.conf ]; then CONFIG_FILE=/etc/ltsp/dhcpd.conf; fi; [ -e /var/lib/dhcp/dhcpd.leases ] || touch /var/lib/dhcp/dhcpd.leases; chown root:root /var/lib/dhcp /var/lib/dhcp/dhcpd.leases*; exec dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf $CONFIG_FILE $INTERFACES (code=exited, status=1/FAILURE)
Process: 6979 ExecStartPre=/bin/chown dhcpd:dhcpd /run/dhcp-server (code=exited, status=0/SUCCESS)
Main PID: 6982 (code=exited, status=1/FAILURE)

Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Nov 03 15:27:57 ubuntu systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Nov 03 15:27:57 ubuntu sh[6982]: Configuration file errors encountered -- exiting


Here is my dhcp.config:



    timeout 300;
authoritative; #keine Rogue-DHCP-Server
one-lease-per-client true; #nur ein lease pro client
get-lease-hostnames true; # Tell the server to look up the host name in DNS
#option domain-name "psa-team06.informatik.tu-muenchen.de";
#option domain-name-servers 192.168.6.1;
#option subnet-mask 255.255.255.0;

default-lease-time 3600;
max-lease-time 86400;
#log-facility local0;

interface eth1;

#ping-check true; #evtl noch auskommentieren



# Unser Subnetz
subnet 192.168.6.0 netmask 255.255.255.0 {
range 192.168.6.100 192.168.6.250;
option routers 192.168.6.3;
}

host VM1{
hardware ethernet 08:00:27:24:41:79;
fixed-adress 192.168.6.3;
option host-name "VM1";
}


my /etc/default/isc-dhcp-server:



# Defaults for isc-dhcp-server initscript
# sourced by /etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPD_CONF=/etc/dhcp/dhcpd.conf

# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPD_PID=/var/run/dhcpd.pid

# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth1"


and my ip a:



1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:5a:70:a3 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe5a:70a3/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:79:73:5d brd ff:ff:ff:ff:ff:ff
inet 192.168.6.3/24 brd 192.168.6.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.61.1/24 brd 192.168.61.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.62.1/24 brd 192.168.62.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.63.1/24 brd 192.168.63.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.65.1/24 brd 192.168.65.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.76.2/24 brd 192.168.76.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.86.2/24 brd 192.168.86.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.106.2/24 brd 192.168.106.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.116.2/24 brd 192.168.116.255 scope global eth1
valid_lft forever preferred_lft forever
inet 192.168.126.2/24 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fe79:735d/64 scope link
valid_lft forever preferred_lft forever
root@ubuntu:~#






14.04 networking server dhcp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









Rotemya

1054




1054










asked Nov 2 '15 at 14:22









Leon DLeon D

36115




36115













  • And you have an inferface configured? The notice claims you have not.

    – Rinzwind
    Nov 2 '15 at 14:25











  • can you post your dhcp config file.

    – Neil
    Nov 3 '15 at 11:22











  • @Neil my config file is under the /etc/default/isc-dhcp-server in my question.

    – Leon D
    Nov 3 '15 at 13:07











  • @Rinzwind you mean in the /etc/dhcp/dhcpd.conf?

    – Leon D
    Nov 3 '15 at 13:14











  • sorry the other way round

    – Leon D
    Nov 3 '15 at 13:16



















  • And you have an inferface configured? The notice claims you have not.

    – Rinzwind
    Nov 2 '15 at 14:25











  • can you post your dhcp config file.

    – Neil
    Nov 3 '15 at 11:22











  • @Neil my config file is under the /etc/default/isc-dhcp-server in my question.

    – Leon D
    Nov 3 '15 at 13:07











  • @Rinzwind you mean in the /etc/dhcp/dhcpd.conf?

    – Leon D
    Nov 3 '15 at 13:14











  • sorry the other way round

    – Leon D
    Nov 3 '15 at 13:16

















And you have an inferface configured? The notice claims you have not.

– Rinzwind
Nov 2 '15 at 14:25





And you have an inferface configured? The notice claims you have not.

– Rinzwind
Nov 2 '15 at 14:25













can you post your dhcp config file.

– Neil
Nov 3 '15 at 11:22





can you post your dhcp config file.

– Neil
Nov 3 '15 at 11:22













@Neil my config file is under the /etc/default/isc-dhcp-server in my question.

– Leon D
Nov 3 '15 at 13:07





@Neil my config file is under the /etc/default/isc-dhcp-server in my question.

– Leon D
Nov 3 '15 at 13:07













@Rinzwind you mean in the /etc/dhcp/dhcpd.conf?

– Leon D
Nov 3 '15 at 13:14





@Rinzwind you mean in the /etc/dhcp/dhcpd.conf?

– Leon D
Nov 3 '15 at 13:14













sorry the other way round

– Leon D
Nov 3 '15 at 13:16





sorry the other way round

– Leon D
Nov 3 '15 at 13:16










2 Answers
2






active

oldest

votes


















2














Strange, strange, strange...



I get it working after i copied a default config file and edited our network into it.



Helpful for debugging are /usr/sbin/dhcpd -t and -f



Here is my config now:



default-lease-time 60;                                                                                                                                         
max-lease-time 240;
authoriative;
option domain-name "psa-team06.informatik.tu-muenchen.de";
option domain-name-servers router.psa-team1.informatik.tu-muenchen.de;
authoriative;

subnet 192.168.6.0 netmask 255.255.255.0 {
option broadcast-address 192.168.6.255;
option routers 192.168.6.3;
range 192.168.6.100 192.168.6.200;
}

host VM1 {
hardware ethernet 08:00:27:24:41:79;
fixed-address 192.168.6.3;
}





share|improve this answer
























  • Typing error maybe.

    – We are Borg
    Nov 3 '15 at 15:17



















0














This is not a defined configuration word:



interface eth1;


I couldn't find it in man dhcpd.conf at least not for isc-dhcp-server. I have tried it in my VBox 16.04 server, dhcpd fails.



Not sure from where you got it, but may be you mistakenly meant: INTERFACES="eth1" from /etc/default/isc-dhcp-server which a configuration for the init service and it is used an command-line argument for dhcpd. Check pgrep -a dhcpd.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f692945%2fwhy-is-my-dhcp-server-not-running%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Strange, strange, strange...



    I get it working after i copied a default config file and edited our network into it.



    Helpful for debugging are /usr/sbin/dhcpd -t and -f



    Here is my config now:



    default-lease-time 60;                                                                                                                                         
    max-lease-time 240;
    authoriative;
    option domain-name "psa-team06.informatik.tu-muenchen.de";
    option domain-name-servers router.psa-team1.informatik.tu-muenchen.de;
    authoriative;

    subnet 192.168.6.0 netmask 255.255.255.0 {
    option broadcast-address 192.168.6.255;
    option routers 192.168.6.3;
    range 192.168.6.100 192.168.6.200;
    }

    host VM1 {
    hardware ethernet 08:00:27:24:41:79;
    fixed-address 192.168.6.3;
    }





    share|improve this answer
























    • Typing error maybe.

      – We are Borg
      Nov 3 '15 at 15:17
















    2














    Strange, strange, strange...



    I get it working after i copied a default config file and edited our network into it.



    Helpful for debugging are /usr/sbin/dhcpd -t and -f



    Here is my config now:



    default-lease-time 60;                                                                                                                                         
    max-lease-time 240;
    authoriative;
    option domain-name "psa-team06.informatik.tu-muenchen.de";
    option domain-name-servers router.psa-team1.informatik.tu-muenchen.de;
    authoriative;

    subnet 192.168.6.0 netmask 255.255.255.0 {
    option broadcast-address 192.168.6.255;
    option routers 192.168.6.3;
    range 192.168.6.100 192.168.6.200;
    }

    host VM1 {
    hardware ethernet 08:00:27:24:41:79;
    fixed-address 192.168.6.3;
    }





    share|improve this answer
























    • Typing error maybe.

      – We are Borg
      Nov 3 '15 at 15:17














    2












    2








    2







    Strange, strange, strange...



    I get it working after i copied a default config file and edited our network into it.



    Helpful for debugging are /usr/sbin/dhcpd -t and -f



    Here is my config now:



    default-lease-time 60;                                                                                                                                         
    max-lease-time 240;
    authoriative;
    option domain-name "psa-team06.informatik.tu-muenchen.de";
    option domain-name-servers router.psa-team1.informatik.tu-muenchen.de;
    authoriative;

    subnet 192.168.6.0 netmask 255.255.255.0 {
    option broadcast-address 192.168.6.255;
    option routers 192.168.6.3;
    range 192.168.6.100 192.168.6.200;
    }

    host VM1 {
    hardware ethernet 08:00:27:24:41:79;
    fixed-address 192.168.6.3;
    }





    share|improve this answer













    Strange, strange, strange...



    I get it working after i copied a default config file and edited our network into it.



    Helpful for debugging are /usr/sbin/dhcpd -t and -f



    Here is my config now:



    default-lease-time 60;                                                                                                                                         
    max-lease-time 240;
    authoriative;
    option domain-name "psa-team06.informatik.tu-muenchen.de";
    option domain-name-servers router.psa-team1.informatik.tu-muenchen.de;
    authoriative;

    subnet 192.168.6.0 netmask 255.255.255.0 {
    option broadcast-address 192.168.6.255;
    option routers 192.168.6.3;
    range 192.168.6.100 192.168.6.200;
    }

    host VM1 {
    hardware ethernet 08:00:27:24:41:79;
    fixed-address 192.168.6.3;
    }






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 3 '15 at 15:11









    Leon DLeon D

    36115




    36115













    • Typing error maybe.

      – We are Borg
      Nov 3 '15 at 15:17



















    • Typing error maybe.

      – We are Borg
      Nov 3 '15 at 15:17

















    Typing error maybe.

    – We are Borg
    Nov 3 '15 at 15:17





    Typing error maybe.

    – We are Borg
    Nov 3 '15 at 15:17













    0














    This is not a defined configuration word:



    interface eth1;


    I couldn't find it in man dhcpd.conf at least not for isc-dhcp-server. I have tried it in my VBox 16.04 server, dhcpd fails.



    Not sure from where you got it, but may be you mistakenly meant: INTERFACES="eth1" from /etc/default/isc-dhcp-server which a configuration for the init service and it is used an command-line argument for dhcpd. Check pgrep -a dhcpd.






    share|improve this answer




























      0














      This is not a defined configuration word:



      interface eth1;


      I couldn't find it in man dhcpd.conf at least not for isc-dhcp-server. I have tried it in my VBox 16.04 server, dhcpd fails.



      Not sure from where you got it, but may be you mistakenly meant: INTERFACES="eth1" from /etc/default/isc-dhcp-server which a configuration for the init service and it is used an command-line argument for dhcpd. Check pgrep -a dhcpd.






      share|improve this answer


























        0












        0








        0







        This is not a defined configuration word:



        interface eth1;


        I couldn't find it in man dhcpd.conf at least not for isc-dhcp-server. I have tried it in my VBox 16.04 server, dhcpd fails.



        Not sure from where you got it, but may be you mistakenly meant: INTERFACES="eth1" from /etc/default/isc-dhcp-server which a configuration for the init service and it is used an command-line argument for dhcpd. Check pgrep -a dhcpd.






        share|improve this answer













        This is not a defined configuration word:



        interface eth1;


        I couldn't find it in man dhcpd.conf at least not for isc-dhcp-server. I have tried it in my VBox 16.04 server, dhcpd fails.



        Not sure from where you got it, but may be you mistakenly meant: INTERFACES="eth1" from /etc/default/isc-dhcp-server which a configuration for the init service and it is used an command-line argument for dhcpd. Check pgrep -a dhcpd.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 29 '16 at 11:21









        user.dzuser.dz

        35.3k1198179




        35.3k1198179






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f692945%2fwhy-is-my-dhcp-server-not-running%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

            Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...

            List of shipwrecks in 1808...