DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

0
votes
0answers
9 views

Different dhcpd lease configuration for PXE and normal client

I know it's possible to configure two separate lease ranges for PXE clients and regular Linux OS clients using pools, as described here. class "PXE" { match if substring(option vendor-class-...
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 ...
3
votes
1answer
934 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 ...
2
votes
0answers
41 views

eth0 NO-CARRIER on Arch/Wired Connection Not Working

The device is a DELL Vostro 1510 and I have tried both the r8169 and r8168 kernel modules. ethtool eth0 shows Auto-negotiation: on MDI-X: Unknown and Link Detected: No. Ip link shows <NO-CARRIER,...
3
votes
2answers
3k 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
1answer
12 views

OpenWrt: do manually configured ip assignments survive a reboot?

As far as I know if I want to make an ip address static, I have to put it into /etc/ethers file. But does it survive a reboot 100% (stored in persistent storage)? I don't want to mess with it and ...
1
vote
2answers
9k views

Can't install isc-dhcp-server on Kali 2.0

I'm using Kali Linux version 2.0 and I want to install the isc-dhcp-server package in order to practice on an evil twin attack but unfortunately I wasn't able to do that. I used this command: apt-get ...
3
votes
2answers
1k 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 its dynamic IP address. When this happens, if I check on the status of the dhcpcd service, it says ...
1
vote
0answers
26 views

Create a "real' second network interface on the fly for DHCP testing

