DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

1
vote
1answer
512 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
1
vote
0answers
28 views

How do you prevent a DHCP release during shutdown?

I am currently using Ubuntu 14.04, but expect this to be applicable for different distros. I would like to prevent a DHCP release during shutdown, and opt for either the lease to expire or for a DHCP ...
5
votes
4answers
521 views

Automatically acquire new IP address in new network

I'm running a Centos virtual machine on a laptop using a bridged network connection to avoid double-NAT issues, with the address assigned via DHCP. This works fine until I move the laptop to another ...
2
votes
1answer
368 views

How to configure dhcpd to register ipv4 with bind while having static ipv6 addresses?

I have IPv6 configured on my local network via radvd; it advertises a routable IPv6 block, that all the machines auto-configure.s I have IPv4 assigned to a NAT'd block via dhcpd and that updates ...
1
vote
1answer
617 views

PXE boot chaining to hardcoded TFTP server?

My existing network environment provides the following: DHCP server that sends PXE clients to a particular TFTP server TFTP server with SYSLINUX "pxelinux.0" file for booting The SYSLINUX ...
2
votes
2answers
437 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
0
votes
2answers
52 views

Can ping Debian VM via IP but not via hostname

On my work's network, my new debian headless VM is not visible via its hostname. I'm using: Debian Jessie Virtualbox bridged adapter I can see other VMs on my machine from the headless VM, and I ...
2
votes
2answers
1k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
2
votes
1answer
53 views

Wifi not working

I just dual-booted windows 7 with Debian 7, during the installation it said the wifi firmware was missing so I installed without an internet connection, after the installation I got my LAN cable to ...
1
vote
1answer
583 views

Location of dhclient.conf

I need to check the client DHCP settings, which I expect to be in the file /etc/dhcp/dhclient.conf, but there is no such files there. What is the location of this file in RHEL 6, on 64 bit?
5
votes
1answer
478 views

How to auto generate resolv.conf on Centos 6.5

I just installed CentOS 6.5 and configured the following files: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=aa:bb:dd:dd:ee:ff TYPE=Ethernet UUID=adfddfaf-9sda-adse-dfs4-asdfsdfdfg97 ...
4
votes
4answers
2k views

Fedora 20 - wifi hotspot almost work but something wrong

I have a Sony Vaio notebook with WiFi, and need to setup a hotspot (an ad-hoc one) under Fedora 20. I successfully did it under Debian and SuSE, but under Fedora I am struggling to understand the ...
2
votes
1answer
54 views

Specifying DNS settings to override those of DHCP

Every 6 months or so I cannot access the DNS on whatever router I'm using. usually have to add the nameserver by hand to the /etc/resolv.conf file. I've tried adding Google free DNS to the file and it ...
3
votes
1answer
252 views

How to setup wireless AP with two wifi cards and ethernet as WAN on debian?

I'm trying to build wireless AP with 2 Atheros cards (AR5413 / AR5414 both), and one ethernet card to act as WAN. I am also having doubts if I should use ath5k or madwifi drivers. I've tried both ...
1
vote
2answers
5k views

Unable to set hostname for use within network

I am having a lot of trouble setting up a hostname for my home server for use within my home network. My home server is running Ubuntu 12.04 LTS and all packages are up to date. Management of this ...
3
votes
1answer
72 views

Spoofing or removing DHCP client hostname in response to DHCP server

In linux, when my machine requests an IP address it also sends the hostname back to the DHCP server. How can I stop my machine from sending back this hostname? I use dhclient, possibly via ...
1
vote
0answers
25 views

ISC DHCP Server - A Client's Uplink Is Not Working

Running a DHCP server, client(s) does not have up-link (0Mbps) and has a downlink (50Mbps.) I am setting up a gateway/router on a PC running Debian Wheezy with ISC-DHCP. I have 1 WAN (eth0) and 2 LAN ...
2
votes
0answers
47 views

