Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dhcp]

The Dynamic Host Configuration Protocol (DHCP) is a network configuration protocol that assigns IP addresses and gateway configuration automatically.

0
votes
0answers
24 views

Attempting to Bridge Host Server (18.04) network with KVM Guest (18.04), guest not acquiring DHCP IP

Attempting to setup Bridge networking for KVM Guest, Bridge seems to be fine on Host but Guest isn't getting DHCP assignment. DHCP comes from network primary router. Here's my netplan on Host ...
1
vote
1answer
39 views

Ubuntu DHCP server doesn't assign a fixed address

I am an IT student, and I'm working with Ubuntu on VirtualBox. One of my virtual machines has a DHCP server installed, and it's set to give a specific IP-address (192.168.1.55) to a host Uclient. ...
1
vote
0answers
10 views

Can I connect 2 LAN Cards, and get 2 IPs, then use them in web server (nginx)

I'm having deal with Ubuntu Server 18.04 LTS. So the question is - can I buy second LAN card, and get 2 ip addresses? Will it work, and can I use them with NGINX?
0
votes
1answer
30 views

DHCP Server unknown lease. Device says “unable to obtain IP”

So I am trying to set up a fake AP using airbase-ng. I have set up the dhcp sever and it seems to be working but my outside devices cannot obtain IP address from my newly created Access Point. I am ...
0
votes
1answer
50 views

Bonded interface down after boot

I've just completed a fresh install of Ubuntu Server 18.04 on dedicated hardware. After login, the bonded network interface is not assigned an IP from DHCP. If I run sudo dhclient the bonded interface ...
2
votes
1answer
26 views

How can I boot the dhcp server for my internal network board?

I configured the dhcp server and now I want it to boot for the internal network board. Any idea how to do this?
0
votes
0answers
11 views

WLan Repeater using USB WLAN Adapter

I know there are already many questions and tutorials regarding this topic, but most of them seem to go in a slightly different direction and none of them could really help me so far. So what I'm ...
1
vote
2answers
60 views

Getting an IP address with Ubuntu client from Windows Server 2016 DHCP in VirtualBox

So we have a task in university which is basically about 3 parts. We have a Ubuntu 18.04 client and a Windows 2016 Server, both in VirtualBox. We should do, so that: The Ubuntu client should get an ...
0
votes
1answer
22 views

Shorten nmcli connection timeout from 120s to 10s, try a lower priority interface quicker

On Ubuntu 16.04 lts I am using nmcli to manage the network interfaces. I have connections like so. NAME UUID TYPE DEVICE link-local-0 da55e0dd-...
0
votes
0answers
12 views

Weird netmask on the ethernet interface after configuring DHCP server

I wanted to enable DHCP server on Ubuntu 18.04.1 LTS so I have installed isc-dhcp-server. In /etc/default/isc-dhcp-server I have added an entry fot the interface: INTERFACES="enp3s0". Then in /etc/...
1
vote
0answers
43 views

No default gw from dhcp in ubuntu server 18.04 with netplan

I have an issue with network configuration in ubuntu server 18.04. My host does not apply default gateway route from dhcp server. My netplan config is: network: version: 2 ethernets: enp0s8: ...
0
votes
0answers
38 views

Setting IP address if DHCP server fails at bootup

Is there a way to set default eth0 setup in linux. I know I can give it a default static IP at boot up with sudo ip route add default via 10.0.0.1 dev eth0. Is there a way to change it to DHCP at ...
0
votes
1answer
34 views

Ubuntu 16.04 Network Manager DHCP and PXE setup. Can't find `dnsmasq.conf`

I'm about to upgrade my (seperate computer) firewall (Going from IPCop to IPFire). I'd like to use PXE to boot the upgrade on the firewall. I depend on the firewall system for DHCP, so when it's ...
1
vote
2answers
58 views

Where is the proper place to add a custom DNS IP to an ubuntu 16.04 server that is using DHCP?

I'm a bit confused as to the proper place to add custom DNS entries for a server that uses DHCP. This instance is in AWS but I have a custom DNS server that it needs to use as it's primary name server....
1
vote
0answers
16 views

Avoid resolution of invalid hostname to default ip

When connecting to my internet provider's box with Ubuntu 16.04 or 18.04, any invalid hostname is resolved to some kind of default IP (82.216.111.26 which is fact is the ip of numericable.fr). ...
0
votes
0answers
11 views

Configure interface when link not present

How can I have netplan bring an interface online whether or not a link is detected? This is technically a systemd-wide issue, but I'd like to know how to mitigate it using netplan. Prior to systemd, ...
0
votes
1answer
31 views

