DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

1
vote
1answer
15 views

How to get IPs via DHCP, through a router from another DHCP server?

ISP -> OpenBSD box -> Wireless router We have an OpenBSD machine that connects directly to the internet, has dhcp/dns cache "server" on it, and forwards the connection to clients via ethernet ...
2
votes
0answers
15 views

configure port for dhcp request in uboot

We are fetching ip using DHCP in u-boot. we need to send via same interface (eg eth1) every time. but DHCP request sent via any configured interface(eth1/eth2..). How can we configure u-boot to send ...
0
votes
0answers
19 views

Cannot get IP address from WiFi access point (hostapd) with DHCP (dnsmasq) bridged with two ethernet adapters (bridge-utils)

My Android phone is trying to get DHCP address through WiFi connection, but fails. Obviously, I might have messed up something in my settings because I couldn't find a complete guide which would let ...
2
votes
0answers
26 views

How is resolv.conf maintained when there are two network cards?

I have a Debian Wheezy VMware virtual machine guest with two network cards. One is in bridged mode and has access to the internet. The other is in host-only mode and does not. Some process, perhaps ...
1
vote
1answer
714 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 ...
1
vote
1answer
573 views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
1
vote
1answer
52 views

ifconfig not showing ip address under eth0

Usually when I connect my raspberry pi to my laptop using an ethernet cable, the ifconfig command in each computer would show the ipaddress of each computer under eth0. I recently got a new raspberry ...
2
votes
1answer
1k views

DHCP IP lease attempt failed over ethernet and dhcp with netctl

My dhcp ethernet works fine in Windows but not in Arch Linux with netctl and dhcpcd. What am I doing wrong? Output of "ip link" 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state ...
3
votes
1answer
168 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 ...
3
votes
3answers
168 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 ...
0
votes
0answers
4 views

Turning off dhcp name resolution in dnsmasq

I configured dnsmasq to forward queries to 168.192.in-addr.arpa to another server, but if I send an request for an address to dnsmasq, and there is a device configured via dhcp with a name then ...
4
votes
3answers
4k 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 ...
1
vote
2answers
44 views

Append DNS suffixes to /etc/resolv.conf

Is it possible, and how do I configure CentOS 6.6 so that /etc/resolv.conf will obtain its configuration via DHCP, but will also have additional domain names added to the search line? Bonus points if ...
1
vote
1answer
1k 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
638 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 ...
2
votes
2answers
713 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 ...
1
vote
2answers
9k 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 ...
0
votes
0answers
18 views

DHCP server easy switch

i have a server, running Centos, that bring reserved DHCP for mac to 5 computers, but they have diferentes ip depending on some external parameters, and i change manually everytime, and i want know ...
4
votes
1answer
64 views

what is “rfc3442-classless-static-routes” in /etc/dhcp/dhclient.conf

I am trying to debug DHCP on my laptop (I am using dhcping and dhcdump to see what the DHCP server sends back). Following is my /etc/dhcp/dhclient.conf. option rfc3442-classless-static-routes code ...
2
votes
0answers
39 views

dhclient appears to give address but interface does not get assigned it

