Questions tagged [dhcp]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
27k views

Set up Windows10 sharing wifi over ethernet

This is a bit of an embarrassing question: on one hand one would assume it's straightforward (lot's of similar hits in google, I haven't found it asked here before...), on the other hand all purported ...
MASL's user avatar
  • 159
4 votes
2 answers
3k views

How to use local DNS server for specific domain, and use DHCP-assigned DNS for everything else

I have the need to run a local DNS server for a local (non-routable) domain on my laptop, for development purposes. Simply editing /etc/hosts is not sufficient for my case, because I need certain VMs, ...
Flimzy's user avatar
  • 4,404
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
4 votes
2 answers
2k views

In Windows 8, How do I make a static IP for each network?

I would like to have it so that my computer sets its IP address statically depending on which network that it is connected to. I have 3 Networks that I regularly use and it seems that with Windows I ...
WalterM's user avatar
  • 291
4 votes
1 answer
16k views

Arch Linux: eth0 no carrier - network fails at boot

The problem My computer is connected to a network where dhcp is required. So my network configuration in /etc/rc.conf looks like interface=eth0 address= netmask= broadcast= gateway= My deamons are ...
user905686's user avatar
4 votes
2 answers
1k views

how to broadcast a PXE server like Trinity Rescue Kit

I would like to set up a portable PXE server for diagnostic purposes. The issue is that I won't always have access to the DHCP server, or the router itself (sometimes a home router) doesn't have an ...
Larry G. Wapnitsky's user avatar
4 votes
2 answers
16k views

Modify registry for Internet Connection Sharing?

My OS is Windows XP. Quoted from How to Change the IP Range for the Internet Connection Sharing DHCP service: 1. Use Registry Editor to modify the data value of the IntranetInfo value in the ...
Tim's user avatar
  • 17.3k
4 votes
1 answer
4k views

Configuring default gateway returned by dhcp server

I have a machine which connects via ethernet to a private LAN, and wireless to a network which provides internet connectivity. The private LAN uses a wireless router to perform DHCP. The problem is ...
gravidThoughts's user avatar
4 votes
8 answers
32k views

cannot renew ip unable to contact dhcp server

Hey all, I'm trying to switch up a home network from one computer (XP Service Pack 2) directly connected to via a modem to 2 computers (adding a Macbook) connecting through a router. The Macbook is ...
user avatar
4 votes
0 answers
11k views

Internet connection drops every 10 minutes (exactly)

Since I've moved to a new apartment a few months ago and changed my I ISP (the one shared with other apartments in building - same router) I experience internet drops (ethernet) every ten minutes, ...
CJLM's user avatar
  • 111
4 votes
1 answer
1k views

Only start DHCP server when there is none available elsewhere

I have a portable linux box running ubuntu 16.04 with a single network interface, which when plugged in to a network should make sure that there is a DHCP server on that network. Two cases: (a) if ...
jakob's user avatar
  • 151
3 votes
3 answers
4k views

DHCP Reservation vs Mac address filtering. Are they the same security?

I am able to give an ip address to a wired/wireless device based on the mac address. Other automatic DHCP is turned off. Is this as effective as a security measure as MAC filtering? It just seems ...
Valamas's user avatar
  • 1,545
3 votes
2 answers
36k views

Pinging own machine returns an IPv6 address instead of IPv4

