The Dynamic Host Configuration Protocol (DHCP) is a network configuration protocol that assigns IP addresses and gateway configuration automatically.

learn more… | top users | synonyms

1
vote
0answers
20 views

How to setup DHCP relay in ubuntu?

I am new in Linux, so please ignore if my question is silly. I am setting up 4 machines. Two machines are the servers and two are client computers for testing purposes. I am using my Ubuntu machine as ...
1
vote
1answer
24 views

Two network interfaces assigned to addresses from two DHCP servers

If we have an Ubuntu box with two network interfaces (NIF1/2) connected with two other DHCP server boxes (DHCP1/2) below, DHCP1 192.168.1.1/24 <---> NIF1 DHCP2 192.168.2.1/24 <---> NIF2 so we ...
-5
votes
0answers
30 views

How to setup DHCP Relay in Debian 8? [closed]

I have three VMs. One VM is a DNS and DHCP server, one is a Linux router running Debian 8 and the last VM is a test machine. I am trying to configure the Debian 8 machine as a DHCP relay. I have ...
1
vote
0answers
19 views

Can't Set Static IP - Ubuntu 14.04.03 - Server

I am configuring a few servers all with the same basic configuration. We first set the DNS/Domain in /etc/resolvconf/resolv.conf.d/base cat /etc/resolvconf/resolv.conf.d/base domain domain.com ...
0
votes
2answers
41 views

How to configure 2 interfaces without losing Internet connection?