I am trying to connect to wifi using wpa_supplicant. I use this config: network={ ssid="guest" #psk="guest" psk=<numbers> } I also tried this config: update_config=1 network={ ...
0
votes
0answers
25 views

How to use “on commit” with isc-dhcp-server (IPV6)

I try to use the "on commit" trigger in isc-dhcp-server. I made prefix delegation, and I have problem with updadting routing table, so i want to use the isc dhcp triggers to manually update routing ...
1
vote
0answers
34 views

Stop DHCP from flooding network with available IP-addresses

I'm currently setting up a dhcp within a network with multiple other DHCP-servers (school) and lately I've received some complaints that my DHCP in particular keep flooding the network and spamming ...
2
votes
2answers
532 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
0answers
53 views

Problems forcing Debian to obtain IP from predetermined server address using DHCP from nameserver on network

I am having trouble getting my Debian server to change the address where it requests its IP address. I currently have two routers. My primary distributes IP addresses to various machines on the ...
5
votes
5answers
678 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
2answers
483 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 ...
6
votes
2answers
370 views

What overwrites /etc/resolv.conf on every boot?

I was given the files for a mini linux, that boots directly into firefox. It works for all it should be doing, only that I do not get an internet connection. We have 3 DNS servers in the network, ...
1
vote
1answer
49 views

How to set and get DNS and DHCP servers addresses

On my openSUSE 13.2, I have a case to set and get DNS and server addresses. I managed to get the DNS address by parsing /etc/resolv.conf, my concern now is setting DNS and DHCP. Does changing the ...
1
vote
0answers
172 views

isc-dhcp-relay service doesn't work

192.168.2.1(dhcp server) -> (eth1 192.168.2.3)[ubuntu 14.04 dhcp relay server](eth0 192.168.1.1) -> Client isc-dhcp-relay successful installed, configuration file is #/etc/default/isc-dhcp-relay ...
0
votes
0answers
28 views

DHCP occasionally assigning IP address with hostapd

I am currently getting my internet from a building of mine two blocks from where I live. I usually use a wireless card to connect to the access point that has the internet..What I am trying to do is ...
0
votes
2answers
102 views

How to automatically apply wpa_supplicant configuration?

To authenticate in a corporate network I have to run the following command: $ sudo wpa_supplicant -i eth0 -D wired -c /etc/wpa_supplicant/mywired.conf -B The configuration script loaded thereby ...
0
votes
1answer
60 views

How to fix or bypass the DHCP handshake to get an IP address

My linux box can't seem to get a DHCPOFFER from my router. This is blocking me from getting internet access on the linux box. Here's the setup: I have two computers, a linux box called mocha and a ...
0
votes
0answers
61 views

How can I have hosts register their IPv6 addresses in Windows DNS

Windows clients support registering their IPv4 and IPv6 addresses in DNS after obtaining the address from a DHCP server or via IPv6 Router Advertisements. For my CentOS 7 and Fedora 21 boxes I'd like ...
3
votes
2answers
1k views

What is the simplest way to connect to wireless on a Debian system with nothing but essential?

I have a Debian Jessie system which, for reasons unrelated to this question, has nothing installed but the set of essential system packages. What is the simplest method for connecting to a wireless ...
5
votes
4answers
3k views

Maintaining `/etc/hosts` for hosts on DHCP

On my local DHCP network I have different PC's that I need to access remotely. Problem is that their IP's change. Sometimes I plug my laptop and netbook into other people's DHCP networks. My current ...
0
votes
1answer
125 views

Debian stuck in Endless DHCPNAK/OFFER loop unless I ask DHCP server to clear expired leases

have a Marvel Kirkwood device running Debian with 3.16 Kernel. On boot, the DHCPClient gets stuck in a loop and never picks up an ip unless I log onto the dhcp server and ask it to dump the expired ...
0
votes
0answers
21 views

No DHCP OFFERS on several PCs in same network

I have different PCs and 2 of them don't get an IP-address (because they don't get a DHCP-offer) by the ISP, while the others do. I pluged them directly in my cable-modem, one after another. But when ...
1
vote
1answer
41 views

How can I have a bridge that uses DHCP?

I have set up a linux box (centos 7) to use for virtualizing some servers. I have set up a bridge, but I need to do it with DHCP, but it doesn't seem to like it. The reason I need DHCP is because ...
6
votes
4answers
4k views

Docker + Bridges + DHCP

I have a lot of docker containers that I need addressable on the the same LAN as their hosts. Up until now, I have been achieving this by using setting up a bridge and manually assigning them IPs, and ...
9
votes
3answers
19k views

Why are my two virtual machines getting the same IP address?

I have two virtual machines both running on a Linux host (Fedora 16). I set both adapters as attached to NAT. When I boot them up they both have their default gateway set to 10.0.2.2. They also ...
0
votes
3answers
289 views

what is dhcpv6-client service in firewalld, and can i safely remove it?

In a CentOS 7 server, I type in firewall-cmd --list-all, and it gives me the following: public (default, active) interfaces: enp3s0 sources: services: dhcpv6-client https ssh ports: ...
1
vote
1answer
69 views

Auto-population of /etc/resolv.conf not working?

I am using Raspbian with a static setup in /etc/network/interfaces. I have read from multiple credible sources that the /etc/resolv.conf file is populated by other software on the system, commonly ...
1
vote
1answer
907 views

DHCP Kali Linux

I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean: ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route ...
2
votes
2answers
927 views

Why can't I start isc-dhcp-server upon installation?

I'm following this tutorial to install Linux in a system that does not have CD reader nor USB boot capabilities. Eventually, I reached the point where I had to install isc-dhcp-server and I did, sort ...
2
votes
1answer
637 views

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

I have installed and configured a DHCP server on my CentOS 6.5. It works properly and assign IP addresses to the clients machines on my network, and as I noticed when a client reconnect the DHCP ...
3
votes
3answers
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 ...
0
votes
0answers
35 views

How to use dhcpd on two network interfaces?

I have an embedded system that has Ethernet and wifi. I want to setit up in a way that it provides IP to both interfaces. The system uses BusyBox. and I an new in this area. can you provide a sample ...
0
votes
1answer
99 views

dhclient took minutes to get an IP

For some reason my mini-computer had no IP address, so I performed sudo ifdown eth2 followed by sudo ifup eth2. What followed was a 5 minute grudge match of my client fighting the server to see who ...
4
votes
2answers
28k views

Setup static IP in redhat 6

I installed Redhat 6 x86_64. I am using the Network connection screen to set a static IP address like below (I want two PC's in my house to see each other: one Redhat PC and one Mac) 192.168.0.5 ...
1
vote
1answer
113 views

How to know DHCP options value on debian/ubuntu and other linux

How to know all DHCP options and values (on the client side, Linux Ubuntu / Debian / ArchLinux ) provided by the server. I need to pass non-standard option to the client by the DHCP option code ...