Tagged Questions

DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

1
vote
1answer
20 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
30 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; ...
0
votes
0answers
42 views

pptp and openvpn clients dhcp from server

I would like the following: Ubuntu server with PPTP server and OpenVPN server and a DHCP server Ubuntu clients all with the same PPTP username and OpenVPN client certificate. Client connects to ...
2
votes
1answer
82 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
27 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 ...
1
vote
1answer
398 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
24 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
28 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 ...
1
vote
0answers
57 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
220 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
92 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 ...
2
votes
1answer
149 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 ...
3
votes
1answer
122 views

Spoofing or removing DHCP client hostname in response to DHCP server

In linux, when my machine requests an IP address it also sends the hostname back to the DHCP server. How can I stop my machine from sending back this hostname? I use dhclient, possibly via ...
1
vote
0answers
38 views

ISC DHCP Server - A Client's Uplink Is Not Working

Running a DHCP server, client(s) does not have up-link (0Mbps) and has a downlink (50Mbps.) I am setting up a gateway/router on a PC running Debian Wheezy with ISC-DHCP. I have 1 WAN (eth0) and 2 LAN ...
2
votes
0answers
91 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 ...
1
vote
1answer
80 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
1
vote
1answer
699 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
146 views

Setting up a gateway between two subnets on the same physical network

