DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

2
votes
1answer
81 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?
4
votes
2answers
896 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
45 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 ...
1
vote
1answer
263 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
176 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
958 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 ...
2
votes
1answer
414 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
861 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
202 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 ...
2
votes
2answers
3k 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 && ...
2
votes
1answer
613 views

dhcpcd can't startup at boot

when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive dhcpcd@eth0.service loaded ...
1
vote
2answers
4k views

Unable to set hostname for use within network

I am having a lot of trouble setting up a hostname for my home server for use within my home network. My home server is running Ubuntu 12.04 LTS and all packages are up to date. Management of this ...
0
votes
0answers
73 views

DHCP configuration for iPXE

Is there a way to configure the DHCP process in iPXE? In particular, I want to configure the DHCP Discover message sent by iPXE, so that the message issued by iPXE includes more options in Parameter ...
2
votes
1answer
713 views

Could not resolve host error

I'm using Arch Linux and I have a dynamic ip address with the use of dhcpcd. I can access websites through the google chrome but the problem is that I get 'could not resolve host' error when I run ...
4
votes
2answers
4k views

DHCPD ignoring my subnet declaration

eth0, my internal interface, has a static address of 10.0.0.1. I also have an interface, p4p1, acting as my external interface. If it matters, my external interface is not physically connected and ...
3
votes
0answers
113 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= ...
1
vote
1answer
129 views

Communication to device is lost when network starts on boot up?

I have an application that opens a socket on port 4444 to a device (/dev/linkToDevice). The "linkToDevice" is a link to ttyUSB0. The application is a c++ program of which is now a daemon and runs at ...
4
votes
3answers
377 views

Change default search name

My Ubuntu12 server VM is receiving its IP address from an DHCP server (actually my WLAN router called Fritz Box). Hence all domain names are resolved to machinename.fritz.box. The reason seems to be ...
1
vote
0answers
521 views

dhcpd on interface with multiple address and link labels (aliases)

I had been running a dhcp server on an old version of isc dhcpd circa 2005, 3.0 something. I just upgraded to ISC dhcpd version isc-dhcpd-4.1-ESV-R6. Before upgrading, the interface (eth0) had two ...
1
vote
2answers
2k views

Why does dhclient fail with my ISP's DHCP server on a virtual interface?

Recently I switched from a T1 to a residential cable service (Comcast). I have a virtual machine (XenServer 5.6) running Debian 6.0.6 that is acting as the default gateway for my home network, but for ...
3
votes
1answer
487 views

set VM IP address to be the same every time from DHCP on CentOS 5.6

I have an issue where, each time I start my CentOS 5.6 VM, DHCP (I believe) is allocating my VM a different IP. I have the VM mapped as a Samba share in Windows 7 and this changes between 192.168.0.8, ...
4
votes
2answers
256 views

What happens when I plug a Ethernet cable?

What happens when I plug in a Ethernet cable? I want to be able to see what's happening on the Level 2/3 (I believe the protocols I'm trying to watch is Ethernet, IP (v4 and v6) and DHCP for IP ...
1
vote
0answers
255 views

how to solve the problem of network DHCP when I install Debian?

I am trying to install Debian 6, but I have a problem every time I pass through the network part, it says cannot recognize the DHCP and couldnt connect to the network, so, I tried manually to ...
1
vote
2answers
299 views

Another package being selected instead of what I am trying

I am trying to install dhcp3-server,but it is instead selecting isc-dhcp-server and its not working as per my expectations. Please help. Reading package lists... Done Building dependency tree ...
2
votes
0answers
289 views

Booting over the LAN using uboot

I am trying to boot my beaglebone over the LAN. I am able to download the Kernel uImage from the TFTP server. Here is what I did - U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55) Texas ...
2
votes
1answer
574 views

dhclient for normal (non-root) users

Calling dhclient as root works beautifully on my debian machine. However, I would like to allow some users to execute dhclient, too. So far, I have tried these two examples: Example 1: When a normal ...
5
votes
1answer
5k views

isc-dhcp-server fails to start at boot

I have been running the isc-dhcp-server fine for quite a while. A few days back after an update, it fails to start. I found a few more people reporting similar problems but that was from 2009. I was ...
2
votes
3answers
182 views

Connecting Debian webserver to network

I am currently running a webserver with Debian 5.0.2. It has been working (more or less) fine for the past 2-3 years but recently it went down due to some power-outage. Ever since I have brought it ...
1
vote
0answers
254 views

How can I renew lease when it kept printing eth0 lease expired x seconds ago?

My guest VM cannot get an IP address from my host. It keeps printing: eth0: lease expired x seconds ago I've tried to start dhclient -r and dhclient and restart eth0 to no avail, see here for ...
1
vote
1answer
349 views

How can I resolve local IPs to hostnames? [duplicate]

Possible Duplicate: How to make a machine accessible from the LAN using its hostname I have is a simple home network with a few machines connecting through DHCP. If everyone and their ...
4
votes
1answer
16k views

Setup static IP in redhat 6