I am using Hyper v for my linux lab. I have Ubuntu Server 16.04 which contain 2 network cards that shown in the system as 2 Interfaces. eth0: I configured it to get IP from DHCP server (my dlink ...
2
votes
3answers
31 views

Access Ubuntu Webserver from behind DHCP Router

I've just successfully installed and setup Ubuntu Server 16.04, complete with webmin, phpmyadmin etc. I can access this via remote login/ftp etc from other pc's within the home network but I'm not ...
0
votes
0answers
30 views

bind9 + dhcp clients

I've got a working bind9. I followed this tutorial to setup. It works fine with all static IP, that I fix in /etc/bind/db.* files as tutorial recommends. My router enables DHCP also and there are many ...
2
votes
0answers
17 views

Random loss of static IP (multi-homed setup)

I have few Raspberry PIs installed Ubuntu Mate 15.10 and configured them with both DHCP and static IP addresses on eth0. The /etc/network/interfaces looks like this: # interfaces(5) file used by ...
1
vote
1answer
63 views

Cannot access the Internet even though ethernet is connected? DHCP problem

I am currently running Ubuntu 14.04 on my Lenovo z500 laptop. I use the same laptop at my work and at my home. MY work place uses a static IP so I have to manually set my IP address in the network ...
0
votes
0answers
12 views

Hostapd error while starting

I have disabled network-manager for using my wlan1 interface in oder to have it "free" for hostapd . This is my ifconfig info for wlan1. wlan1 Link encap:Ethernet HWaddr UP BROADCAST ...
0
votes
0answers
32 views

nameserver in resolv.conf not getting updated

I'm trying to use a dns service on my xenial. I have added the following line to dhclient.conf. prepend domain-name-servers 208.67.222.222,208.67.220.220; After reconnecting or rebooting resolv....
0
votes
1answer
68 views

VM Ubuntu Server 16.04 no network connection with static IP

My Setup: Oracle VM Virtual Box running on a windows 7 box Virtual hosting is enabled in Windows Box BIOS Steps taken: With Dynamic IP assignment the the Ubuntu server can ping everything. No ...
0
votes
0answers
17 views

How to add dhcp client to verify that dhcp server which i installed on my ubuntu is working

I have installed DHCP server on my Ubuntu system. I have started it and now it's run on running state. I want to add a client to it to verify that the range of addresses. What should I provided ...
1
vote
0answers
69 views

How to specify additional search domains for resolver in 16.04 when using DHCP?

With Gnome Ubuntu 14.04, it was possible to specify additional search domains for the resolv.conf, when editing a network connection, like so: But where do I find this field for the "additional ...
0
votes
1answer
40 views

How do I get static IP working?

I have two PCs running Ubuntu 16.04 (one 32bit one 64bit) and a old TRENDnet TW100-S4W1CA router. The problem is that when I set the IPv4 address to "manual" the connections gets initialized just ...
0
votes
2answers
40 views

eth0 not working anymore after trying to set static ip

Hi I tried to set up a static ip and have lost the ability to use eth0, I can see that it is there but disabled, tried the edit with the auto eth0 and DHCP but to no avail, been trying all sorts of ...
0
votes
1answer
50 views

Bridge does not get IP from DHCP server on boot

I have a bridge created on my ubunut 16.04 box. The bridge does not get an IP from my DHCP server on the network on boot. /etc/network/interfaces : # interfaces(5) file used by ifup(8) and ifdown(8)...
0
votes
0answers
116 views

setting up ethernet port for DHCP in Ubuntu 16.04

I have just installed Ubuntu server 16.04 and as per new scheme the default ethernet port is longer named eth0 but is named as enp02s. But this port only gets configured with a private ip address such ...
3
votes
0answers
426 views

Ubuntu 16.04 - system boot waits saying “Raise network interfaces”

I have an Ubuntu 16.04 system with two interfaces - eth0 configured with DHCP and eth1 configured with static ip addresses. The /etc/network/interfaces file has the following config # The loopback ...
0
votes
0answers
15 views

ubuntu isc dhcp gives ip only once

My system is a Ubuntu PC with 3 thin clients that are connecting through ltsp to it. There is also a router inside this network so there are 2 DHCP servers inside the network. I've set the IP ranges ...
0
votes
0answers
60 views

Can't resolve hostname by ip address over nslookup

Hope, someone can help me. I've already searched the web for hours, but I can't solve this problem: I've got an Ubuntu Server on my LAN. I can fully use it (samba, ssh, apache2, xmpp...) by using it'...
1
vote
0answers
36 views

Route traffic from eth1(local network) to eth0(external network) where ubuntu is dhcp server

I have an ubuntu server which is configured to be DHCP server to give IP address to a cisco switch through eth1. eth0(connected to the external network) ip:10.106.24.182 netmask: 255.255.255.0 ...
1
vote
1answer
28 views

How to restore DNS being automatically obtained?

After a reboot I can no longer connect to the internet in the sense that it appears DNS lookups immediately fail. I am connecting via WiFi to my phone, which works as a dongle (I have no landline ...
-1
votes
1answer
59 views

How to release an IP address and renew from the commandline?

I am using modern versions of Ubuntu that use network-manager, and I would like release and renew my network settings through the commandline. In the olden days when Ubuntu used the interfaces file, ...
1
vote
1answer
190 views

DHCP connection does not set default gateway automatically

I just did a fresh install of Ubuntu 16.04 (Xenial). I've configured /etc/network/interfaces to bring up the wlan interface automatically using DHCP: auto lo iface lo inet loopback auto wlp2s0 ...
1
vote
2answers
10k views

Set static IP Ubuntu 16.04

I am a new with Linux, having years experience with Windows servers/desktops and am having issues setting a static IP. I am using a method used for previous versions of Ubuntu, which doesn't seem to ...
0
votes
0answers
16 views

Multi-NIC client w/ isc-dhcp-server & dynamic bind9 recommended configuration

I have a properly installed and configured isc-dhcp-server & bind9 box that is correctly updating DNS records based on leases. This works well. I understand how the isc-dhcp-server can be ...
0
votes
0answers
15 views

Is it possible to offer a DHCP lease between 8am and 5pm and block access otherwise?

I am wondering whether dhcpd can be setup for some leases to only work between certain work hours instead of 24/7. I know I could use CRON and restart the DHCP server with configuration A (allow ...
0
votes
2answers
164 views

UBUNTU DHCP not assigning IP address to clients.

I have a minimal knowledge about ubuntu. I am trying to run a DHCP server on UBUNTU so as to share Dongle 3G Internet. I disabled router's DHCP and followed the following guide to setup DHCP server in ...
0
votes
0answers
13 views

Ubuntu 14.04 Server DHCP issue

I'm running Ubuntu 14.04 Server 32-bit. I installed with the option 'Minimal Virtual Machine' and I'm running the Server on VMware Workstation 12 on Windows 10. I'm seeing a strange issue with DHCP ...
1
vote
0answers
48 views

Can I force dhclient to use the client identifier from /etc/network/interfaces

I'm using Ubuntu 12.04 LTS with isc dhclient version 4.1. My goal is to use DHCP to get IP addresses for multiple sub-interfaces on eth0. I have three stanzas configured for that in my /etc/network/...
0
votes
1answer
1k views

MAAS interface eth0 (External) and eth1 (internal)

I have two interfaces configured in MAAS under Cluster eth0 - external IP VLAN 10 eth1 - internal (10.x.x.x) VLAN 20 - DHCP-DNS Managed I am going to add a node in MAAS.....I have setup the node (...
0
votes
2answers
49 views

How to force dhcp client to allow a self defined domain name

I'm configuring a 14.04 lts server without network manager installed. I set in /etc/dhcp/dhclient.conf: send host-name "os-vps276.projet-okinawa.org"; supersede domain-name "projet-okinawa.org"; I ...
0
votes
1answer
75 views

How to stop dhcp discover messages after dhcp release?

I configured a wrong interface as dhcp and did a ifdown and ifup on that interface. DHCP client keeps sending DHCP discover messages and I had to wait for a while for it stop. ctl+z or ctl+c didn't ...
0
votes
0answers
28 views

static arp with a wlan repeater

The scenario: when i activate static arp at my dhcp settings in pfsense i can't access pfsense itself. but when i deactivate static arp i have access to pfsense. then i found out with a wireshark ...
1
vote
0answers
26 views

ISC DHCP primary ip using a variable

How can I define my DHCP zone using a variable instead of an IP address or name (in /etc/hosts): Instead of : zone z.example.com { primary 192.168.0.1; secondary 192.168.0.2; } Defining ...
0
votes
1answer
66 views

dns server assigned from dhcp is equal to the address of the client

I had the following enviroment configuration: http://i.imgur.com/9chRJT8.png Ubuntu VM /etc/network/interfaces: auto eth0 iface eth0 inet static address 192.168.10.11 netmask 255.255.255.0 ...
0
votes
0answers
66 views

Failed to restart isc-dhcp-server.service: Unit isc-dhcp-server.service is masked

Basically we follow this guideline to setup dhcp server. We downloaded isc-dhcp-server in Ubuntu. After we changed the /etc/dhcpd/dhcp.conf, we restart dhcp server by entering sudo service isc-dhcp-...
0
votes
0answers
33 views

client DHCP configuration : No DHCPOFFERS received

I worked on this architecture of network ! Why are no DHCP offers received?
1
vote
0answers
73 views

isc-dhcp-server Computers not receiving IP addresses

I originally ran isc-dhcp-server on a Raspberry Pi until I deleted /lib by accident. I managed to get /etc/dhcp/dhcpd.conf. I installed isc-dhcp-server with sudo apt-get install isc-dhcp-server. Now, ...
-1
votes
2answers
87 views

How can i add additional IP address to my ubuntu server?

I am using Ubuntu server 14.04. I am connecting to internet via dhcp protocol. Right now i connected one more NICs/Lan Cards and i want to assign them IPs. So as a final result my server will be ...
1
vote
1answer
17 views

Can`t display DHCP IP Adress leases

I ve been trying to Display the IP Address leases with: gedit /var/lib/dhcp/dhcp.leases gedit is installed but it still doesn`t work. (gedit:6004): Gtk-WARNING **: cannot open Display: ...
1
vote
1answer
99 views

Ubuntu 14.04 no longer detecting eth0

I have set my eth0 to Shared Internet with other and that used to work. I can't figure out what I may have done to break this, but the eth0 doesn't seem to detect the link ... sometimes it does and ...
0
votes
0answers
10 views

LAN Card behaving inconsistently

I have a system with Ubuntu Server 14.04 installed on it. The onboard ethernet port is faulty. As I want to setup DHCP server on it, I have installed two external LAN cards. I also have a leased line. ...
1
vote
0answers
87 views

How to set up Ubuntu Server as a wireless + ethernet router with IPv4 and IPv6

I have a computer running Ubuntu Server (14.04 but I want to upgrade to 16.04 when it becomes available) with two Ethernet interfaces and one WiFi interface. The interfaces are: Ethernet towards ...
0
votes
1answer
54 views

How can I assign another static IP address to another LAN Card?

Here is my /etc/network/interfaces configuration: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The ...
1
vote
1answer
32 views

How to supernet Class C IP address with isc-dhcp server?

Is this possible? subnet 192.168.1.0 netmask 255.255.248.0 { range 192.168.5.1 192.168.5.254; }
0
votes
0answers
21 views

What happens if the router is reachable but I cannot ping the IP address of my own?

xxx@xxx:~$ ip -6 neigh fe80::fe48:efff:fe30:c7b dev eth0 lladdr fc:48:ef:30:0c:7b router REACHABLE xxx@xxx:~$ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 28:d2:44:e6:9f:d4 inet ...
0
votes
0answers
12 views

What should I configure if my ISP uses DHCPv6 to allocate IP address and NDP to advertise packages?

There seem to be problems with my ISP's IPv6 service so that it makes my connection not stable. I have heard from others that the ISP router uses DHCPv6 to allocate the IPv6 address. However, it uses ...
0
votes
0answers
22 views

Cannot install DHCP

I am trying to install a isc.dhcp-server on Ubuntu 14.04.4 LTS, but every time when I type: sudo apt-get install isc-dhcp-server it cannot find any package by regex. Can someone help me? It is ...