DHCP is an auto configuration protocol used on IP networks.
1
vote
2answers
11 views
Set up link between machine and headless device
I have a SoC device (e.g.: a Raspberry Pi), and a laptop. I would like to create a link over direct cable Ethernet using a "cross over" cable between my machine and the Pi, so I can connect to it with ...
1
vote
1answer
19 views
Mistery with DHCP of VirtualBox and CentOS 7
I desperately need help! Spent 6 hours trying to solve multiple issues (not my day) and now faced something I do not understand.
I have the latest VirtualBox installed on Windows 7 Pro. I created ...
1
vote
0answers
21 views
LAN Machine name resolution with zero configuration from linux to windows
I'm developing a software which will run in a Local LAN on linux machine, and this linux machine will use a shared folder from windows.
I want the linux machine to be able to use the computer name (...
2
votes
0answers
33 views
How to automaticaly assign network settings for dhcp server own interface with dnsmasq?
Is it possible to configure network interface via the DHCP server hosted on the same machine?
Currently, I have next records in my /etc/network/interfaces:
auto enp0s8
iface enp0s8 inet dhcp
Also, ...
2
votes
0answers
29 views
How to configure Bind for Spamassassin
I'm wondering if anyone can help me out with following the directions I found here
https://wiki.apache.org/spamassassin/CachingNameserver
to set up a working configuration for Spamassassin. I think ...
-4
votes
1answer
32 views
I am using Linux OS what is DHCP? and how configure? [closed]
I am using Red Hat Linux 6.4 and I could not configure DHCP server, so can you tell me how can we configure the DHCP server.
0
votes
1answer
63 views
How to debug DHCP timeout on WiFi connect
I've recently moved to a place with public wifi (so I don't have access to the router or their DHCP config), and am running into issues connecting with my Arch laptop.
I've tried using both ...
0
votes
1answer
77 views
Ubuntu 16.04 not getting dhcp lease
I have a brand new ubuntu 16.04 image that I've created with packer based on the bento configs. My config is nearly identical to the 16.04 config here
My ubuntu vm fails to get a dhcp lease, even ...
0
votes
0answers
52 views
My router sees wrong MAC address when I use DHCP
I have Fedora 25 Workstation installed on my new laptop Acer Travelmate P259.
I have a Wifi AP connected to my router, which is connected to internet. My laptop could connect to AP, but no internet ...
0
votes
1answer
29 views
Where is dhclient.conf in Fedora 22
Before you mark it as a duplicated please listen to the problem. I took a lot of time searching on this issue and found very similar problems but none of them solved it because the suppose solution ...
1
vote
1answer
98 views
Host part of DHCPv6-assigned router address
I got my IPv6 prefix via dhcpv6 (/48) on my personal (OpenBSD) router. So the inside interface get partially configured by dhcpv6. I would like to know if it's possible to define the host part of it.
...
0
votes
0answers
53 views
dhcp not setting FQDN hostname on centos 7 (no NetworkManager)
I'm running a fairly minimal centos7 on ec2. I don't have NetworkManager for example. The dhcp lease looks like this:
lease {
interface "eth0";
fixed-address 172.29.42.68;
option subnet-mask ...
1
vote
0answers
47 views
static hostname but dhcp for nameservers on centos7
I need the nameserver from dhcp, but I don't want the hostname or domain name. I need the nameserver, so setting /etc/resolve.conf doesn't work. Only way I've managed to get the system to use the ...
0
votes
1answer
36 views
start dhcpcd on specific interfaces only explicitly
On my machine I have multiple interfaces which often have a dhcp server running. I now want to react differently on various 'setups':
when there is wifi, use wifi
when there is ethernet, use ethernet ...
1
vote
1answer
69 views
dnsmasq as dns only, map mac-address to hostname for dynamic ip
I'm using dnsmasq as a DNS server only (no dhcp), mapping Lan's hostnames to relative ip using /etc/hosts, but in the same Lan there's some ip assigned dynamically by a router (and I'd like to keep so,...
1
vote
1answer
41 views
Web requests delayed. DNS issue? IPV6?
When I try to do a wget of http://www.google.com on my Raspberry Pi, I don't get a response for over 6 seconds, almost all of which is while the output below is stuck on "Resolving www.google.com (www....
0
votes
1answer
21 views
Finding SERVER_IFACE for dhcprelay in busybox
I'm working on a busybox image that will provide (along with other services) a dhcp relay in an isolated virtual environment. The config file I'll be given has the client interface (ie. eth1) and the ...
5
votes
0answers
68 views
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 ...
-1
votes
1answer
161 views
What is the Linux equivalent command for the Windows ipconfig /registerdns command?
In Windows one can run ipconfig /registerdns and this refreshes all Dynamic Host Configuration Protocol (DHCP) address leases and registers all related domain names that the client computer configures ...
0
votes
2answers
57 views
Configure Bonding with DHCP
I'm trying to use bonding in active-passive mode, with 2 ethernet interfaces. I'd like the system to be always connected to the network, while there is at least one cable connected. I must be able to ...
0
votes
1answer
87 views
Raspberry Pi 3 B as VPN Hotspot - No Internet on Client Side - Two Wi-Fi Adapters
Goal:
Home Network --> wlan0 --> VPN --> wlan1 --> Hotspot
Raspbian Jessie with Pixel:
Using inbuilt Wifi adapter to connect to my home network, while external one as hostpot. No ethernet. I have ...
0
votes
2answers
109 views
No internet connection debian
My internet connection doesn't work on Debian after a fresh install.
This is what I encountered after a couple of hours searching:
My ifconfig has an eth0 entry.
cat interfaces returns
source /etc/...
2
votes
3answers
212 views
File /etc/resolv.conf deleted on every reboot, why or what?
I am having an issue where DHCP (I though as I read in other similar topics) is clearing the /etc/resolv.conf file on each boot. I am not sure about how to deal with this since the post I have found (...
0
votes
1answer
49 views
Setup of DHCP server
I am trying to rise a server to boot OS from network.
The last thing I must do is to setup DHCP. I found an instruction on the Internet but encountered some problem..
Instruction says type
sudo nano ...
3
votes
1answer
37 views
Where are my settings that say use DHCP rather than Static?
I am running Lubuntu 16.10 on a VM, its using DHCP (because that's the default at installation, and i did not do anything special to change it). My host OS is Win10 connected via Wi-Fi / wireless.
Dr ...
1
vote
0answers
32 views
How do I assign a DHCP address to a DHCP client using dhcpd?
I have installed in my CentOS guest #1 a server for DHCP, and the config file is like this:
And I am using my CentOS guest #2 to test that is working so I do to enp0s8, ifdown enp0s8, then I do ...
1
vote
0answers
28 views
Configure interface to get address via dhcp Solaris
I had the interface configured with static IP. Configuration was located in /etc/hostname.{if-name} to configure interface after boot.
Now I need to configure it using DHCP. I created file /etc/{if-...
1
vote
1answer
55 views
Assign static IP to printer connected to RJ45
My raspberry pi is used as a print server and everything works except one thing... my printer which is connected directly via ethernet cable is not always found by cups. However, each time I restart ...
3
votes
0answers
53 views
Closed network DHCP+DNS - updating in-addr.arpa side works, forward side refuses to update
I am struggling with one small problem in our closed network. I built new DNS and DHCP and everything works, except DNS refuses to update file with forwarding information sent from DHCP. I have tried ...
1
vote
0answers
44 views
ifconfig: setifdhcp: Operation not supported
When I try to usedhcp agent to configure interface I get
root@z104:~# ifconfig z104cs105 dhcp start
ifconfig: setifdhcp: Communication with dhcpagent timed out
When I reconfigured my dhcp server ...
0
votes
2answers
32 views
Can I use my ISP's dhcp server as part of my local PXE boot configuration?
I am trying to configure a network PXE boot server on my local network. I am currently following the Centos7 guide at http://www.tecmint.com/install-pxe-network-boot-server-in-centos-7. One of the ...
0
votes
2answers
115 views
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 ...
0
votes
2answers
95 views
How to determine IP address of guest operating system in qemu?
After I boot a Windows XP in qemu it gets an IP assigned from DHCP server. My question is - how do I determine the IP that Windows XP got assigned, so that I can connect to Windows XP?
Here are more ...
0
votes
0answers
63 views
How can I route network traffic through my PC?
I have set up my laptop to be a DHCP server so that I can connect a raspberry pi to it directly and have it obtain a IP address. This way I can ssh into the pi. What I want now is for the raspberry pi ...
0
votes
1answer
107 views
How to allow guest OS to access Internet in qemu?
I've created a Windows XP image and I'm booting it with qemu. When using "user mode networking" via -net user, my guest os (windows xp) gets the 10.0.2.15 IP assigned and I can ping 10.0.2.2 so ...
0
votes
1answer
239 views
A better VPN killswitch using UFW with NAT table?
Objective
Given the following interfaces on a Raspberry Pi:
eth0 (192.168.0.0/24) - Private network (i.e. NAT)
wlan0 (192.168.10.0/24) - Public network with Internet access (i.e. LAN)
tun0 (VPN) - ...
1
vote
0answers
30 views
iptables to get public ip on virtual box's 2nd interface
I am running a custom linux image on Virtual box. Also,I am using a USB-to-Ethernet connector from my Laptop to connect other clients. In the network setting, I have used bridge adapter for both ...
0
votes
1answer
20 views
DHCP Issue Installing Linux Distros
I am trying to install various distros of Linux with all of them having the same problem. When it comes to the network basically it cannot connect. I am connected via ethernet cable to a router. When ...
2
votes
1answer
26 views
How to serve different subnet with one NIC card, according to “dhcp-server-identifier”, in centos7
I have an isolated system which can not reach the Internet.
I want to use one of the servers to run dhcp server, and give different ip in
different subnet that the client want to live in.
I can ...
0
votes
0answers
20 views
DHCP Server on Debian 8 [duplicate]
So I started creating a new environment at work but I'm a little stuck at this point. My situation is as following:
I have a VMWare Esxi server.
On this server I want 3 virtual machines (Firewall, ...
0
votes
1answer
17 views
Coexistence of DHCP Client and Server using Two NICs
Currently, my Linux box is connected to a LAN using one of two NICs. This LAN provides DHCP services and allows me to connect to the Internet. I would like to serve DHCP from this same Linux box using ...
0
votes
0answers
121 views
Failed to start isc-dhcp-server.service: Unit isc-dhcp-server.service is mask
The problem is in the title. Below the info needed. Any suggestion?
root@usbarmory:/etc/dhcp# service isc-dhcp-server start
Failed to start isc-dhcp-server.service: Unit isc-dhcp-server.service is ...
2
votes
1answer
357 views
OpenVPN Client gets new ip every boot, how to get same address in x leasetime?
I'm new on the Linux part of stack exchange and also new with Linux. For a project i set up a OpenVPN server (CentOS server) and a client (Raspberry pi). The VPN connection works fine but at the ...
0
votes
1answer
151 views
systemd-networkd default static address if dhcp fails
Is there a way to configure the systemd-networkd.service to automatically switch over to a static IP configuration if a DHCP server is not present?
Or if systemd-networkd doesn't support this ...
0
votes
0answers
5 views
Custom CentOS 7 Live USB, enable DHCP on any network interface [duplicate]
So I've built a custom Live USB install that can be used across multiple servers, however, one issue I have is that new network interfaces are not booted with DHCP, so I have to manually configure ...
0
votes
1answer
30 views
How do I remove delay in dhclient after DHCPNAK?
After moving to new AP, I restart dhclient to switch to the new network:
DHCPREQUEST on <interface> to 255.255.255.255 port 67
DHCPNAK from <new router IP>
<delay>
DHCPDISCOVER on &...
1
vote
2answers
462 views
Arch Linux dhcpd won't start on boot - cannot find subnet declaration
I want to have a DHCP server running on Arch Linux, but I'm having problems. I'm having an issue with getting dhcpd to start on boot. It will start ok when I manually run sudo systemctl start dhcpd@...
0
votes
1answer
111 views
Configuring automatic DHCP network connection via command-line on Ubuntu 14.04
Our server (Ubuntu 14.04) has recently been migrated to a new web server network. It has been assigned a DNS name and an IP address which will be assigned to it by the DHCP server (static addressing ...
1
vote
1answer
358 views
Loosing IPv4 and DHCP constantly asking for IP
Using Ubuntu 16.04, almost every day I'm loosing IPv4 address, being dropped by Avahi Daemon.
Also, I see the DHCP is not "waiting" for leasing time to finish to request an address again, it does it ...
3
votes
3answers
170 views
How can I make my linux machine broadcast its IP address dynamically?
My linux desktop machine is running Kubuntu 16.04 Desktop LTS (Debian based linux); running a the KDE Plasma Desktop. To connect to the LAN I've simply configured the WiFi GUI (cable is not an option ...