Skip to main content

All Questions

Tagged with
0 votes
0 answers
590 views

Issues when setting up static IP on Debian bookworm

I have recently started hosting my server from my PC and everything worked perfectly until my public IP changed. I taught I have successfully setup a static IP but I didn't. Now I am in a loop of ...
Uros 's user avatar
0 votes
1 answer
123 views

systemd-networkd, DHCPv6 lease - On debian 10 and above, unable to find org.freedesktop.network1.Manager in busctl output

I need to extract DHCPV6 lease information and from systemd-networkd's code it seems like DHCPV6 lease is not stored on disk, but is exported via DBUS using org.freedesktop.network1.Manager node. ...
kpn's user avatar
  • 1
0 votes
1 answer
546 views

How to obtain reserved IP address from dnsmasq DHCP server?

I'm working on an assignment that asks me to connect 2 VMs to each other. The first (king) functions as a DHCP server using dnsmasq. The second (queen) is supposed to be provided with a reserved IP ...
jeerum's user avatar
  • 1
1 vote
1 answer
2k views

Debian Bullseye gets DHCP address instead of static after first boot

After a cold start, the NIC gets an IP-address from DHCP, not the static IP-adress that is defined in /etc/network/interfaces. After a warm boot, it gets the correct static IP-address. I have got a ...
Deadpete's user avatar
2 votes
1 answer
2k views

Prevent networkmanager to disable an interface if dhcp timeout when mixed dhcp and fixe ip configuration

I need to find a way for a computer to have both a fixed ip address AND have be a dhcp client on the same interface. So far it works great, I am using Debian 11 and NetworkManager. The problem, is ...
iXô's user avatar
  • 301
1 vote
0 answers
1k views

How to set the default outbound interface in Debian when using multihomed interfaces on EC2

In Debian 10 with an Amazon EC2 AMI (as of March 31, 2021), the /etc/network/interfaces file looks like this: # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d ...
par's user avatar
  • 153
0 votes
1 answer
174 views

order of dhcp interfaces

My debian server has two interfaces: iface eth0 inet dhcp iface eth0.40 inet dhcp It gets ip-addresses and anything else from an isc-dhcp-server. (That works well in common.) But the dhcp options ...
t777's user avatar
  • 101
0 votes
0 answers
316 views

Automatic IPv6 WAN Address Negotiation

I'm running vanilla Debian 4.19 as a home router but am having trouble setting up automatic IPv6 address negotiation at boot. I think I have the right settings for the WAN interface (eno1) in sysctl....
MooseBoys's user avatar
  • 293
3 votes
0 answers
136 views

WICD Network Manager: Takes over a minute to cancel a network connection attempt. Forced to wait for DHCP client to timeout

Debian Buster XFCE using WICD. I do a lot networking work: setup and diagnosis of routing and switching. As such, it's not so rare that I ask WICD to connect to a network that has no functioning DHCP ...
Shawn Hughes's user avatar
0 votes
0 answers
2k views

Debian DHCP Client can't find DHCP Server

I have a big problem with DHCP client on Debian. Fresh Debian 10 installation (from debian.org), DHCP Client can't find DHCP Server Logs from syslog: Listening on LPF/enp2s0/<mac> Sending on ...
user1140260's user avatar
1 vote
1 answer
909 views

Where can I get Debian IPv4 interface identifier?

