Questions tagged [dhcp]

DHCP is an auto configuration protocol used on IP networks.

The Dynamic Host Configuration Protocol (DHCP) is an auto configuration protocol used on IP networks. Computers that are connected to IP networks must be configured before they can communicate with other computers on the network. DHCP allows a computer to be configured automatically, eliminating the need for intervention by a network administrator. It also provides a central database for keeping track of computers that have been connected to the network. This prevents two computers from accidentally being configured with the same IP address.

682 questions
56
votes
9 answers

What overwrites /etc/resolv.conf on every boot?

I was given the files for a mini linux, that boots directly into firefox. It works for all it should be doing, only that I do not get an internet connection. We have 3 DNS servers in the network, which all work. I can ping them, too. But when trying…
Minix
  • 5,735
  • 8
  • 28
  • 45
47
votes
11 answers

Why are my two virtual machines getting the same IP address?

I have two virtual machines both running on a Linux host (Fedora 16). I set both adapters as attached to NAT. When I boot them up they both have their default gateway set to 10.0.2.2. They also both have the same IP address (10.0.2.15). They are…
rubixibuc
  • 1,687
  • 3
  • 19
  • 27
28
votes
2 answers

use dhcp on eth0 using command line

I am trying to set the eth0 interface to use dhcp to get an ipv4 address, using the command line. I can manually change the ip address using sudo ifconfig eth0 x.x.x.x netmask x.x.x.x Is there a similar command to use to set eth0 to get an address…
user197699
27
votes
7 answers

Command to list assigned dhcp addresses

Is there a command I can use to ask the dhcpd server which addresses have been assigned?
pylover
  • 3,328
  • 6
  • 21
  • 26
25
votes
3 answers

how do you set up a linux client to use ntp information provided through dhcp?

there are so many tutorials out there explaining how to setup dhcpd server, in relation to providing ntp suggestions to dhcp clients, that I had always thought that ntp configuration was carried out automatically. Recently I started seeing clock…
nass
  • 1,438
  • 8
  • 19
  • 35
24
votes
9 answers

Check my DHCP lease?

Is there a way to show my current (client) DHCP lease? Or even better - retrieve all options/infos sent with DHCPACK?
madneon
  • 1,354
  • 1
  • 11
  • 19
23
votes
4 answers

How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)

How can I find out if my IP address is DHCP, Fixed or Dynamic? I need to tell my network administrator what the IP address is, that my Virtual Machine is using. I know the numbers, but I don't know if it is fixed or not. I have tried: ifconfig and…
Kevdog777
  • 3,194
  • 18
  • 43
  • 64
23
votes
3 answers

what is dhcpv6-client service in firewalld, and can i safely remove it?

In a CentOS 7 server, I type in firewall-cmd --list-all, and it gives me the following: public (default, active) interfaces: enp3s0 sources: services: dhcpv6-client https ssh ports: masquerade: no forward-ports: icmp-blocks: …
CodeMed
  • 5,079
  • 45
  • 100
  • 147
19
votes
3 answers

How to get Pi-Hole to work with IPv6?

At home I have installed Pi-Hole on a Fedora 28 machine, and it is now working properly serving IPv4 addresses via DHCP, acting as the DNS server, and blocking IPv4 addresses as appropriate. However, it seems to be failing to block IPv6 addresses.…
Mike S
  • 2,432
  • 2
  • 17
  • 29
18
votes
5 answers

"aborting authentication by local choice (Reason: 3=DEAUTH_LEAVING)" when trying to connect to wifi

I installed Debian 9 stretch (GNOME desktop) 64-bit on my PC. My USB wireless adapter (TP-LINK TL-WN722N) was detected automatically after installing atheros firmware: apt-get install firmware-atheros But I can't connect to any wireless framework,…
GPraz
  • 459
  • 1
  • 3
  • 11
18
votes
2 answers

Specifying DNS settings to override those of DHCP

Every 6 months or so I cannot access the DNS on whatever router I'm using. usually have to add the nameserver by hand to the /etc/resolv.conf file. I've tried adding Google free DNS to the file and it changes nothing. What can I do to not have to…
John Coder
  • 181
  • 1
  • 1
  • 3
17
votes
3 answers

Renew IP with dhclient on different interfaces

I have two interfaces on my computer, eth0 and eth1. Both subnets have a DHCP server on them. How could I use dhclient to renew IP address for both interfaces? If I do: dhclient -r && dhclient eth0 It renews the IP on eth0. Then, if I want to just…
Noé Malzieu
  • 807
  • 3
  • 10
  • 15
17
votes
2 answers

Why are my cloned linux VMs fighting for the same IP

I've cloned two vSphere VMs off of an Ubuntu 17.10 template. After boot, they both claim the same IP and fight for it (ssh connections break off as the IP switches between them). The hostnames and MAC addresses are different between the two…
wickedchicken
  • 643
  • 1
  • 5
  • 10
17
votes
1 answer

avahi-daemon withdraws IP address from my network interface

I am running an Arch Linux server in my local network. It has avahi-daemon running on it to advertise some services (like a print server). It has happened for the second time now that my server was not reachable anymore. After some investigation, I…
cdauth
  • 1,387
  • 2
  • 12
  • 19
16
votes
2 answers

Host name changed remotely by wifi?

Am am currently visiting TU Wien and today I connected my Debian Linux laptop to their eduroam wlan using wpa_supplicant and the credentials of my home institute - as always when I am visiting another scientific institution. When I opened a terminal…
cgogolin
  • 263
  • 1
  • 6
1
2 3
45 46