When I ping my own machine I get an IPv6 address: Reply from fe80::1004:p8f0:9e40:a42c%10: time<1ms Reply from fe80::1004:p8f0:9e40:a42c%10: time<1ms I used to get the IPv4 address (eg. 192....
CJ7's user avatar
  • 1,139
3 votes
3 answers
24k views

My first home network setup with a wireless router and switch

I just got a Linksys SRW224G4 switch (24 10/100, 4 10/100/1000) I already have a Linksys WRT54GS router. (I know it's old, but it works) My problem is that well, I have no idea what I'm doing. I ...
Josh's user avatar
  • 195
3 votes
2 answers
2k views

What are ping packets made of?

What exactly are in the packets that are sent via the ping command? I was reading a Wikipedia article about magic numbers and saw this: DHCP packets use a "magic cookie" value of '63 82 53 63' at ...
Wuffers's user avatar
  • 19.3k
3 votes
6 answers
66k views

How to run a DHCP Server on Windows XP? [closed]

How can I create a DHCP server in a Windows XP environment?
user avatar
3 votes
3 answers
3k views

Can I use my Wi-Fi Router as a DHCP server for the rest of my network if I connect a switch into the ISP modem and connect items into the switch?

I am finally getting fiber, but now have to figure out how to handle the traffic. I was going to get a cheapish network switch such as this: TP-Link TL-SG3428X It has SPF+ connections that will allow ...
Tolga's user avatar
  • 236
3 votes
1 answer
675 views

NIC card using strange IP address

I'm using Windows Vista on a laptop, and while my wireless card works fine and takes the address the wireless router's DHCP server gives it, for some reason when I plug my (built-in) laptop NIC port ...
larryq's user avatar
  • 305
3 votes
1 answer
543 views

What is the initial source address used by a DHCPv6 client when DHCP is used for address assignment?

When DHCPv6 is used for address assigment (determined by the M-Flag of a NDP Router Advertisment Message) the host obviously does not have a valid link-local address yet. For Stateless Address ...
goulashsoup's user avatar
3 votes
1 answer
26k views

Archer C7 AC1750 Bridge Mode

I have an Archer C7 AC1750 wireless router which is great but I can't enable bridge mode through my modem, so I need the Archer's DHCP service to be disabled and pass the DHCP from my modem through a ...
Nabeel's user avatar
  • 43
3 votes
2 answers
2k views

After assigning public IP address using DHCP, whatsmyip shows expected 193.x.x.x but ifconfig shows 169.254.x.x link-local address

The computer in question has a Linux SO and is connected to a local network that has DHCP service active. I configured a public ip address to be given to that computer by the DHCP and I can ssh into ...
rmarques's user avatar
3 votes
1 answer
18k views

How can I tell DD-WRT DHCP to assign same IP to the same device?

I installed DD-WRT mini image on my router. I have a board that gets rebooted a lot(development device). It is very frustrating that my board keeps getting different addresses every couple of reboots. ...
Atilla Filiz's user avatar
  • 1,156
3 votes
3 answers
8k views

Accesing internet with Host-Only network VirtualBox

I have two VMs in my VirtualBox. Both are FreeBSD and should communicate between each other. I have created network with DHCP enabled and set like this: Server Address 10.10.10.1 Server Mask 255.255....
Bibo's user avatar
  • 211
3 votes
3 answers
26k views

How to disable disclosing a computer name to a network?

I don't use (I've disabled it by normal means and blocked the ports with personal a firewall) Windows Networking (CIFS aka NetBIOS aka SMB etc), but my PC has a name as it seems to be mandatory in ...
Ivan's user avatar
  • 7,523
3 votes
4 answers
15k views

Netgear router/powerline adapter assigning wrong IP address via DHCP

I've got a problem with my router and powerline adapter, for some reason my router and powerline adapter assign odd IP addresses to me network devices, but not all of them and not all the time:/ You ...
andrewktmeikle's user avatar
3 votes
1 answer
654 views

OS X location aware networking

I have a macbook running OS X 10.6.2. I would like to be able to use DHCP when roaming, but automatically switch to a static IP when my macbook is in range of my home router. Right now I must manually ...
cseaton's user avatar
  • 358
3 votes
1 answer
2k views

Why does DHCP Server prefer unicasting over broadcasting and at what cost?

According to this book the DHCP Offer must be broadcast, yet sniffing DHCP packets: it looks like neither OFFER nor ACK is broadcast (or am I mistaken here?). The screenshot was taken during: ipconfig ...
Nae's user avatar
  • 239
3 votes
1 answer
6k views

Does DHCP change IP addresses with each boot?

I just created my first pentesting lab (VirtualBox setup using metasploitable2/ kali linux etc) and I have set the network to be 'host-only'. I'm sure I've noticed that my local IP's have been ...
Henry's user avatar
  • 131
3 votes
2 answers
5k views

Which server is selected by the client if it receives Offer from 2 DHCP servers at a time?

Which server's IP address is selected if the client receives the Offer from 2 DHCP servers (on different subnet) at a time? I searched Google and the answer I got is: which Offer comes first will be ...
user3017432's user avatar
3 votes
4 answers
25k views

Why can't my router connect to Internet?

I have UPC internet connection (chello.pl). My router is D-Link DIR-300. When I use provided modem to connect to the internet there is no problem. When I try to do it via router, I can't get a ...
Jan Ajan's user avatar
  • 823
3 votes
1 answer
9k views

How to configure a Linux DHCP server when behing a DHCP relay?

Considere the following: How can I configure my DHCP server (isc-dhcp-server package on ubuntu) to feed addresses for 172.16.0.0/18 subnet as it does not has any interface in that subnet? I tried to ...
Nakrule's user avatar
  • 131
3 votes
1 answer
8k views

Netgear DHCP server doesn't provide the inputted dns servers to the connecting computer

I have NETGEAR JWNR2010v3 Router and I have configured it to static IP provided by the ISP. I have configured the preferred and alternate DNS servers provided by the ISP into the router. When I ...
teenup's user avatar
  • 650
3 votes
2 answers
3k views

How does network bridging work in a VM?

For example, I have VMware Workstation which is on a host, host, and a VM running under VMware, zeddicus. Basically I understand in a normal network you plug a computer into the network (or wifi), get ...
cutrightjm's user avatar
  • 4,384
3 votes
2 answers
4k views

No route to host after changing interface to static ip

I installed a Linux (Ubuntu) server inside my home LAN, initially it's automatically configured to use DHCP interface. I'm connecting to this server from another computer using that server's hostname. ...
Dan K.K.'s user avatar
  • 133
3 votes
2 answers
5k views

dhclient configures /etc/resolv.conf with invalid entry

I'm trying to figure out why running dhclient on my interface sets /etc/resolv conf to the ip number of my gateway(router). This entry is invalid and each and every time causes inability to resolve ...
kubal5003's user avatar
  • 489
3 votes
1 answer
7k views

Default to Static IP when no DHCP is found

I've setup a DHCP server on one of my centos boxes, and I have several computers that are going to connect (also centos) and hopefully make use of the DHCP. On start-up I'd like to check whether a ...
Max's user avatar
  • 260
3 votes
3 answers
4k views

host(1) command only uses first nameserver?

According to the man page, host ought to query "the server or servers listed in /etc/resolv.conf," but it only uses the first entry in that file: thefourthtower:$cat /etc/resolv.conf nameserver 8.8.8....
reve_etrange's user avatar
3 votes
1 answer
1k views

Static IP Leases not working in DD-WRT

If I go to Services --> Services --> Static Leases, and enter the MAC address + desired Hostname + desired IP, then save, it seems like everything worked, but after waiting a day the IP address ...
BlueRaja - Danny Pflughoeft's user avatar
3 votes
2 answers
11k views

Can we change the DHCP client-id from /etc/network/interfaces?

I would like to know if there is a way to hardcode a DHCP client id inside /etc/network/interfaces. Preferably in a way that would supersede the client's mac address as a determiner for obtaining a ...
init_js's user avatar
  • 375
3 votes
1 answer
520 views

Subnetting and node isolation

I'd just like to ask about networking... I'm a total novice to networking so I'm sorry if this isn't possible but I think it is. I have 2 Sky SR101 routers. One is connected to the modem and ...
Brandon Powell's user avatar
3 votes
1 answer
4k views

Can't see DHCP Discover packet when capturing DHCP traffic

I am getting DHCP Offer as the first packet on a DHCP traffic capture. Why does this happen? Can it be a normal behavior?
Komal's user avatar
  • 31
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
3 votes
1 answer
7k views

How can I find out IP adresses of DHCP clients when I setup internet connection sharing with Network Manager (Linux)?

I sometimes configure routers with my laptop and use connection sharing with Network manager and so my laptop acts as DHCP server. I then need to connect (via ssh usually) to the servers that are DHCP ...
sup's user avatar
  • 819
3 votes
2 answers
8k views

How to get both IPv4 and IPv6 dynamic address

Running dhclient gets me an IPv4 address. Running dhclient -6 gets me an IPv6 address. And the man page says you can't combine v4 and v6. So how to get both v4 and v6 addresses at the same time?
Qian's user avatar
  • 491
3 votes
2 answers
465 views

What type of router (non wifi) for DHCP assignment?

So I have a pretty large house that use to be connected to a business network that had a DHCP server. However we've disconnected that business network and put in residential internet so I need a new ...
ItsPronounced's user avatar
3 votes
1 answer
2k views

Switch between DHCP and static IP

My laptop needs to use DHCP at home and a static IP at work. As far as I can tell, there's no way to flip between one and the other quickly - I'll have to manually configure the network connection ...
l0b0's user avatar
  • 7,341
3 votes
2 answers
3k views

Is an RDNSS or DHCPv6 server allowed to distribute a link-local IP address as DNS server?

And if so, how is this supposed to work? Is the client supposed to attach the interface identifier himself, based on the interface the assignment came through?
barbaz's user avatar
  • 2,994
3 votes
2 answers
273 views

DHCP: Replacing one IP with another

I started having some network problems today and was about to throw in the towel and start finding replacement hardware when I shut the machine down and notices the ping window I left open to the ...
Rob Goodwin's user avatar
3 votes
3 answers
8k views

Could not find DHCP daemon to get information on Belkin G Wifi Router

I am using a Belkin G Wireless Router F5D7234, and i have a DSL connection with only a ethernet cable. So i connected the cable to the Modem port and allowed it to use Dyanmic IP, it worked ...
Anirudh Goel's user avatar
  • 2,971
3 votes
1 answer
5k views

How can i assign multiple IP addresses to an NIC (possibly software solution)?

I am connected to a network that assigns my IP address via DHCP, but i also need to assign my NIC an IP address that is not in the network's address range. Is this possible, maybe with some "virtual ...
Botz3000's user avatar
  • 1,047

1 2 3
4
5
34