DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

0
votes
1answer
12 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
30 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., ...
2
votes
2answers
599 views

Why does Debian hang 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: ...
0
votes
0answers
21 views

Virtual Box Bridged network failed to get IP (DHCP) No DHCPOFFERS received

My goal is to get Bridged network working. When I try to UP interface in my Virtual Box VM, it tries some DHCPDISCOVER messages, but eventually I get No DHCPOFFERS received. I found where is the ...
0
votes
0answers
13 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 ...
0
votes
1answer
23 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
25 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?
1
vote
0answers
18 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 ...
2
votes
3answers
1k views

dhclient exits with status 0 but still no address

I've been trying to find out with the man page and some other sources if the exit status doesn't necessarily mean you achieved an address but I'm thinking I maybe didn't read it correctly. Does anyone ...
0
votes
0answers
18 views

dhclient allows for address conflicts

I invoke from my application dhclient but there is a problem with IP addresses conflicts. If I have other interface with statically set IP address, dhclient does not send DHCPDECLINE when DHCP Server ...
0
votes
2answers
1k views

FATAL: Module p80211 not found. RTL8192CUS WLAN regression under antiX 13.1 (Debian Wheezy)

The problem concerns a driver support regression for the RTL8192CUS WLAN chip under antiX 13.1, a Debian Wheezy (stable) based distribution. The chip actually resides in a Edimax EW-7811Un 802.11n ...
1
vote
1answer
703 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 ...
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 ...
6
votes
2answers
15k views

Command to list assigned dhcp addresses

Is there a command I can use to ask the dhcpd server which addresses have been assigned?
10
votes
4answers
18k views

How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)

How can I find out if my IP address is DHCP, Fixed or Dynamic? I need to tell my network administrator what the IP address is, that my Virtual Machine is using. I know the numbers, but I don't know ...
2
votes
2answers
738 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
13 views

dnsbind not working from client end

I am trying to configure dnsmasq in a virtual environment. I have created 2 VMs in VMWare Work Station. Was successful in installing and configuring DNS Server and able to do nslookup of client and ...
3
votes
1answer
2k views

How do I set dhclient debug info on?

On a FreeBSD computer Is there a DHCP client log that I could use to debug a DHCP issue? Can I set a debug param to get more information from the dhclient? UPDATE #1 I found a lead on this ...
1
vote
0answers
18 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 ...
1
vote
0answers
10 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 ...
2
votes
2answers
22 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 ...
1
vote
0answers
52 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
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 ...
5
votes
3answers
1k views

Change default search name

My Ubuntu12 server VM is receiving its IP address from an DHCP server (actually my WLAN router called Fritz Box). Hence all domain names are resolved to machinename.fritz.box. The reason seems to be ...
1
vote
1answer
657 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
742 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 ...
2
votes
0answers
22 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
90 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
33 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
87 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 ...
3
votes
1answer
178 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
194 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
8 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
133 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
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
19 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
133 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
57 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
61 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
44 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
64 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
694 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
508 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
570 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
82 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
321 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
35 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
130 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
76 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 ...