I understood that nowadays Debian (I only use Debian so I don't know about other distros) no longer use MAC address to get a DHCP lease. My machine MAC address is : 00:15:5d:40:41:41 Looking at my ...
JeanneD4RK's user avatar
15 votes
5 answers
14k views

Can a computer running a DHCP server assign its own IP address?

Can a computer running a DHCP server assign its own IP address, or does it have to be set statically? If this is a question which depends on the DHCP software, then my configuration is a Debian server ...
user3728501's user avatar
  • 2,974
0 votes
1 answer
4k views

Debian 10 configuration as router for private to private network

I'm currently struggling to get a debian 10 system working as a router between two private networks. Allow me to try and depict the setup Network 192.168.2.X <-> Debian 10 Router <-> Network ...
user3728501's user avatar
  • 2,974
2 votes
0 answers
192 views

tcpdump doesn't capture DHCP Discovery

I tried to capture DHCP Discovery through the tcpdump: # ip l | grep enp5s0 3: enp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 # tcpdump -ni ...
red0ct's user avatar
  • 244
1 vote
1 answer
132 views

Slaying DHCP on a Debian Jessie virtual server

I have a problem with a Debian Jessie server running as an Intranet VMWare virtual machine. This machine has been recently upgraded from Debian 7 Wheezy to Debian 8 Jessie (expecting continuing later ...
GingkoFr's user avatar
0 votes
1 answer
229 views

How to "forward" dns ip addresses one level deeper?

I have a mobo with 2 ports: eth0(WAN) and eth1(LAN) which i want to use as a router/gateway(NAT). But at first I want it to manage DHCP. I've installed Debian, configured eth0 for dynamic and eth1 ...
xakepp35's user avatar
  • 379
0 votes
0 answers
3k views

Configuring Raspberry Pi as DHCP/local DNS server, Stretch vs Wheezy

I've been using dnsmasq as a DHCP server/resolver on an old Raspberry Pi, running wheezy, for years without any problems. I decided to upgrade to stretch and, at the same time, to a Raspberry Pi 3B+. ...
Mark Olbert's user avatar
0 votes
2 answers
856 views

DHCP server sending DHCPDISCOVERs

After upgrading to Debian 8 running isc-dhcp-server I began seeing these on the logs: servername dhcpd: DHCPDISCOVER from yy:yy:yy:yy:yy:yy (servername) via eth1 servername dhcpd: DHCPOFFER on xx.xx....
iceburn_pt's user avatar
0 votes
1 answer
1k views

Static IP set in /e/n/interfaces, Debian 9 takes DHCP

Objective: Set box (fileserver, x over ssh, backup location) with static IP 192.168.1.192. Router does not have static-by-mac functionality. Problem: lines in /etc/network/interfaces: auto enp0s10 ...
user872494's user avatar
0 votes
2 answers
306 views

What is the recommended FDQN for a local laptop on a DHCP home network?

I have a pretty common home network and a laptop that connects to it either by Ethernet or wifi and gets an IP using DHCP. What is the recommended configuration for FDQN, including hostname and /etc/...
Ivan's user avatar
  • 212
1 vote
1 answer
448 views

OpenVPN: dhclient fails

If I start the openvpn client and then run dhclient tap0 to obtain an IP address, everything works fine. When the same command is called by openvpn from a script (up option): #!/bin/sh /sbin/...
dblouis's user avatar
  • 401
0 votes
2 answers
283 views

A way simple to resolve an domain different in my network

I am running a debian server in my local network. My internet-gateway is integrated in a Vodafone easybox (WLAN-)router. To easily access my services from all my devices at every location I have an ...
Kappa's user avatar
  • 11
1 vote
1 answer
786 views

On Debian jessie, can I specify which dhcp client is used for a particular interface?

I use the /etc/network/interfaces file on Debian to configure my network interfaces with DHCP. The relevant section looks like this: allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug eth1 iface ...
roelvanmeer's user avatar
0 votes
0 answers
113 views

dhcp server or routing rules on a lan with internet server

I have two machines : Imac with Mac OS 10.9.5 & a Debian 8 server headless both have one ethernet interface and one firewire. The DHCP is still on the router and has statics ip address, the two ...
hache's user avatar
  • 1
2 votes
1 answer
2k views

Get IP from DHCP server from other machine in Internal Network

I have two virtual machines: Debian (Router) with one Bridged Adapter and three Internal Network adapters Ubuntu with one Internal Network adapter I installed on Debian DHCP server, I'd like Ubuntu ...
lukassz's user avatar
  • 240
1 vote
2 answers
96 views

Wireless static IP configuration

I'm using Debian and I have trouble assigning a static IP to my computer to my local wireless network. I've setup my configuration files in my computer correctly but that does not seem to work. ...
Mini Fridge's user avatar
2 votes
2 answers
2k views

Debian server making many DHCP queries per second

I have a webserver running on a local machine, which spontaneously started to send about 400 DHCP requests per second, constantly changing its IP address, until I killed dhclient several hours later. ...
killerbee13's user avatar
3 votes
0 answers
2k views

Beaglebone DHCP Server Assigns its Own IP Address

I'm trying to run a DHCP server on my Beaglebone Black (running Debian), and I want to give it a static IP address - 192.168.17.1 - but it keeps assigning itself its own different IP address - 192.168....
Trevor's user avatar
  • 31
0 votes
0 answers
126 views

Debian 8: Server makes routers dhcp crash

I've got an old pc with debian 8 running as home server. A small problem is that whenever the server uses a lot of network traffic, let's say while downloading torrents, it seems to crash the dhcp of ...
You guessed it's user avatar
2 votes
1 answer
7k views

Network interface configuration on Debian 6 (No DHCPOFFERS received)

I am trying to configure an interface to allow internet connection on a home server which runs Debian 6 x86. The server is behind a router which has DHCP enabled. The router IP is 192.168.1.1 with ...
arnaudoff's user avatar
  • 121
0 votes
1 answer
125 views

Detecting active devices on LAN from Debian based server

Simply: How can i detect if there are any active devices on lan? More details: I have home server which acts as Internet gateway and wifi access point. Because of server part of its configuration i ...
WombaT's user avatar
  • 245
2 votes
1 answer
1k views

Forcing resolver to OpenDNS's servers

I'm trying to configure Debian as a router/gateway on my network with eth0 going to my ISP's modem and eth1 to my LAN. eth0 needs DHCP so that it gets the proper IP address from my ISP modem, but in ...
Michael Lang's user avatar
0 votes
2 answers
662 views

Alternative to a static lease/ip reservation

I used to have routers which allowed to make ip reservations based on MAC. But my current router doesn't have this option. What is the alternative for that? Why do I need it? I have a Debian server ...
Druid's user avatar
  • 5
1 vote
1 answer
1k views

Restrict static IPs (Only DHCP) on Debian Squeeze

How can i restrict access to the Internet for users with static IPs? Can i disable free dhcp leasing? I'm running Debian Squeeze with dnsmasq as dhcp server. All users has their own ip, mapped to mac....
IlyaGulya's user avatar
3 votes
1 answer
8k views

How to reload DHCP client remotely, in order to write new resolv.conf?

I'm trying to configure dnsmasq(8) on a Debian GNU/Linux system in a private DHCP-based network. During a local, manual setup - after installing dnsmasq istelf - one could simply include the line ...
mjhennig's user avatar
  • 146
3 votes
6 answers
28k views

All statically assigned addresses, but dhcpcd still runs?

I have a VM (on ESXi 5.1.0) running Debian Wheezy (7.0). eth0 has a statically assigned address. eth1 was DHCP-assigned, and now I want to make it static. Here is my old /etc/network/interfaces: # ...
craig65535's user avatar
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
1 vote
2 answers
24k views

"dhcpd failed" error when starting DHCP server

I am setting up a DHCP server on Debain (virtual machine) on Ubuntu 12.04 host, but unable to get it up and running. My configuration is like this, dhcpd.conf ddns-update-style none; option ...
Newbie's user avatar
  • 13
0 votes
1 answer
1k views

How to get new IP address on boot up?

In Debian Linux, how can I get a new IP assignment on boot up? I'm working with VMs and I am required that every machine gets a new unique IP after booting up.
drum's user avatar
  • 689
0 votes
1 answer
2k views

DHCPREQUEST not replied

I have installed wpa_supplicant on Debian Squeeze so i can connect to my home and the school WiFi network. My home network is secured with WPA2 AES and I can connect to this network without any ...
ct899's user avatar
  • 1
5 votes
2 answers
18k views

DHCP table in Debian

How to view all assigned ip addresses on a Debian DHCP server? It is usually easy to do on a standalone router through a web interface. How to do it with dhcpd in Debian?
Oleg's user avatar
  • 113
2 votes
1 answer
976 views

dhclient overwriting resolv.conf

I'm setting up virtual dev environments and I want the hostname.domain to be something specific, eg- "barney.local". However my /etc/resolv.conf file keeps getting nuked because i'm using DHCP. I ...
user avatar
0 votes
1 answer
1k views

Problem with dhcp in Debian

I try to have a static ip adress on an host. I execute the following commands : $ ip address eth0 10.4.1.15 netmask 255.255.255.0 $ route add default gw 10.4.1.5 But later my IP address changes ...
user32433's user avatar
  • 447