why is dhcpd listening on udp port 38053 and udp6 port 40572?

I am running a dhcp server with dhcpd from isc and thought it should only be listening on port 67. Why is it also listening on those other ports? I cannot seem to find what those ports are for, but ...
1
vote
1answer
229 views

Pxeboot: Client not getting ip address from the DHCP Server

I am Working on Pxeboot. I have a Ubuntu system as KVM and in that system I installed Virtual machine manager. I also installed Ubuntu in the virtual machine. Before I start my virtual machine, I ...
1
vote
1answer
62 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
1
vote
1answer
78 views

Setting up a gateway between two subnets on the same physical network

I need to configure a DHCP-enabled network (192.168.2.) on a physical layer where resides an already existing network (192.168.1.) with static IPs. I have a Debian 7 server with two interfaces (server ...
2
votes
2answers
13k views

Debian dhcpd “No subnet declaration for eth0”

I am trying to set up a pxe boot server on a Debian 6.0.3 Squeeze machine that gives images of PLoP Linux. I was following a tutorial from ...
2
votes
1answer
698 views

dhcpcd can't startup at boot

when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive dhcpcd@eth0.service loaded ...
1
vote
0answers
14 views

Why do I get “authentication” errors on this “Open” configuration?

I have the following ifcfg-wlan0 file: DEVICE=wlan0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.5.1 NETMASK=255.255.255.0 NETWORK=192.168.5.0 NAME=wlan0 USERCTL=no the following dhcpd.conf file: ...
1
vote
1answer
36 views

DHCP Problems Virtualbox

I have some minor issues with Ubuntu server on a virtual machine and even though I have some assumptions as to what actually happens, I'd like to ask all of you about your opinion. Here's the deal: I ...
2
votes
0answers
60 views

Use eth0 and eth1 for different subnets and assigned host name to interface?

I have a machine running SELES 10 with dual NIC Both the NICs are on separate subnets. The server uses a DHCP. So when one interface, eth0, gets the IP from DHCP and registers with DNS and then the ...
1
vote
1answer
68 views

dhcp: way to check the online status of the device

On Linux there is the file /var/lib/dhcpd/dhcpd.leases. I need to determine, for the devices for which information contained in this file, whether the device is online at a given moment. Is there any ...
2
votes
3answers
327 views

DHCP server not responding to requests from KVM guest

I've setup a DHCP server on my Debian server (Proxmox) so that I can provision IPs to my KVM guests on the server automatically. For some reason the DHCP server (isc-dhcp-server) isn't responding to ...
1
vote
1answer
35 views

Creating a virtual interface to always access a DHCPed interface with the same ip

I have an interface that on connect always gets a new IP. So I want to create a virtual interface with a static IP that "relays" everything over the physical interface. This would be useful to bind ...
5
votes
2answers
155 views

How to send an alert if the DHCP range exceeds using shell script?

I've install and configure DHCP server on CentOS 6.5. I've also added a subnet to the dhcpd.conf file as follows: subnet 192.168.1.0 netmask 255.255.255.0 { option domain-name-servers 192.168.1.2, ...
3
votes
3answers
3k views

How to request a hostname from a DHCP server on Ubuntu?

I have an Ubuntu 11.04 server virtual machine. I would like to request a specific hostname from the DHCP server at the office. Since I don't run it often, the IP changes nearly every time that I boot ...
1
vote
0answers
75 views

dhclient cannot get address from home router

I have a home router providing internet access to my desktop and laptop. Both computers are running Ubuntu GNU/Linux version 12.04, and have been configured to use DHCP upon installation. So the ...
0
votes
2answers
117 views

dhcp query to get IP by MAC

I am using CentOS 6.5 and Internet Systems Consortium DHCP Server 4.1.1-P1 I found this file /var/lib/dhcpd/dhcpd.leases but not simple to parse it in bash is there any way to get the online clients ...
1
vote
1answer
54 views

Debian server doesn't show in DHCP list on router

I have a Raspberry Pi running Raspbian which is connected over ethernet to my router. The router has been running both with DCHP and Static IP addresses and over the local LAN I can connect fine over ...
2
votes
1answer
182 views

is it possible for DHCP to assign different IP addresses to the same machine?

I have install and configure a DHCP server on my centos6.5, it works properly and assign IPs to the clients Machines in my Network, and As I noticed when a client reconnect the dhcp reassign the IP ...
1
vote
1answer
51 views

need assistanse with dhcpd.conf understanding

How can i interpret following: class "blade-1-01-1" { match if substring (option dhcp-client-identifier, 9, 1) = 01 and substring (option dhcp-client-identifier, 5, ...
3
votes
1answer
282 views

Arch Linux not picking up static DHCP lease from DD-WRT

I have a Arch Linux system on my home network and its MAC address is setup in my Linksys running DD-WRT to receive a static lease. However, this system is not getting the static lease from the DD-WRT, ...
2
votes
0answers
38 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
0
votes
1answer
352 views

How to request a specific IP address from DHCP server?

I'm running Angstrom Linux on an embedded device (BeagleBoard-xM). I managed wireless connection via a Wi-Fi adapter. When I load its driver using modprobe, BB-xM requests an IP address from router ...
0
votes
0answers
44 views

How to set “statements” attribute for group object in Omshell

Dhcpd has group objects which contains two attributes: name data the name of the group. All groups that are created using OMAPI must have names, and the names must be ...
2
votes
1answer
65 views

How to handle DHCP on two network interfaces, one clobbers the other's /etc/resolv.conf

I have an embedded Debian Linux system. It has two network interfaces, eth0 and ppp0 via a cell modem. The problem I have is that when the system boots up it gets an address via DHCP on eth0. If ...
3
votes
5answers
3k views

How to overcome libc resolver limitation of maximum 3 nameservers?

Suppose I work in environment with number of domain changes and slow propagation. I want to test domain configuration immediately after setting change but the propagation is slow. So I want to add ...
2
votes
2answers
154 views

Strip specific option from a response in dhclient

I aim to prohibit dhclient from updating my NTP config with servers received via DHCP, as it is the default on Debian/Ubuntu. However, my DHCP server ignores the list of requested options (from the ...
3
votes
2answers
2k views

DHCPv6 prefix delegation server for linux?

What linux DHCPv6 client can I set up so it requests a prefix on one interface and then on all the other interfaces it will give out addresses (or if requested, a smaller prefix delegation)? It would ...
2
votes
1answer
85 views

Wireless network AND dhcp wired server

I have an ubuntu server, which automatically connects to a wireless network on startup. This is achieved through /etc/network/interfaces: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet ...
2
votes
2answers
2k views

How to set dhclient options for Networkmanager

I'm trying to modify the domain search order that is obtained via DHCP a la dhclient.conf: append domain-search "example.com"; I'm using Fedora 17 (beta) and it uses NetworkManager. It builds a ...
7
votes
3answers
515 views

How do I get NetworkManager to keep the same IP?

The DHCP-provided IP on my laptop changes periodically. It runs CentOS 6.5 and uses NetworkManager. My desktop, running Sabayon, on the same network, does not have this problem. How can I get ...
2
votes
1answer
210 views

Why is Debian hangs after DHCP?

This is my /etc/networking/interfaces file: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 auto And here is a picture of where it is hanging:      Source: ...
1
vote
1answer
221 views

Converting DHCP to static on ubuntu 12.0.4

I am trying to set up a static IP address for my new Ubuntu server. I have been trying to do some research and found information that got me started on this reference page. One thing that was ...
1
vote
1answer
57 views

How to configure DHCP so that hostname is not sent?

A simialr question Host name on terminal changes when I connect internet : why? But since it was not resolved in my case so I am putting it here and asking in a different way. The answer given here ...