I installed Redhat 6 x86_64. I am using the Network connection screen to set a static IP address like below (I want two PC's in my house to see each other: one Redhat PC and one Mac) 192.168.0.5 ...
5
votes
1answer
1k views

How to force Debian to wait for DHCP

I am running Debian squeeze in a virtual machine (VirtualBox). The machine has two interfaces: eth0 in "Host-only" mode so that the machine is accessible from the outside; and eth1 in "NAT" mode so ...
2
votes
0answers
345 views

How to configure dhcpd to register ipv4 with bind while having static ipv6 addresses?

I have IPv6 configured on my local network via radvd; it advertises a routable IPv6 block, that all the machines auto-configure.s I have IPv4 assigned to a NAT'd block via dhcpd and that updates ...
4
votes
1answer
1k views

Is there anything wrong with using dnsmasq as a dhcp server instead of isc-dhcp-server?

So I've configured my home connections to work with dnsmasq since it bundles a dhcp server with it and is quite nice to set up. There is another package - isc-dhcp-... that also does this and perhaps ...
5
votes
4answers
500 views

Automatically acquire new IP address in new network

I'm running a Centos virtual machine on a laptop using a bridged network connection to avoid double-NAT issues, with the address assigned via DHCP. This works fine until I move the laptop to another ...
3
votes
1answer
537 views

PPTP with dhcp only for clients

I have a local network at home with a router and a small server. The router manages the local network (DHCP, etc) but does not support PPTP. On the server (Ubuntu 12.04) I set up pptpd and this is ...
2
votes
1answer
2k views

u-boot disable DHCP requests with setenv

I am trying to disable the DHCP requests after the Kernel was loaded. Using freescale imx25 dev-board in standard config. In u-boot, I find two lines ip=dhcp: MX25 U-Boot > pri bootdelay=3 ...
3
votes
1answer
757 views

Run a command after acquiring IP address

I would like to run the command Urlsnarf -n -i p33p1 >> file when the p33p1 network interface gets its IP address. Initially I tried to run the command at bootup by adding the a crontab entry ...
1
vote
2answers
2k views

Setting up ad-hoc in Debian with DHCP?

I made a quick search and found a doc that showed me a way to setup ad-hoc. Only problem is that I need this to work with my phone (WP7) and I'm not able to set a static IP on the phone so I need the ...
1
vote
1answer
952 views

Losing wifi connection to access point after a few minutes (hostapd, dnsmasq, iptables)

I'm using a laptop as a wifi access point. Since this laptop has the proper hardware, I was able to use hostapd. I wanted to use DHCP and iptables/NAT forwarding instead of a bridge to have more ...
7
votes
3answers
11k views

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 ...
1
vote
2answers
491 views

Force usage of DNS server provided by DHCP?

I got a preconfigured debian image that gets it's network configuration by DHCP, however the DNS server is/was fixed to 8.8.8.8. This was configured using /etc/resolv.conf, so I deleted all the ...
3
votes
2answers
7k views

dhcpd: any way to check dhcp pool status?

Once dhcpd (IPv4) is started, is there any way to check its internal pool status? e.g how many addresses are available? I checked man(8) dhcpd, there's no signals/files available for that info.
4
votes
1answer
3k views

dhcp: Host name lookup failure

I changed configuration of /etc/sysconfig/network-scripts/ifcfg-eth1 and used ifdown and ifup to reset it. Then used ifconfig eth1 dhcp start it does not work and say:dhcp: Host name lookup failure. ...
2
votes
2answers
2k views

How to set dhclient options for Networkmanager

I'm trying to modify the domain search order that is obtained via DHCP a la dhclient.conf: append domain-search "example.com"; I'm using Fedora 17 (beta) and it uses NetworkManager. It builds a ...
3
votes
1answer
3k views

DHCP server: offer different subnet addresses for different interfaces

I'm running Ubuntu 10.04 on my home router which has multiple network interfaces. I have dhcpd configured to provide addresses from 192.168.1.0/24 subnet on certain interface. However, I'd like to ...
3
votes
1answer
6k views

VirtualBox guest using Bridged networking unable to obtain DHCP address

I have a computer, called Loki, that works as a virtual machine host and DHCP server. The DHCP daemon is listening on port eth0. Part of /etc/dhcp.conf: subnet 192.168.13.0 netmask 255.255.255.0 { ...
3
votes
1answer
682 views

configure dhcp client without accepting nameserver entries

I am trying to configre my openSuSE 12.1 machine as DHCP client, but especially do not want it to set the name server entries to /etc/resolv.conf it has got from DHCP server. Can I do it on the ...
1
vote
1answer
588 views

PXE boot chaining to hardcoded TFTP server?

My existing network environment provides the following: DHCP server that sends PXE clients to a particular TFTP server TFTP server with SYSLINUX "pxelinux.0" file for booting The SYSLINUX ...
5
votes
1answer
4k views

QEMU-KVM and internal DHCP server

I have set up a few soon-to-be production VMs running on QEMU-KVM on Ubuntu 10.04 LTS. As for networking, I chose the "NAT" option in Virt-Manager and each VM now gets an IP address 192.168.122.x ...