DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

1
vote
1answer
151 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 ...
5
votes
3answers
1k 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
817 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 ...
2
votes
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
687 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
325 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
446 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
430 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
409 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
1k 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 ...
6
votes
1answer
7k 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
198 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
307 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
520 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
2answers
27k 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
2answers
454 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
2k 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
5answers
662 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
664 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
3k 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
1k 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
1k 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 ...
10
votes
3answers
17k 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
663 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
11k 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
4k 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. ...
3
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
4k 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
7k 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
829 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
700 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
5k 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 ...
1
vote
1answer
340 views

resolv.conf + PXE server + kickstart files

I use PXE server in order to download kickstart and to install Linux. After installation I saw that /etc/resolv.conf was created with the IP of the PXE server. Why there is PXE server IP address in ...
2
votes
1answer
4k views

How to disable DHCP (static IP)?

If I want to set my Slackware machine to have a static IP assigned from the router, how can I do so? I assume I have to disable DHCP then edit something to set the requested IP, but I'm not sure ...
2
votes
2answers
16k views

Debian dhcpd “No subnet declaration for eth0”

I am trying to set up a pxe boot server on a Debian 6.0.3 Squeeze machine that gives images of PLoP Linux. I was following a tutorial from ...
1
vote
1answer
644 views

pxe boot: problems with /etc/resolv.conf

I'm pxe booting a node (Ubuntu 11.10). The image of the node is created with debootstrap. Works great. Everything is loaded. When I login to the node I see that /etc/resolv.conf is empty. In the base ...
1
vote
1answer
501 views

Linksys WAG200 DSL/Router combo with cable modem? [closed]

I have a Linksys DSL/Router combo. It was previously used for my DSL connection. I switched to a cable connection now, using Motorola cable modem. Is it possible to create have the cable connection ...
9
votes
3answers
19k views

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

Why does only one network adapter ever get DHCP IP address?

I am using a Panda Board which is running a build of Angstrom. The Panda Board has an in build Ethernet port and this is working fine, getting a DHCP address successfully. I am going to be housing ...
3
votes
3answers
2k views

DHCPv6 prefix delegation server for linux?

What linux DHCPv6 client can I set up so it requests a prefix on one interface and then on all the other interfaces it will give out addresses (or if requested, a smaller prefix delegation)? It would ...
5
votes
5answers
4k views

How to overcome libc resolver limitation of maximum 3 nameservers?

Suppose I work in environment with number of domain changes and slow propagation. I want to test domain configuration immediately after setting change but the propagation is slow. So I want to add ...
2
votes
1answer
892 views

How to setup DHCPD on two interfaces (Angstrom)

I have an embedded system running Angstrom just fine. This platform has multiple uses, one of which is to act as a home router, so it has wireless and wired network interfaces, which work correctly. ...
2
votes
0answers
3k views

Debian Wheezy netinstall can't configure DHCP

I am reinstalling my Debian system with the Wheezy netinstall image on a USB drive. I have a wireless router that also comes with ethernet ports, so I could either connect to my LAN via wifi OR ...
4
votes
2answers
825 views

How to configure Linux to use DHCP or static IP depending on presence/absence of DHCP server?

I would like to configure a network interface to make use of DHCP if a DHCP server is present on the network during boot, but otherwise default to some default static IP address.
3
votes
2answers
5k views

Get client hostnames from DHCP

I have a voyage 2.6.38 machine running DNSMASQ for a DHCP server and I would like to get the hostnames of the clients that acquire DHCP leases. How would I go about doing this?
1
vote
0answers
313 views

Solaris can't reach DHCP server with VMWare Player

I've got a very creepy problem. 3 days ago I installed some Windows 7 updates. After that my Solaris network has stopped working. I'm working at VMWare Player with OpenIndiana. Everything was okay ...
1
vote
0answers
984 views

problem dhcp3-server ubuntu server 11.04

I installed dhcp3-server in ubuntu server 11.04 apt-get install dhcp3-server However, an error message during installation: Traitement des actions différées (« triggers ») pour « man-db »... ...
2
votes
1answer
646 views

Is it possible to use Internet Connection Sharing with DHCP?

I know it is possible to share an internet connection with another pc using ip-forwarding and masquerade. Is it possible to set up the sharing computer as a DHCP server, so the settings (ip, gateway, ...