DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

2
votes
0answers
98 views

Use eth0 and eth1 for different subnets and assigned host name to interface?

I have a machine running SELES 10 with dual NIC Both the NICs are on separate subnets. The server uses a DHCP. So when one interface, eth0, gets the IP from DHCP and registers with DNS and then the ...
1
vote
1answer
45 views

Creating a virtual interface to always access a DHCPed interface with the same ip

I have an interface that on connect always gets a new IP. So I want to create a virtual interface with a static IP that "relays" everything over the physical interface. This would be useful to bind ...
5
votes
2answers
331 views

How to send an alert if the DHCP range exceeds using shell script?

I've install and configure DHCP server on CentOS 6.5. I've also added a subnet to the dhcpd.conf file as follows: subnet 192.168.1.0 netmask 255.255.255.0 { option domain-name-servers 192.168.1.2, ...
2
votes
1answer
486 views

dhcp: way to check the online status of the device

On Linux there is the file /var/lib/dhcpd/dhcpd.leases. I need to determine, for the devices for which information contained in this file, whether the device is online at a given moment. Is there any ...
2
votes
3answers
1k views

DHCP server not responding to requests from KVM guest

I've setup a DHCP server on my Debian server (Proxmox) so that I can provision IPs to my KVM guests on the server automatically. For some reason the DHCP server (isc-dhcp-server) isn't responding to ...
0
votes
2answers
312 views

dhcp query to get IP by MAC

I am using CentOS 6.5 and Internet Systems Consortium DHCP Server 4.1.1-P1 I found this file /var/lib/dhcpd/dhcpd.leases but not simple to parse it in bash is there any way to get the online clients ...
1
vote
1answer
144 views

Debian server doesn't show in DHCP list on router

I have a Raspberry Pi running Raspbian which is connected over ethernet to my router. The router has been running both with DCHP and Static IP addresses and over the local LAN I can connect fine over ...
1
vote
0answers
406 views

dhclient cannot get address from home router

I have a home router providing internet access to my desktop and laptop. Both computers are running Ubuntu GNU/Linux version 12.04, and have been configured to use DHCP upon installation. So the ...
2
votes
1answer
613 views

Is it possible for DHCP to assign different IP addresses to the same machine?

I have installed and configured a DHCP server on my CentOS 6.5. It works properly and assign IP addresses to the clients machines on my network, and as I noticed when a client reconnect the DHCP ...
1
vote
1answer
119 views

need assistanse with dhcpd.conf understanding

How can i interpret following: class "blade-1-01-1" { match if substring (option dhcp-client-identifier, 9, 1) = 01 and substring (option dhcp-client-identifier, 5, ...
2
votes
0answers
73 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
3
votes
1answer
717 views

Arch Linux not picking up static DHCP lease from DD-WRT

I have a Arch Linux system on my home network and its MAC address is setup in my Linksys running DD-WRT to receive a static lease. However, this system is not getting the static lease from the DD-WRT, ...
0
votes
1answer
1k views

How to request a specific IP address from DHCP server?

I'm running Angstrom Linux on an embedded device (BeagleBoard-xM). I managed wireless connection via a Wi-Fi adapter. When I load its driver using modprobe, BB-xM requests an IP address from router ...
2
votes
1answer
115 views

How to handle DHCP on two network interfaces, one clobbers the other's /etc/resolv.conf

I have an embedded Debian Linux system. It has two network interfaces, eth0 and ppp0 via a cell modem. The problem I have is that when the system boots up it gets an address via DHCP on eth0. If ...
2
votes
2answers
535 views

Strip specific option from a response in dhclient

I aim to prohibit dhclient from updating my NTP config with servers received via DHCP, as it is the default on Debian/Ubuntu. However, my DHCP server ignores the list of requested options (from the ...
2
votes
1answer
253 views

Wireless network AND dhcp wired server

I have an ubuntu server, which automatically connects to a wireless network on startup. This is achieved through /etc/network/interfaces: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet ...
4
votes
3answers
4k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
7
votes
3answers
1k views

How do I get NetworkManager to keep the same IP?

The DHCP-provided IP on my laptop changes periodically. It runs CentOS 6.5 and uses NetworkManager. My desktop, running Sabayon, on the same network, does not have this problem. How can I get ...
2
votes
2answers
519 views

Why is Debian hangs after DHCP?

This is my /etc/networking/interfaces file: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 auto And here is a picture of where it is hanging:      Source: ...
1
vote
1answer
376 views

Converting DHCP to static on ubuntu 12.0.4

I am trying to set up a static IP address for my new Ubuntu server. I have been trying to do some research and found information that got me started on this reference page. One thing that was ...
0
votes
0answers
35 views

How to use dhcpd on two network interfaces?

I have an embedded system that has Ethernet and wifi. I want to setit up in a way that it provides IP to both interfaces. The system uses BusyBox. and I an new in this area. can you provide a sample ...
1
vote
1answer
95 views

How to configure DHCP so that hostname is not sent?

A simialr question Host name on terminal changes when I connect internet : why? But since it was not resolved in my case so I am putting it here and asking in a different way. The answer given here ...
3
votes
1answer
3k views

Location of dhclient.conf

I need to check the client DHCP settings, which I expect to be in the file /etc/dhcp/dhclient.conf, but there is no such files there. What is the location of this file in RHEL 6, on 64 bit?
1
vote
0answers
521 views

dhcp settings wifi radar linux mint

I am trying to connect to my wifi network. Using the standard connection manager in linux mint 13 xfce was not a good idea. No wifi networks are shown there. and when I left-click on it, the wireless ...
1
vote
1answer
2k views

How do I set dhclient debug info on?

On a FreeBSD computer Is there a DHCP client log that I could use to debug a DHCP issue? Can I set a debug param to get more information from the dhclient? UPDATE 1: I found a lead on this article ...
1
vote
0answers
767 views

Getting Samba 4.1's “internal DNS” to update hostnames from dhcpd

Samba 4 comes with its own "internal DNS" which can be used rather than BIND. Since Samba 4's main new feature is AD replacement, I would figure that its DNS would function similarly to Windows ...
2
votes
1answer
1k views

DHCP IP lease attempt failed over ethernet and dhcp with netctl

My dhcp ethernet works fine in Windows but not in Arch Linux with netctl and dhcpcd. What am I doing wrong? Output of "ip link" 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state ...
5
votes
4answers
4k views

Fedora 20 - wifi hotspot almost work but something wrong

I have a Sony Vaio notebook with WiFi, and need to setup a hotspot (an ad-hoc one) under Fedora 20. I successfully did it under Debian and SuSE, but under Fedora I am struggling to understand the ...
3
votes
1answer
413 views

How to setup wireless AP with two wifi cards and ethernet as WAN on debian?

I'm trying to build wireless AP with 2 Atheros cards (AR5413 / AR5414 both), and one ethernet card to act as WAN. I am also having doubts if I should use ath5k or madwifi drivers. I've tried both ...
4
votes
3answers
696 views

Can I set my Debian box to use OpenDNS nameservers if it uses DHCP?

I have a Debian box with this in /etc/network/interfaces: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet dhcp wpa-ssid NetworkName wpa-psk NetworkPass and ...
1
vote
0answers
105 views

Arch Linux starting Wireless connection shuts down wired connection

When Im starting the wireless connection via SSH, as soon as th dhcp starts the connection(wired) to the computer stops working and the computer is only available on Wifi. Is that normal. Im using ...
1
vote
2answers
52 views

WLAN: get info about AP

I am troubleshooting WLAN connections from my laptop. I have several possible WLANs to connect to. When connection is established, I am unable to see to which AP I am connected. In my ...
0
votes
0answers
624 views

Connected to WiFi, no internet access - Linux Mint

I connect to a my AP and I get a message "Connect to ..." but I cant access the internet, nor ping anything exept my gateway. I tried changing the DNS Servers to google ones but with no use. Any ...
2
votes
1answer
198 views

Whonix no DHCP offer received

Hi I'm on the last step of setting up Whonix physical isolation and can't get the gateway to see the workstation. I'm confused because on the page linked below where it says 'Host Network' and 'NAT ...
1
vote
1answer
33 views

Measure time to get DHCP address?

Is there any tool or way to measure how much time your DHCP router needs to give you IP address? I'm sure that there is something, as it's pretty important when debugging network.
1
vote
0answers
88 views

What should be the right dhcp configuration for generating a new network over eth0?

Even not under a real server like scenario, I'm testing with dhcpd for learning and practice purposes. I'm using Ubuntu 12.04 LTS. I want to offer a network by my eth0 interface. I receive ip and so ...
0
votes
2answers
2k views

FATAL: Module p80211 not found. RTL8192CUS WLAN regression under antiX 13.1 (Debian Wheezy)

The problem concerns a driver support regression for the RTL8192CUS WLAN chip under antiX 13.1, a Debian Wheezy (stable) based distribution. The chip actually resides in a Edimax EW-7811Un 802.11n ...
1
vote
1answer
275 views

Executing a command after eth0 is available, but before DHCP client

I'm running Debian Weezy on an ARM board. Right now I'm working around an issue with my network driver by running an ethtool command that limits the Ethernet interface to 100 megabit. However, the ...
1
vote
1answer
430 views

Can I connet to internet with one PC and give over LAN (switch) internet to other PC?

I currently have one computer (it's called pc08 with Linux Mint 15) that is connected to the internet via WLAN. Now I want to install Arch Linux on another computer (lets call it archiso). I only ...
2
votes
2answers
709 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
2
votes
1answer
214 views

Determine the interface which was used for booting via PXE

I have a linux machine which was booted via PXE. Can I determine the network interface which was used for booting?
5
votes
2answers
13k views

Command to list assigned dhcp addresses

Is there a command I can use to ask the dhcpd server which addresses have been assigned?
0
votes
1answer
77 views

What is the pathname (the directory and file name) of the configuration file used for the DHCP client (not the server!)

(This question refers to the IPv4 client, not the IPv6 client.) (Hint: configuration files are kept under the directory /etc.) It is for a school assignment. I have to use man pages to find it. I ...
0
votes
1answer
562 views

How to force PC to release IP?

I'm working on BackTrack and I want to give a fake IP from my DHCP server to another PC. I'm trying to make that Windows PC run the command: ipconfig /release, but without remote access. I don't want ...
1
vote
2answers
425 views

Prevent dhcpcd from setting hostname

How to prevent dhcpcd from setting hostname got from server? Change of it breaks a lot of things (including X session). My current distribution is Gentoo, init system is systemd and dhcpcd is spawn ...
4
votes
1answer
2k views

Can't ssh to beaglebone?

After I did: route add default gw 192.168.7.1 I also changed /etc/resolv.conf: nameserver 192.168.7.1 in order to share internet between Ubuntu in VMware. I've got internet working but after a ...
3
votes
2answers
1k views

What is the simplest way to connect to wireless on a Debian system with nothing but essential?

I have a Debian Jessie system which, for reasons unrelated to this question, has nothing installed but the set of essential system packages. What is the simplest method for connecting to a wireless ...
1
vote
1answer
2k views

WiFi / WLAN: WPA2 authentication appears to be successful, but dhclient won't get a response

I'm trying to use a USB WiFi adapter to connect to a wireless router. I assume the adapter is brought to life with the correct driver, because # iwconfig gives some reasonable output: wlan0 IEEE ...
1
vote
0answers
284 views

Can't connect unsecured wifi from Wicd or terminal

I can connect without issue to WPA networks, but if I am somewhere like a hotel and try to connect to an unsecured WiFi, things hang at the DHCP part and I don't get an IP assigned. I'm running ...
4
votes
2answers
7k views

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 && ...