I need to configure a DHCP-enabled network (192.168.2.) on a physical layer where resides an already existing network (192.168.1.) with static IPs. I have a Debian 7 server with two interfaces (server ...
5
votes
1answer
3k views

How to auto generate resolv.conf on Centos 6.5

I just installed CentOS 6.5 and configured the following files: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=aa:bb:dd:dd:ee:ff TYPE=Ethernet UUID=adfddfaf-9sda-adse-dfs4-asdfsdfdfg97 ...
1
vote
0answers
19 views

Why do I get “authentication” errors on this “Open” configuration?

I have the following ifcfg-wlan0 file: DEVICE=wlan0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.5.1 NETMASK=255.255.255.0 NETWORK=192.168.5.0 NAME=wlan0 USERCTL=no the following dhcpd.conf file: ...
1
vote
1answer
51 views

DHCP Problems Virtualbox

I have some minor issues with Ubuntu server on a virtual machine and even though I have some assumptions as to what actually happens, I'd like to ask all of you about your opinion. Here's the deal: I ...
2
votes
0answers
78 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
41 views

Creating a virtual interface to always access a DHCPed interface with the same ip

I have an interface that on connect always gets a new IP. So I want to create a virtual interface with a static IP that "relays" everything over the physical interface. This would be useful to bind ...
5
votes
2answers
196 views

How to send an alert if the DHCP range exceeds using shell script?

I've install and configure DHCP server on CentOS 6.5. I've also added a subnet to the dhcpd.conf file as follows: subnet 192.168.1.0 netmask 255.255.255.0 { option domain-name-servers 192.168.1.2, ...
1
vote
1answer
85 views

dhcp: way to check the online status of the device

On Linux there is the file /var/lib/dhcpd/dhcpd.leases. I need to determine, for the devices for which information contained in this file, whether the device is online at a given moment. Is there any ...
2
votes
3answers
627 views

DHCP server not responding to requests from KVM guest

I've setup a DHCP server on my Debian server (Proxmox) so that I can provision IPs to my KVM guests on the server automatically. For some reason the DHCP server (isc-dhcp-server) isn't responding to ...
0
votes
2answers
193 views

dhcp query to get IP by MAC

I am using CentOS 6.5 and Internet Systems Consortium DHCP Server 4.1.1-P1 I found this file /var/lib/dhcpd/dhcpd.leases but not simple to parse it in bash is there any way to get the online clients ...
1
vote
1answer
80 views

Debian server doesn't show in DHCP list on router

I have a Raspberry Pi running Raspbian which is connected over ethernet to my router. The router has been running both with DCHP and Static IP addresses and over the local LAN I can connect fine over ...
1
vote
0answers
131 views

dhclient cannot get address from home router

I have a home router providing internet access to my desktop and laptop. Both computers are running Ubuntu GNU/Linux version 12.04, and have been configured to use DHCP upon installation. So the ...
2
votes
1answer
311 views

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

I have install and configure a DHCP server on my centos6.5, it works properly and assign IPs to the clients Machines in my Network, and As I noticed when a client reconnect the dhcp reassign the IP ...
1
vote
1answer
73 views

need assistanse with dhcpd.conf understanding

How can i interpret following: class "blade-1-01-1" { match if substring (option dhcp-client-identifier, 9, 1) = 01 and substring (option dhcp-client-identifier, 5, ...
2
votes
0answers
47 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
3
votes
1answer
448 views

Arch Linux not picking up static DHCP lease from DD-WRT

I have a Arch Linux system on my home network and its MAC address is setup in my Linksys running DD-WRT to receive a static lease. However, this system is not getting the static lease from the DD-WRT, ...
0
votes
1answer
662 views

How to request a specific IP address from DHCP server?

I'm running Angstrom Linux on an embedded device (BeagleBoard-xM). I managed wireless connection via a Wi-Fi adapter. When I load its driver using modprobe, BB-xM requests an IP address from router ...
0
votes
0answers
59 views

How to set “statements” attribute for group object in Omshell

Dhcpd has group objects which contains two attributes: name data the name of the group. All groups that are created using OMAPI must have names, and the names must be ...
2
votes
1answer
79 views

How to handle DHCP on two network interfaces, one clobbers the other's /etc/resolv.conf

I have an embedded Debian Linux system. It has two network interfaces, eth0 and ppp0 via a cell modem. The problem I have is that when the system boots up it gets an address via DHCP on eth0. If ...
2
votes
2answers
258 views

Strip specific option from a response in dhclient

I aim to prohibit dhclient from updating my NTP config with servers received via DHCP, as it is the default on Debian/Ubuntu. However, my DHCP server ignores the list of requested options (from the ...
2
votes
1answer
116 views

Wireless network AND dhcp wired server

I have an ubuntu server, which automatically connects to a wireless network on startup. This is achieved through /etc/network/interfaces: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet ...
2
votes
2answers
2k 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 ...
7
votes
3answers
755 views

How do I get NetworkManager to keep the same IP?

The DHCP-provided IP on my laptop changes periodically. It runs CentOS 6.5 and uses NetworkManager. My desktop, running Sabayon, on the same network, does not have this problem. How can I get ...
2
votes
1answer
284 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
1answer
266 views

Converting DHCP to static on ubuntu 12.0.4

I am trying to set up a static IP address for my new Ubuntu server. I have been trying to do some research and found information that got me started on this reference page. One thing that was ...
1
vote
1answer
67 views

How to configure DHCP so that hostname is not sent?

A simialr question Host name on terminal changes when I connect internet : why? But since it was not resolved in my case so I am putting it here and asking in a different way. The answer given here ...
1
vote
1answer
1k 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?
1
vote
0answers
426 views

dhcp settings wifi radar linux mint

I am trying to connect to my wifi network. Using the standard connection manager in linux mint 13 xfce was not a good idea. No wifi networks are shown there. and when I left-click on it, the wireless ...
0
votes
1answer
872 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 article ...
1
vote
0answers
592 views

Getting Samba 4.1's “internal DNS” to update hostnames from dhcpd

Samba 4 comes with its own "internal DNS" which can be used rather than BIND. Since Samba 4's main new feature is AD replacement, I would figure that its DNS would function similarly to Windows ...
2
votes
1answer
793 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 ...
4
votes
4answers
3k views

Fedora 20 - wifi hotspot almost work but something wrong

I have a Sony Vaio notebook with WiFi, and need to setup a hotspot (an ad-hoc one) under Fedora 20. I successfully did it under Debian and SuSE, but under Fedora I am struggling to understand the ...
3
votes
1answer
301 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 ...