Questions tagged [dhcp]

DHCP stands for Dynamic Host Configuration Protocol and is an auto configuration protocol used on IP networks and an extension of the Bootstrap Protocol.

The Dynamic Host Configuration Protocol (DHCP) is an auto configuration protocol used on IP networks and an extension of the Bootstrap Protocol. DHCP allows for computers to be configured automatically to communicate with each other over an IP network without the need for manual setup by a network administrator.

The implementation of DHCP relies on a DHCP server to hand out network configuration information to DHCP-capable clients that request an IP address (and other information required or useful in communicating with other devices on an IP network). In addition to an IP address, common configuration information served over DHCP includes a default gateway, subnet mask and DNS sever(s), though there are many more possible configurations that can be sent out using the DHCP protocol.

More in-depth detail on DHCP and its implementation can be found at Wikipedia.

2127 questions
5
votes
3 answers

IP conflicts with a networked printer

I have 2 computers (Mac with OS 9 and a desktop PC (XP)) that both print to a networked printer (large Xerox Phaser 7700). The printer and the two computers are networked through an old ethernet switch. At the moment, the computers use DHCP. But…
user26379
  • 153
  • 1
  • 4
5
votes
2 answers

isc dhcp class with more match

Is there any way to define more matches with OR? I would like to create a class with a mac address check, like class "fixVms" { match if substring (hardware, 1, 4) = 00:15:5d:aa; } but I would like to add another macs to it, like subclass "fixVms"…
ADIX
  • 53
  • 1
  • 4
5
votes
3 answers

Best practices to set up laptop with wireless and wired interface/NIC over DHCP?

Up to now, I've always configured my laptop with a wired and wireless interface, each of them being offered a different IP address from DHCP, and each of those IP addresses resolving to different host names. This has always felt kludgey but…
Thomas Vander Stichele
  • 1,065
  • 4
  • 14
  • 16
5
votes
1 answer

IPv6 address lifetime: preferred versus valid lease

What is the difference between "Preferred Life Time" and "Valid Life Time" lease. What is the point of preferred and why not just use valid life time lease? Thanks.
user1330287
  • 197
  • 1
  • 2
  • 7
5
votes
0 answers

How can I identify a rogue IPv6 DHCP server on my LAN?

This will be kind of a long post, but I want to give complete information. I have a home/business LAN with isc-dhcp-server running an ipv4 dhcp server and bind as a DNS server running on an ubuntu server box. I have comcast business, and the…
surfrock66
  • 163
  • 3
  • 15
5
votes
1 answer

Using dnsmasq to service multiple subnets

I'm pretty new to using dnsmasq, and I would like to keep utilizing it in my lab environment. However, being new, I am unsure what commands/files to use. I've spent two days doing research and learning how my environment was configured, and I am…
5
votes
2 answers

How does 3G/Mobile phones get allocated an IP address? Does this mess with Google Analytics?

This question is in two parts. Q1. How does a mobile phone get an IP address over 3G? Like, would it get the same IP for a shortish period of time (Eg. 1 day, etc)? Because my phone is constantly going in and out of buildings and underground car…
Pure.Krome
  • 6,508
  • 18
  • 73
  • 87
5
votes
1 answer

How to set DHCP IPs of standard LXC containers?

When you create some containers on a host, e.g.: sudo lxc-create -n container1 -t ubuntu sudo lxc-create -n container2 -t ubuntu the LXC system creates IP address for the hosts on a new subnet, e.g. lxc-ls --fancy NAME STATE IPV4 …
eos
  • 551
  • 4
  • 10
  • 27
5
votes
2 answers

Why do I get "No subnet declaration" starting ISC DHCP server on subinterfaces?

I have created two subinterfaces on eth0 : eth0:0 with IP 192.168.10.1/24 eth0:1 with IP 192.168.11.1/24 Configured /etc/dhcp/dhcpd.conf like that: option domain-name-server 194.204.159.1; subnet 192.168.10.0 netmask 255.255.255.0 { option…
someHOW
  • 51
  • 1
  • 4
5
votes
1 answer

Possible to have DHCP hand out different DNS server address when using different tunnel?

We have several ASA 5505 deployed. Currently, we have a setup where the local ASA is answering DHCP queries and is configuring clients with two DNS servers: our DR site DNS server (we use AD) and a public DNS. We need to give clients access to "the…
brandeded
  • 1,845
  • 8
  • 32
  • 50
5
votes
2 answers

HP Procurve 2920 VLANs with DHCP cannot ping

I have problem setting up working VLANs and DHCP server on HP Procurve 2920. My problem is that I cannot even ping computers between VLANs with static ip addresees. winXP pc on VLAN101 with 192.168.1.1 static IP default gateway 192.168.1.2 win2008…
Koto
  • 53
  • 1
  • 1
  • 6
5
votes
4 answers

Setting up a Secondary DHCP Server, for failover

Possible Duplicate: Can I have multiple DHCP servers on one network? Current Environment: Windows Server 2003 (Primary Domain Controller) Primary DHCP Active Directory Print Server Exchange 2003 Windows Server 2008 (Secondary Domain…
Anicho
  • 285
  • 2
  • 5
  • 11
5
votes
2 answers

How to correctly configure DNS usage in Ubuntu? Authoritative answers without RA flag are ignored

I have latest clean Ubuntu 14.04.1 64-bit from official website installed in Virtualbox. I connect to a VPN network using vpnc that sets 2 DNS servers using DHCP: user@virtual:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc…
grigoryvp
  • 3,655
  • 11
  • 39
  • 59
5
votes
2 answers

Assign fixed IP address via DHCP by DNS lookup

Preface I'm building a virtualization environment with Ubuntu 14.04 and LXC. I don't want to write my own template since the upgrade from 12.04 to 14.04 has shown that backwards compatibility is not guaranteed. Therefore I'm deploying my virtual…
Janos Pasztor
  • 279
  • 2
  • 6
5
votes
2 answers

Have DHCP use different scopes based on MAC address using Server 2012

I'd like my Windows 2012 DHCP server to give ShoreTel phones IP addresses from one scope, and everything else IP addresses from another scope. For example, I'd like to give phones IPs from 192.168.132.0/24, and everything else IPs from…
Alex S
  • 75
  • 1
  • 2
  • 5