DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

2
votes
0answers
21 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
125 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 ...
3
votes
2answers
45 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, ...
5
votes
2answers
125 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 ...
3
votes
2answers
7k 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
55 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 ...
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
36 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 ...
3
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 ...
9
votes
4answers
11k 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
2answers
6k 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 ...
3
votes
1answer
865 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 ...
0
votes
0answers
32 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 ...
1
vote
0answers
9 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
41 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
158 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
22 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
45 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
49 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
103 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 ...
8
votes
3answers
12k 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
24 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
134 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 ...
3
votes
0answers
35 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
26 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 ...
0
votes
0answers
43 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
38 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 ...
0
votes
0answers
52 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
55 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
98 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
123 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 ...
1
vote
1answer
86 views

Does a wifi router have to handle DHCP for its clients?

I'd like to manage the IP addresses within my network a little better than my router currently allows. But I have (what is potentially a stupid) question. Before I embark on a journey of learning and ...
0
votes
0answers
68 views

How to set kali linux IP Address Networking issue

I need your help regarding one small confusion. I have installed kali linux directly on desktop hard disk. i have also installed VirtualBox running vulnerable vm's inside kali linux OS with a network ...
1
vote
1answer
821 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
2answers
82 views

How to run a script upon IP change

My Debian machine is currently part of my home LAN, behind the ISP box which handles all network related activities (DHCP, firewalling, telephony, IPTV, ...). A classical case of residential home ...
2
votes
1answer
81 views

How is udhcpc executed and how to change it?

I am working on an embedded system and it uses udhcpc as its DHCP client. It seems to be running with the following parameters: /usr/share/udhcpc # ps | grep dhcp 5366 root 2432 S udhcpc -R ...
3
votes
0answers
279 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 ...
0
votes
1answer
141 views

LXC ip allocation using DHCP

I'm trying to set up DHCP for my lxcontainers without using lxc-net. The reason for this decision is that I'd like to place my containers in different networks, such that they are unable to talk to ...
0
votes
1answer
79 views

Can't connect to home WiFi - DHCP problem?

I am using wicd for wifi connections. Everything worked fine, but now I suddenly can't connect to my home network anymore. While troubleshooting I tried to set up a hotspot from my Smartphone which ...
1
vote
2answers
41 views

How to reinstall dhcpcd without internet connection

I deleted dhcpcd off my arch install without realizing it was the IP provider for wireless. I need to get it re-installed, but I have no internet connection. I deleted the unused cache files with ...
0
votes
2answers
35 views

Is a subnet required for a dhcp.conf?

I am setting up my dhcp.conf file for my dhcp server. All documentation says you 'can' define subnetworks but I have not seen and example without them. Definitions of a subnetwork say they are a ...
0
votes
0answers
107 views

increasing lease-time on dhclient.conf in Debian

This is the default dhclient.conf in Debian testing and which is running on my system too - [$] cat dhclient.conf ...
2
votes
2answers
1k 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 ...
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 ...
0
votes
1answer
104 views

dhclient enter/exit hooks to update resolv.conf

I would want to append the below line to resolv.conf of all servers in our aws env and make sure it doesn't get overwritten options timeout:1 attempts:1 rotate I came across dhclient enter and exit ...
3
votes
1answer
50 views

Network Manager does not handle switching between networks by default

I have to transition between different networks quite often using a laptop and various docking stations. If I remove my laptop from a certain network and place it again on the same network then no ...
0
votes
1answer
226 views

Unable to resolve hostname for Redhat Linux server

I've setup a Linux RedHat server and would like to use it by referring to its hostname instead of the static IP. eg. ssh admin@myhostname.blah.di.blah, instead of ssh admin@XX.XXX.XX.XXX but I get a ...
0
votes
0answers
222 views

How to auto-renew IP from DHCP if IP is lost or changed?

I have a Synology DS1515+ fileserver running "BusyBox v1.16.1 (2015-10-28 13:23:20 CST) built-in shell (ash)", stripped down from commands. Machine is running Linux 3.10.35 #5644 SMP Tue Dec 1 ...