What does “dhclient: bound to xxx.xxx.xxx.xxx” mean?

So I am busy with a forensic research for my project, and came across this: May 21 19:18:06 debian dhclient: bound to 91.199.30.100 -- renewal in 538 seconds. I don't really know what it means with ...
0
votes
0answers
44 views

NIC teaming LACP runner not getting IP

I followed Redhat teaming configuration guide to configure NIC teaming on Ubuntu, except LACP, others work as expected. I tried both teamd with JSON config file and nmcli methods, both can create ...
0
votes
0answers
23 views

Network interface static IP 'lost' and dhclient 'reconfigures' the Interface

My Ubuntu 14 VM is configured with the following static IP configuration for eth1 auto eth1 iface eth1 inet static address 172.28.12.6 netmask 255.255.255.0 In addition, dhclient leases ...
1
vote
0answers
79 views

Live installer not using hostname provided by DHCP server in automated install

I'm running a local network with an Ubuntu server and 20 other machines on it. As I want to install a customized Ubuntu 18.04.1 version on all of them, I already created a modified live image and a ...
0
votes
1answer
32 views

why does a device on the network seem to always have the same ip upon reboot, even though they're dhcp?

It's not 100%, but pretty much all of my devices are assigned the same ip address upon reboot. I am at a lost to explain why. Do you know?
1
vote
0answers
21 views

Add a /64 range of IP addresses

I have a VPS that the provider allocated me a /64 block of IPv6 addresses, I'm trying to give each domain I'm hosting in it a unique IPv6 address. I'm using the configuration options in /etc/network/...
2
votes
0answers
100 views

ubuntu 18.04: not releasing old IPs from DHCP

We're running ubuntu 18.04, with the following configuration of netplan: network: version: 2 renderer: networkd ethernets: ens3: dhcp4: yes Currently we're running into an issue with ...
0
votes
1answer
24 views

Ubuntu setting it's IPv4 address as the same adress as the feault gateway (DHCP)

I have an Ubuntu 16.04 machine and it is recieving its IPv4 address from a DHCP server, that is also a router (running pfSense). Ocassionally when the machines lease expires or when it's restarted it ...
0
votes
1answer
49 views

Setting up a DHCP subnet running on several interfaces

So my problem is as follows: I want to run a DHCP server on my Ubuntu 18.04 LTS. So I installed ics-dhcp-server. Then I changed the configuration files according to this guide. When connecting one ...
0
votes
0answers
565 views

Ubuntu server 18.04 - No IP address with Netplan

Background: Hardware: Thinkpad X301 In the installation of Ubuntu 18.04.1 Server (64-bit) the installation was stuck at the network setup portion of the installation. The network setup timed out and ...
0
votes
0answers
269 views

Ubuntu Server not getting IP address from DHCP server (except after running dhclient)

I have just installed Ubuntu Server 18.04 and it will not get an IP address from the DHCP server. All other devices on the network do not have any trouble getting an IP address. I can set a static IP ...
0
votes
1answer
101 views

Connect via DHCP via LAN cable between a Windows and Linux device

I am working with DHCP IP addresses. When I connect my device to a server, the server generates an IP address that it then assigns to my device. Which is great! I am trying to connect my PC to my ...
0
votes
0answers
62 views

How to overwrite the DNS servers from DHCP or set system wide DNS servers?

I have an Ubuntu 18.04 Server with several NICs with different types of configuration: static and DHCP. I want to have a set of DNS servers for all the interfaces, no matter if they are DHCP or ...
0
votes
1answer
36 views

VMs get identical IPs

I frequently run several Ubuntu Server instances in a VirtualBox VM for testing various things. I typically install Ubuntu once and then clone the VM as many times as I need to. I use Bridged ...
-1
votes
1answer
230 views

SSH into raspberry with outside network

I cannot find how to ssh into raspberry pi from the outside network. I have set up port forwarding, on port 80 for my raspberry pi. I have used https://httpbin.org/ip to obtain the ip address of my ...
0
votes
0answers
33 views

Removed libssl1.0.2 and can not connect to the wifi anymore

I purged libssl1.0.2 by doing sudo apt-get purge libssl1.0.2. I am very new to all this and was trying to resolve another issue. I am not able to connect to wifi after performing purge and this when ...
0
votes
0answers
29 views

Unexpected “hidden” additional DHCP address

For some reason, my Ubuntu server "steals" a DHCP pool address even though it should have only a static address. Interestingly, one cannot even see from ifconfig that the spurious address exists. But ...
0
votes
0answers
51 views

