DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

0
votes
1answer
120 views

centos firewall seems block dhcpv6 reply message

It's very strange that my CentOS cannot receive dhcpv6 reply message from dhcpv6 server. I have enabled the rule dhcpv6-client. Every time I try to bring up the interface, dhcpv6 request messages are ...
0
votes
2answers
660 views

DHCP and read-only root filesystem

When doing ifup wlan0 on a system with / mounted as read-only (embedded computer), I get this error: Failed to connect to non-global ctrl_ifname: wlan0 error: Read-only file system Internet Systems ...
1
vote
1answer
128 views

How to broadcast two access points?

How do I broadcast two access points with two WiFi cards with hostapd? Most tutorials don't work since udhcpd doesn't work with two access points. Example tutorial: http://elinux.org/RPI-Wireless-...
0
votes
0answers
51 views

Restarting dhcpd.conf failing

I am trying to setup a Kickstart server and when I am trying to restart the dhcpd server after having updated dhcpd.conf it is throwing a "failed" error. I am installing the Kickstart server on a ...
0
votes
1answer
80 views

DHCP server does not appear on nmap, no errors

I have tried to get into Ubuntu thing recently (newest edition), but I've got a problem with DHCP server. I configured the files /etc/network/interfaces and /etc/dhcp/dhcpd.conf according to my ...
1
vote
0answers
125 views

How to get router info in “dhcp4-change” event in /etc/dhcp/dhclient.d/ script?

Am trying to add a script which will get executed on DHCP ip change for a particular interface. for that I have copied the below script at "/etc/dhcp/dhclient.d/dhcp-hook.sh". I need to get router ...
0
votes
1answer
557 views

Configuring Network using dhcpcd

I have installed the new raspberrypi-net-mods using dhcpcd on my Pi running the latest Raspbian. This works, but I am trying to understand why and how. I have read the dhcpcd and interfaces man pages ...
0
votes
1answer
40 views

dhcpd restart command asks for password from command line but not from a script?

I have a script that runs and will ssh into another server to restart its dhcpd. In the script, the command literally is: sudo ssh -n $SERVER /sbin/service dhcpd restart This works fine when the ...
1
vote
1answer
326 views

Static IP changes to dynamic automatically after time

I have found only one discussion about my problem here, but not a solution. I have access to one Debian 7.8.0 amd64 virtual machine (under VMware) and its IP address is gained through DHCP, e.g., 192....
0
votes
1answer
355 views

Problems Setting Up DHCP Server On CentOS 6

I have been trying to set up a DHCP server on CentOS 6 running on an Intel NUC i7. I have installed dhcpd and am using the example dhcpd.conf subnet 192.168.1.0 netmask 255.255.255.0 { option ...
1
vote
1answer
2k views

TFTP times out in CentOS 7

I have an isolated server that telnets into the single device on its network and loads a file to it using the telnet command load. I am trying to recreate the functionality on another PC. The old ...
1
vote
1answer
275 views

How to block the response of certain DHCP server

There are multiple DHCP servers that run on our LAN, and some of them are unwanted. Can I configure my OS to reject certain responses so that I can get the correct one?
3
votes
0answers
292 views

Configure a freeRadius server with dhcp function

I have installed a freeradius server on a debian machine and it is working correctly. I want to configure my freeradius server to provide IP addresses for the authenticated users! Can any one tell ...
1
vote
0answers
46 views

Multiple DHCP Offers - Which is selected? [closed]

I have created a testing scenario in VMWare for a man in the middle attack using DHCP spoofing. It's for a college project. Windows 8 machine bridged to host adapter Kali linux bridged to host ...
2
votes
1answer
45 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
4
votes
0answers
473 views

dhcp ipv6 dynamic prefix delegation

I'm trying to setup Linux-based home gateway with IPv6 support. IPv4 configuration is finished and I'm using IPv4 NAT, ISC DHCP for addresses allocation, PowerDNS for local DNS setup, PDNS recursor to ...
2
votes
2answers
193 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 cable/...
2
votes
0answers
75 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
2k 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
105 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
390 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 ...
1
vote
2answers
5k 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 ...
5
votes
1answer
2k 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
291 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={ ssid="...
1
vote
0answers
239 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 ...
1
vote
0answers
339 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 ...
1
vote
1answer
709 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
2k 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
1answer
257 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 ...
1
vote
2answers
1k 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
2answers
608 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 ...
1
vote
1answer
125 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 ...
4
votes
1answer
3k 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
3answers
2k 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: ...
2
votes
1answer
1k 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
3answers
5k 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 ...
9
votes
3answers
14k 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, ...
4
votes
2answers
16k 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 ...
0
votes
1answer
323 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 ...
1
vote
1answer
865 views

Arch Linux: Should I keep the dhcpd service if I'm using connman?

Running systemd-analyze blame tells me that dhcpd.service is running. I remember enabling this in order to get automatic Ethernet connection back when I was installing Arch. Now I installed connman ...
3
votes
1answer
88 views

dhcpd does not allow filename option with a colon in it

For some reason, tftpboot does not work with a colon in filename parameter: group { filename "node7:linux/pxelinux.0"; host machine_7a { hardware ethernet 02:01:02:02:01:11; fixed-...
2
votes
1answer
2k views

How to force network to wait for DHCP with systemd-networkd?

I'm using systemd-networkd to configure my interfaces: [Match] Name=enp3s0 [Network] DHCP=v4 It works quite well except that at boot, some services are not waiting for DHCP to finish. For ...
1
vote
0answers
106 views

Testing DHCP range; multiple addresses per interface

I set up a DHCP server; I have a range defined, for ~1k hosts. Is there a way to test all the addresses? This is the first time I have a task like this and I would like to know what will happen when ...
9
votes
4answers
12k 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 ...
0
votes
1answer
79 views

Is it possible to suggest an IP to my DHCP server for my client to use?

Is it possible for a DHCP client on Linux to suggest an IP to a DHCP server? I have no access to the DHCP server. I cannot use static networking, or DNS will not work. (DNS on my network is set up ...
1
vote
1answer
684 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 ...
3
votes
3answers
994 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
2answers
992 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
1answer
1k 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 ...
3
votes
1answer
3k 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 ...