Skip to main content

Questions tagged [dhcp]

Dynamic Host Configuration Protocol; allows computers on the same network to automatically obtain unique IP addresses and other network configuration parameters.

20 votes
1 answer
35k views

Network devices getting an IP address in the 169.254.x.x range?

I'm totally confused by what's happening to my wifi router, so seeking help here. Configuration I have a modem/wifi router (Netgear CG3000D—let's call it main) connected to cable and configured with ...
Dennis K's user avatar
  • 303
35 votes
6 answers
37k views

Add a static IP alias to a DHCP interface on Windows 8 (and above)

I have a Windows 8 machine that has only a single Ethernet port. It needs to use DHCP and also needs a static IP. Each IP is in a different subnet, and each serves a different, incompatible purpose. ...
Warren Young's user avatar
  • 3,765
15 votes
3 answers
40k views

Creating WiFi Access point on a single interface in Linux

I am trying to create a WiFi hotspot or an access point on my Linux laptop. I am using Opensuse Kde 12.3. I found out a software called hostapd which lets you create hotspot but it requires two ...
adityap174's user avatar
35 votes
1 answer
58k views

How to request a specific IP address from DHCP server?

How to request a specific IP address from DHCP server? This question also touches the topic of DHCP address reservation in a router. Background: My home routers DHCP table only allows to create an ...
leo's user avatar
  • 814
93 votes
5 answers
86k views

How can I stop Mac OS X overriding my hostname when I receive a DHCP request on Snow Leopard?

Whenever I go on a network where the DHCP server assigns hostnames then it overrides the settings I've set for my hostname on my Mac in the "Sharing" section of System Preferences. How do I stop this ...
Mike McQuaid's user avatar
  • 4,109
43 votes
3 answers
153k views

Why is Windows' default IP address 169.xx.xx.xx?

My Windows system got an 169.xx.xx.xx IP address the other day, and I fixed the issue, but why did Microsoft chose this address as the default? Why not 1.xx.xx.xx or 255.xx.xx.xx? Did one guy at ...
Adam's user avatar
  • 1,813
31 votes
6 answers
44k views

Why do most routers not include local DNS?

I need to change my firewall/router, and I'd prefer something with built-in DNS to resolve queries on the local subnets. I've got a mixed Linux/Windows system, often with only one computer turned on, ...
EML's user avatar
  • 463
27 votes
3 answers
53k views

Wrong IP address from DHCP client on Ubuntu 18.04

I'm experiencing a weird issue where my Ubuntu 18.04 (server) box gets issued a wrong IP address during boot from the DHCP server. Running dhclient after boot on the interface results in the right IP ...
NoMad's user avatar
  • 782
18 votes
7 answers
88k views

Is there a way to disable the DHCP client in Raspbian Linux on a Rasperry Pi?

I have a Linux server (Rasperry Pi using Raspbian as OS) that should be using only static IP. However I noticed that it also has got IP from DHCP server (The IP given out by DHCP is 192.168.111.2). ...
Madoc Comadrin's user avatar
17 votes
6 answers
148k views

Can I chain two routers together keeping DHCP on both?

I have read that I can connect a second router by turning off DHCP and NAT, but I want the second router to assign DNS (I'm using it as an access point for my kids, and will use OpenDNS family service ...
Aerik's user avatar
  • 970
6 votes
3 answers
24k views

What is the "Alternate Configuration" tab in TCP/IP settings

As I know there is two choice for configuring a computer IP address in the network. Assigning a Static IP or obtaining a dynamic IP from a DHCP server. But what is the Alternate Configuration in ...
Isaac's user avatar
  • 728
69 votes
2 answers
123k views

What is the difference between ARP binding and DHCP address reservation?

In my TL-WR1043ND I have these functionalities and both of them pair an IP address to a MAC address. What is the difference? I read that ARP is for security reasons, others say it is for Wake-on-LAN. ...
totymedli's user avatar
  • 5,234
55 votes
8 answers
327k views

How to force Windows 7 to ask for a "fresh" IP address from DHCP server?

I'm troubleshooting a certain issue with my DHCP configuration, and need my Windows machine to ask for a "fresh" IP address, so I can see which address DHCP server gives by default. When I do ...
haimg's user avatar
  • 22.7k
26 votes
8 answers
96k views

Why is my subnet mask 255.255.255.255?

I have a modem which used for internet broadband and I got an IP address in the 'A' class 10.x.x.x and have netmask 255.255.255.255. What does 255.255.255.255 mean exactly? When I try to sniff with ...
capede's user avatar
  • 491
15 votes
5 answers
71k views

DHCP Reservation vs Static IP address

So after browsing some websites, some people are telling me that static IP address is the best. But others say the DHCP Reservation is just as good if not the same. So what is better? Or are they ...
Ron Crafton's user avatar
11 votes
2 answers
23k views

Getting 2 IP addresses on one network card, using DHCP

Given: A computer running Linux (CentOS 5.x), one network card connected to LAN switch, a second one to cable modem via crossover cable. This computer acts as a router/firewall/traffic shaper for the ...
haimg's user avatar
  • 22.7k
7 votes
2 answers
3k views

WiFi cannot connect to internet in two router setup

I am struggling to setup my home network. I have the following setup, also shown in the diagram below (sorry for the MS Word screenshot!): My landlord has an ADSL connection, established by Router 1, ...
Pieter Müller's user avatar
6 votes
1 answer
33k views

Configure Windows Firewall to allow DHCP client and specific remote IPs only

I've configured Windows Firewall in Windows 7 to block all traffic on the public interface, except to certain IP addresses, as described here: https://superuser.com/a/456326/112560 The problem is, ...
EM0's user avatar
  • 1,852
6 votes
3 answers
32k views

Why do some devices not show up in the connected clients list on my Asus RT-AC68U router?

I have two other routers (RT-AC57U) connected to my main router via 30m ethernet cables, and set up as access points. Everything works perfectly - I can connect via wifi to any of the routers, and ...
Codemonkey's user avatar
5 votes
8 answers
18k views

How can I change my public IP address?

I'm looking for a way to change my public IP address. You know, the one that other websites see. I know what I'm looking for is basically a proxy server, but I don't want to use a proxy for 2 ...
Bob Dylan's user avatar
  • 221
4 votes
1 answer
9k views

Unique IP address settings (static/dhcp) per wireless network? [duplicate]

Possible Duplicate: Automatically picking network settings based on the wifi network Is this possible in Windows 7? For example, I want to use Static IP A with Network A, DHCP with Network B, ...
iglvzx's user avatar
  • 23.7k
4 votes
6 answers
5k views

Blocking rogue DHCP in network

I'm living in a dorm that has a large network and lots of people connecting their routers to get wifi (they are technically not allowed to do that but no one will check the rooms for connected routers)...
dan-ros's user avatar
  • 165
3 votes
2 answers
5k views

How do I permanently assign an IP address with DHCP?

I am wondering if there is anything (software or hardware) out there that can do something I think I may have made up, Dynamic Static IPs. The idea is that when a new device connects to the local ...
o.comp's user avatar
  • 159
2 votes
4 answers
57k views

Getting strange IP Address from router

I've had a router set up for quite some time and it has been working perfectly. My wife called me to tell me the wireless internet wasn't working and when I came home I saw that my phone was connected ...
kfrance's user avatar
  • 58
2 votes
5 answers
7k views

How access network computers by name

I have a local home network. The computers get IP address from a router via DHCP. So the address are dynamic and change. How can I assign names to computers to be able refer by name? One computer is ...
grigy's user avatar
  • 319
1 vote
3 answers
19k views

How can I put two wireless routers on the same subnet? [closed]

I have two Netgear wireless routers; one primary (WNR2000) connected to the Internet, and a secondary (WNR1000) connected to the primary via a long Ethernet cable to the other side of my home. A LAN ...
glenviewjeff's user avatar
  • 1,744
1 vote
2 answers
532 views

How can I know the DHCP settings offered by a server?

I want to debug a router that is giving strange DHCP settings, but I don't know how to check it without having to make my system take all the configurations. Isn't there a utility that returns all ...
Braiam's user avatar
  • 4,749
0 votes
1 answer
863 views

dhclient fails and breaks networking (uses a weird ip/subnet mask settings)

Yesterday the router on the network went bad and seemed to start giving out IP addresses on 192.168.100.x IP addresses, it was unreachable, after a while it seemed to resolve itself and was accessible ...
DangerosoDavo's user avatar
0 votes
0 answers
8k views

2 default gateways, one to 0.0.0.0... with DHCP

A problem that I have here with Windows 7 (RTM) and Windows Vista (SP2), on multiple machines, is that clients get a default gateway of the DHCP server (like they should) but on top of that, also a ...
Jeroen Landheer's user avatar
51 votes
6 answers
11k views

Why is a router needed?

I‘ve been trying to figure out why a router is needed. I know a router can be used for DHCP and some other things, but I’m just thinking of networking with static IPs. So the following: Is it ...
Maxbit's user avatar
  • 621
44 votes
4 answers
14k views

How does a router obtain its IP address?

So let's assume I connect a secondary router to my first. An Ethernet cable from one of the LAN ports to the secondary router's WAN. Now, how does my secondary router actual obtain its IP address? ...
Regnard Groob's user avatar
36 votes
4 answers
147k views

Release/renew IP address via Terminal in OS X

I am looking to release and renew my IP address in OS X 10.4 (Tiger) using Terminal. Essentially, I need the OS X equivalent of Windows': C:\\> ipconfig /release C:\\> ipconfig /renew ...
user avatar
22 votes
4 answers
106k views

How to see what DHCP client does?

Does the dhcp client on Linux write any logs? If not, can logs be enabled and how? If it writes logs, where can they be found? How does a typical log of a dhcp client look like when obtaining IP ...
Gustave's user avatar
  • 1,587
17 votes
3 answers
15k views

Unable to resolve .foo.local domain names

My workplace has an intranet with domain names like server01.foo.local, server02.foo.local, etc. I recently booted the Fedora 16 live environment to test it out and discovered that these domain names ...
rhollencamp's user avatar
15 votes
1 answer
21k views

Windows clients not using NTP server provided via DHCP

I have a network consisting mostly of Windows Vista and 7 clients and an Ubuntu server. The server provides both the DHCP and NTP services through dhcp3-server and openntpd. In my dhcpd.conf, the ...
Oliver Salzburg's user avatar
14 votes
2 answers
23k views

Force to use MAC address as DHCP client ID on Debian Buster

Debian Buster dhclient randomly uses its MAC address or a generated DUID-LLT as its DHCP client ID. Can I force it to always use MAC address instead of the generated DUID-LLT? I know the option send ...
massa's user avatar
  • 531
14 votes
10 answers
105k views

Accessing a router which isn't a DHCP server

I have a Linksys WRT54GL router with Tomato installed on it. My network configuration requires me to disable the DHCP server on the router. After disabling it, I do not know the IP of the router ...
Adam Matan's user avatar
  • 8,500
14 votes
4 answers
25k views

How to configure `eth0` to retry `dhclient` when unplugged and replugged?

I'm working on a linux gadget. I want it to get DHCP if I plug in the network cable after it has booted up already or if the network cable unplugged and replugged. One solution is to run a script ...
coolaj86's user avatar
  • 963
10 votes
9 answers
200k views

Windows 10 not getting IP address from DHCP

My PC is running Windows 10 64 bit. I don't know why it is not getting an IP address from the DHCP server; I am sure it's a configuration problem. It is getting an IP like 169.… Here is what I have ...
Mrigank's user avatar
  • 101
9 votes
4 answers
9k views

What does static DHCP mean? Static Dynamic is confusing

I've found some home wireless routers/ADSL+ modems (ZyXEL 660) talking about Static DHCP, when refering to assosiating a specific MAC to an IP, but still serve the configuration over DHCP. Doesn't ...
voyager's user avatar
  • 2,750
8 votes
4 answers
12k views

Obtaining a DHCP IP address if static address is not available

I have seen some questions that are similar to my problem but not a good solution. Ex. User has a laptop and has a static IP address at the office. They also take the laptop off site where they also ...
user142485's user avatar
  • 1,771
8 votes
1 answer
78k views

Can I configure my Windows 10 PC as a DHCP server on a local switch?

I'm creating a local network that I would like to have DHCP capability. I have a primary Windows 10 PC that will be on the local network full time. Is it possible to configure this PC as a DHCP server ...
Izzo's user avatar
  • 227
7 votes
2 answers
16k views

dnsmasq without altering /etc/hosts file manually

I've trying to get dnsmasq working as a combined dns and dhcp server. It's infuriating so far... In short, the DNS works fine for anything added to /etc/hosts, and the dhcp works fine, but the dhcp is ...
Sirex's user avatar
  • 11.1k
7 votes
2 answers
4k views

How can I show all active leases of a Virtualbox DHCP server?

I'm trying to debug an issue and trying to figure out if a particular Machine of mine even has an IP. How can I show all the leases of a Virtualbox DHCP server? The reason I can't just log into the ...
Philippe's user avatar
  • 325
6 votes
1 answer
16k views

Understanding DHCP discovery specific subnet

I am learning networking and in class we are talking about DHCP. I understand that when a host just joins a network it does not have an ip yet so it sends out a dicovery message. we are using ...
Peter Sun's user avatar
  • 199
6 votes
3 answers
39k views

Arch Linux Install Cannot Enable dhcpd

I am trying to setup internet with arch linux. I just installed it using parallels and got the following error: [root@singularity ~]# systemctl enable dhcpd.service Failed to issue method call: No ...
735Tesla's user avatar
  • 175
6 votes
1 answer
21k views

I don't want my DHCP to be a default gateway

I have a device which runs a DHCP server. When I connect it with USB to my computer, the PC gets an IP address and the device becomes the default gateway. I just want the device to agree on IP ...
user1190's user avatar
  • 630
5 votes
7 answers
31k views

How to assign a static IP with a linksys WRT54G2?

For all my googleing it appears the best you can do is tell your computer not to use DHCP; I cannot find a way to do this at the Access Point level. EDIT: This is not for port forwarding. This is ...
Will's user avatar
  • 860
5 votes
1 answer
9k views

How can I determine the IP addresses allocated by DHCP on a router that I'm connected to?

This “router” is not a typical situation. I’m using my phone as a hotspot and can only configure a select number of DHCP options. I can manage the limit on how many devices/clients can use my phone ...
user234831's user avatar
5 votes
2 answers
5k views

How does DHCP distribute or choose which IP to give within the scope?

There is something strange happening with my OpenWrt firmware. The scope for my DHCP is 100 to 250 in the 192.168.1.* range but the first IP it gave is 192.168.1.189. Is there any reason it started ...
Rushino's user avatar
  • 644

15 30 50 per page