ubuntu server dhcp server configuration problem

this is the error that occurs during DHCP configuration and i am not being able to solve this , can anyone help??
0
votes
1answer
569 views

Does Ubuntu 18.04 use dhclient?

I'm trying to figure out how to configure my DHCP client on Ubuntu server 18.04. I have the following netplan configuration, coming from cloud-init: network: version: 2 ethernets: ...
0
votes
1answer
297 views

DHCP Discover ethernet frame check sequence incorrect

I did apt dist-upgrade on Ubuntu 18.04 LTS. After that I have broken dhclient. I can't get ip address from my ISP DHCP server. However Ubuntu gets IP from my dlink router. Static configuration works ...
1
vote
1answer
206 views

WPS Wifi on Kubuntu - auto start

I have installed kubunto on an old laptop - I have two wifi networks and neither are useable from network manager - on is 64bit the other is WPS. I have setup a wpa_supplicant config that works for ...
0
votes
2answers
1k views

Ethernet DHCP stopped working on Ubuntu 18.04.1 LTS

I have a notebook running Ubuntu 18.04.1 LTS for a few months and Ethernet has been working great. Today I just powered on and it fails connecting. I keep seeing the message Connection Failed: ...
0
votes
0answers
157 views

Ubuntu 18.04 Server Installation - A start job is running for Raise network interfaces

So I recently installed Ubuntu server on my desktop, not because it is a server but because I didn't want the standard ubuntu-desktop gnome bloatware (I mostly use CLI) but everytime I boot it hangs ...
0
votes
1answer
270 views

ubuntu 18.04 no more IP after i removed yaml file from /etc/netplan

I had ubuntu 18.04 server with cloud-init still DHCP enabled IP address. I added yaml file to /etc/netplan and removed the file already there (think it was 50-cloud-init.yaml), but now i can't get ...
0
votes
0answers
136 views

How to configure MaaS to PXE boot different subnet on one interface

I have my MaaS Controller configured in subnet-A (192.168.100.0/24) on NIC1. I have only 1 NIC in this MaaS. Is it possible to PXE boot machine from subnet-B (192.168.200.0/24) without having to ...
0
votes
0answers
65 views

no IP address for certain MAC

Please assist- I have a wifi radio that will not obtain an IP via DHCP. Basically, a DISCOVER packet is sent to the DHCP server, the DHCP server receives the packet, then responds with an OFFER but ...
0
votes
0answers
335 views

Running dnsmasq dhcp on Ubuntu 18.04

I am trying to setup wifi router on ubuntu with two wifi cards connected. Router is to be configured by application that uses command line tools like iwconfig, dnsmasq and hostapd. On Ubuntu 17.10 ...
0
votes
0answers
229 views

Ubuntu 18.04 minimal server has two IP addresses!

I'm seeing two different IP addresses on my Odroid XU4. I only noticed after I set up a Unifi controller on the box, but then tried to ssh into both of the addresses with success. I only want 192.168....
0
votes
2answers
1k views

DNS & .local domain 18.04

I am trying to join Ubuntu laptops to our domain company.local (Yes I know .local is bad practice) I am having some issues with only what I can assume is DNS. I can't ping the domain controller (dc....
0
votes
1answer
28 views

KVM Network Bridge with Static IP getting a second ip via DHCP

I did everything as in this answer, I can connect with to the VM via the static IP but I still get an IP from the DHCP server instead of the static one on the interface, how is it possible? How do I ...
1
vote
0answers
93 views

Wifi can't obtain IP with Realtek 8821ae on Ubuntu 18.04

I'm having problems connecting to WiFi. I can see networks, but not connect. Facts I can see different networks available, but can not connect Ubuntu 18.04 (Kernel 4.18) dual boot with windows 10 ...
0
votes
0answers
193 views

Setting a static IP doesn't work on Ubuntu/Armbian … I need help :)

after digging for three days now here in the stackexchange network and other websites I still can't solve my problem and I hope you can help me. I try to set up a static IP on my BananaPi M1 board (...
1
vote
1answer
191 views

Netplan source route through script

I was using Ubuntu 14.04 and 16.04 but now when installing new ones or upgrading servers to 18.04, netplan has shown up. The machines work with DHCP and I currently have a couple of network scripts ...
0
votes
1answer
905 views

Ubuntu 18.04 netplan.io how to prevent the creation of 2 default gateways [duplicate]

When I add 2 interfaces (eth0 LAN, eth1 WAN) with static IPs (or maybe also with DHCP), Ubuntu 18.04 Server is adding 2 default gateways. Thats not the goal. How can I define only 1 default gateway? ...