Hot answers tagged

6 votes
Accepted

Setting up an Access Point, Raspberry Pi, and Laptop to serve a website in a classroom. "The internet in a suitcase"

That all sounds like a perfectly sensible solution to your problem, and you've more or less answered your own questions correctly already. Specifically: I am not sure how the Raspberry Pi knows that ...
  • 2,622
4 votes

Two DHCP, One PXE

DHCP could not be "pxe-enabled". Network booting is not a DHCP duty. The only role DHCP takes in this is to present a client an information about boot file server address and boot ...
3 votes
Accepted

Should my device combine local DNS and static DNS?

You should always use DHCP assigned DNS name servers. If the customer has misconfigured those, then the customer likely experiences other networking related issues too, and the customer should fix ...
3 votes
Accepted

Can DHCP Option121 work with DHCP Option3 together?

"If the DHCP server returns both a Classless Static Routes option and a Router option, the DHCP client MUST ignore the Router option." https://www.rfc-editor.org/rfc/rfc3442.html
  • 576
2 votes

Setting up LAN gateway for school club network - "No subnet declaration for enp3s0"

You obviously have configured enp3s0 to automatic configuration, so it tries to get an IP address via DHCP but fails; this is why it auto assigns the 169.254.151.221/16 address. In order to use this ...
  • 141
2 votes

ESXi using DHCP, IP is accessible, Host Name isn't

The DHCP is probably receiving the Hostname from the ESX. But this doesn't mean that your DHCP-Server is even configured/allowed to updated the DNS-Server in your Network. Easiest way to resolve this ...
  • 61
2 votes

Debian 11 no longer automatically receiving static DHCP IP address, dhclient must be started manually

This problem is addressed in the article: Strange extra long Linux MAC address in DHCP active leases. Basically, in /etc/dhcp/dhclient.conf, add the line: send dhcp-client-identifier = hardware;
  • 21
1 vote
Accepted

Same FQDN for different IP depending on connection

So, different IP means different DNS names Or a dynamically updated DNS name. Windows machines do it all the time – all AD domain members send RFC2136 "UPDATE" messages towards the ...
  • 9,301
1 vote

PXE with proxyDHCP server: What makes a DHCP client accept / ignore offers from primary DHCP?

The ignored offer provides: Your (client) IP address: 172.17.34.1 << offered IP address Next server IP address: 172.17.34.30 << TFTP Server IP Boot file name **not given** ...
  • 3,409
1 vote

How to set kvm to use router's dhcp in linux?

What you'd need to do first is to put your hypervisor's network on a bridged interface that the VMs can connect to. Let's say this is going to be br0 and the current physical interface is eth0. Any IP ...
  • 7,718
1 vote

Two DHCP, One PXE

Having 2 active DHCP servers targeting he same sub-network w/o MAC filters leads to uncertainty and that's not a good idea. If you need high availability/redundancy just use a high availability DHCP ...
  • 3,409
1 vote

Unable to access server using ssh after setting a static ip in alpine Linux

The netmask in the ip config output is still a /24 subnetmask. Please verify that. Maybe you need to reboot. Please check the routing as well ip route
1 vote

how to know device IP is static or dhcp on linux dhcp server

You can use the ip tool. This tells your whether the IP is dynamic or not. Below is an example output which shows the keyword dynamic. This means there was some dynamic process (e.g. DHCP) to fetch ...
1 vote

Trouble connecting to the internet with direct connection to the modem

The way I seen your post is; you expect the broadband modem to be act as a router. The fact you receive no IP make me think the modem is in bridge mode. While it's not what you want, I strongly ...
  • 16.6k
1 vote

Disable the automatic adding of routes by DHCP

If you want to override the default route you could try statically defining the more specific 0.0.0.0/1 and 128.0.0.0/1 with your wireguard IP as the gateway?
  • 51
1 vote
Accepted

How do I install dhcp plugin for Strongswan on Ubuntu focal

You need to install the libcharon-extra-plugins package because the plugin is technically located in libcharon (note that the other two packages you reference are actually called libstrongswan-...-...
  • 3,870
1 vote

Is it possible to save DHCP reservations to disk so they can be restored after rebooting Linksys AX5400 router

Actually there is a backup/restore option on the Admin page of the router that I missed. Neither the documentation nor tech support mentioned this. Sorry for bothering the group.
1 vote

DHCP Server Not Registering PTR Records - Multiple DHCP Servers

Solved it by updating the credentials in DHCP server for the branch office - it was not actually related to multiple subnets. (Right-click on IPv4 under the domain name in DCHP Server, select Advanced ...
  • 381
1 vote

Windows DHCP Server does not give correct IP

If someone interested, the problem is the DHCP server had configured a superscope: Stop DHCP client from receiving old IP address on new VLAN Once I deleted the superscope the service works fine. ...
1 vote

DHCP not working for bridged QEMU virtual machine

I promised to formulate my comment which solved the problem in the form of an answer and forgot. Shame on me. Let me fix that already; @DouglasSu please accept for future readers to be aware of the ...
1 vote
Accepted

Why aren't inherited scope options replicating between Win2019 DHCP servers in a failover config?

I think it's a bug, I just encountered it in 2022 so it's not fixed. You can use DFACS and set a scheduled task to automate it. https://sjohnonline.blogspot.com/2018/12/dhcp-failover-auto-config-sync-...
1 vote

Configure multiple search suffix domains in Unifi Security Gateway (dhcp option 119 domain search)

You can now do this in v2.0.9-hotfix.6, but I haven't been able to find the answer anywhere. Here's what worked for me: configure set service dhcp-server shared-network-name [your dhcp network name] ...
  • 11
1 vote

Can't start isc-dhcp-server because of the Error : Not configured to listen on any interfaces

As suggested in NeoGeek's answer, I had to add the interface to the /etc/default/isc-dhcp-server. ("enp4s0" in my case, as shown by ip addr) INTERFACESv4="enp4s0" But systemctl ...
  • 3,727
1 vote

How can I assign an IP by UID in DHCPd

It is possible by using DUID-UUID. On the server side it is required to identify the host by option dhcp-client-identifier like below: host example { option dhcp-client-identifier FF:II:II:II:II:00:...
  • 3,305
1 vote

Multiple DHCP relay servers after one another?

Once the DHCP relay gateway address is populated on a DHCP Request, other DHCP Relays are not allowed to modify the DHCP relay gateway. The DHCP Request will be forwarded to the DHCP server by any ...
1 vote

Domain connection shows as "unauthenticated"

I had this happen to a customer today and none of the above fixed the issue. It turns out some November 2022 patches were the culprit. To fix the issue, I first followed the instructions on this blog: ...

Only top scored, non community-wiki answers of a minimum length are eligible