On several Linux remote hosts, I want to test the corresponding remote DHCP servers (the servers are on different hosts, and I don't have access to them). I connect to these hosts with ssh, and don't ...
1
vote
3answers
41 views

isc-dhcp-server not starting due to failing interface detection

I'm trying to setup AP mode on BCM4313 wireless card. My very basic hostapd config looks like this: interface=wlan0 driver=nl80211 ssid=test hw_mode=b channel=1 macaddr_acl=0 auth_algs=1 ...
1
vote
2answers
24 views

How to inhibit dhcpd from outputting over the console login prompt?

As dhcpd negotiates it prints its output on the login prompt, which clutters (messes up, wrangles, uglifies, writes over, obscures [synonyms for googlers]) the console login prompt. How to inhibit ...
0
votes
1answer
37 views

Getting DHCP hostname

I am currently setting up Debian Wheezy on a system and network autoconfigure fails and asked to retry with a DHCP hostname. I have another system (also running Debian Wheezy) hooked up to the same ...
1
vote
0answers
19 views

How to automatically switch between DHCP Server and Client mode on startup of several devices?

I do wan't to have several embedded devices to boot up at the same time and automatically select the first booted device as the dhcp server and the others as client. But every client can be the server ...
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 ...
3
votes
0answers
16 views

What is the default behaviour of IPv4LL on Linuxsystems?

I'm looking for a good source and confirmation about Dynamic Configuration of IPv4 Link-Local Addresses. The rfc Dynamic Configuration of IPv4 Link-Local Addresses didn't really help answer my ...
4
votes
2answers
114 views

Linux DNS Suffix Configuration

Introduction I have a Raspberry Pi running Rasbian connected to a Windows Server based network. This is a corporate (education) network that has its own intranet consisting of all connected computing ...
1
vote
1answer
18 views

Raspbian uses the complete dhcp range

I temporarily had a static ip for my raspberry. Now the config looks like this. /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp But this leads to a ...
2
votes
0answers
30 views

How to share a DHCP Server(Debian) that is created on VMware to other PC in the same switch

I've created a dhcp server(in Debian) on VMware. When I launch a new virtual machine on the same computer it works fine, it receives an IP address from the DHCP server. But how to connect other ...
3
votes
0answers
193 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
49 views

Set up DHCP for LXC containers

I have several lxc containers that need network access. At the moment I am manually allocating them IP addresses in the relevant config file as so: lxc.network.type = veth lxc.network.flags = up lxc....
4
votes
2answers
78 views

Send my IP to remote server every time booting

I want to send my computer's IP automatically every time it boots. I edit /etc/rc.local sleep 10 ifconfig > /tmp/myip scp /tmp/myip <server> exit 0 I tried, and there is no inet addr, ...
2
votes
1answer
47 views

How to PXE boot an IPCop installation?

I need to PXE boot my IPCop installation on a computer, but I don't know how to boot the OS over PXE, since I cannot find a pxelinux.0 file. I've put all IPCop files and folders in the /srv/tftp ...
0
votes
0answers
36 views

DHCP and Option82 unable to allocate addresses

On my pc, I have four NICs - eth0,eth1,eth2,eth3. eth1 is connected to the company LAN. eth0,eth2,eth3 are connected to a switch I am currently configuring as a study. eth0 is the dhcp server, eth2 is ...
0
votes
1answer
64 views

Connect to commercial VPN on OpenBSD 5.9

I recently installed OpenBSD 5.9 and I'm trying to get it functional enough to use as a replacement for Debian. One thing where I hit a brick wall is connecting to my VPN. I use a commercial VPN which ...
2
votes
0answers
50 views

DHCP to assign different addresses for multiple interfaces and subnets

First of all, I'd like to point out that I've read any related questions asked here. So, on my desktop computer (running Ubuntu) I have three NICs - eth0, eth2, eth3. I have links connecting these ...
0
votes
2answers
256 views

Can I stop IPv6 “Router Advertisement” filling syslog without disabling IPv6?

My syslog looks like this: Apr 1 19:05:25 raspberrypi dhcpcd[699]: eth0: Router Advertisement from fe80::c23e:fff:fe63:5170 Apr 1 19:07:35 raspberrypi dhcpcd[699]: eth0: Router Advertisement from ...
5
votes
2answers
153 views

Better method for acting on IP address change from the ISP?

I have a Debian server at home. The server is my router and provides VPN access to the outside. I do not have a static IP address; the lease time given by the ISP is two hours.This cable cell seems ...
4
votes
2answers
8k 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?
3
votes
2answers
86 views

Configuring FreeBSD to get IP from my FreeBSD DHCP Server

I have a scenario where I have two FreeBSD machines. I setup one to be a DHCP server so it can lease IP address. I have provided IP ranges, default DNS , host name , and all other settings in my dhcpd....
1
vote
3answers
58 views

Check my DHCP lease?

Is there a way to show my current (client) DHCP lease? Or even better - retrieve all options/infos sent with DHCPACK?
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
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 ...
1
vote
0answers
17 views

How do I troubleshoot DDNS forwarding problem?

Running BIND 9.10.3-P4-RedHat-9.10.3-12.P4.fc23 and DHCP Server 4.3.3-P1. DNS Zones report no errors and appear to work (dig, nslookup, nsupdate, dnssec, rpz, etc.). DHCP starts up without complaint, ...
1
vote
0answers
52 views

Allowing GRUB to access network in BIOS mode

I want grub to fetch some configuration via tftp/http. Using efi I can do insmod efinet and net_ls_cards will list my network cards which I can configure and use. Using PXE in BIOS/legacy mode ...
1
vote
2answers
195 views

Cannot connect to the internet (even pinging my own router) on any distro

I always run Windows 10 (Ethernet and WiFi work fine) but I dual boot and changed my distro from Arch (~6 months ago) to Fedora (~3 months ago). Fedora used to connect sometimes and sometimes not. ...
0
votes
0answers
52 views

No response to DHCP broadcast

Following on from this question, I'm still trying to get ethernet and DHCP working on a buildroot-based embedded Linux board. Here's what I'm trying: The ethernet interface is brought up using ...
2
votes
1answer
68 views

Why are my if-up.d scripts running before DHCP(v6) has completed?

I'm using DHCP and have both IPv4 and IPv6. I want to run a script that updates an IPv6 DDNS service when my network is configured. I created a script at /etc/network/if-up.d/update_dns however this ...
0
votes
1answer
100 views

Configure multiple interfaces with DHCP on CentOS

I am trying to get a DHCP-assigned address for a veth device (veth-inside) inside of a network namespace (myns) on CentOS 7, but dhclient is already running. The veth peer device (veth-outside) is in ...
1
vote
2answers
150 views

How to stop dhclient from updating resolvconf on Debian?

I want to use certain DNS servers regardless of whatever I get through DHCP. I'm trying to configure dhclient to ignore those, but I can't seem to get it to work. Per advice from this article I added ...
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, ...
0
votes
0answers
25 views

Unable to configure ethernet interface using dhcpcd

I've got an embedded Linux system based on buildroot. I'm trying to get the unit connected to the internet using the ethernet interface, but without success. Here's what I'm trying: After booting up ...
2
votes
1answer
190 views

avahi-daemon withdraws IP address from my network interface

I am running an Arch Linux server in my local network. It has avahi-daemon running on it to advertise some services (like a print server). It has happened for the second time now that my server was ...
4
votes
0answers
40 views

How do I run a systemd oneshot service whenever my system gets a new IPv6 address?

I would like to run a systemd oneshot service whenever my system gets a new IPv6 address assigned to it from the network router (this would be on boot, and periodically throughout its uptime). ...
0
votes
0answers
46 views

How to configure isc-dhcp-server to offer upstream DNS servers?

Every example dhcp.conf I can find has hard coded DNS servers - typically the google public DNS addresses... option domain-name-servers 8.8.8.8, 8.8.4.4; If I leave out the option domain-name-...
0
votes
0answers
75 views

pptp: possilbe to push routes to windows client?

I use pptp (PopTop) as default from Ubuntu 15.10, I try to push some routes to windows clients. Ad I 've read, it should be possible using a dhcp server instead of the internal address configrations. ...
1
vote
0answers
42 views

Hostname won't resolve after setting up new server

I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in /etc/...
0
votes
0answers
75 views

Configuring Dynamic DNS on CentOS 7 without dhcpd service

I have a CentOS server on which I configured DNS but it doesn't serve as a DHCP sever, since I have a d-link router which serves as such (DHCP is enabled on it). Is there a way I can configure Dynamic ...
0
votes
1answer
86 views

Raspbian Jessie wired LAN no DHCPOFFERS from pfSense 2.2.6 DHCP server

Raspberry Pi B+ running Jessie. Spare Compaq laptop running pfSense 2.2.6 with onboard Realtek NIC for the WAN and a Micro Center Inland USB Ethernet adapter for the LAN port. This configuration ...
1
vote
1answer
173 views

How to get BusyBox udhcpc to run in background forever?

I would like to configure eth0 on my BusyBox based Linux system to try and get a DHCP lease for 5 times, then run in the background forever if it doesn't get an IP after those 5 tries (i.e. does not ...
1
vote
1answer
161 views

Upgraded Debian Stable (Jessie) desktop not connecting to wired Internet

I updated my Debian Jessie installation a few days ago to the current minor version (8.3), which included a new Linux kernel (uname -a gives 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-...