0
votes
1answer
65 views

Systemd-networkd: How can I prepend a static nameserver entry to DHCP-discovered nameservers?

I'm using systemd 213 on Arch Linux, and systemd-networkd/resolved with DHCP to connect to the internet. I'm also running a caching DNS server on 127.0.0.1. I'd like to make this server the first DNS ...
0
votes
2answers
43 views

How can I ensure that my static ip address is read from /etc/network/interfaces rather than dhcp?

This is a follow up to the following question. I'm trying to set a static IP by changing /etc/network/interfaces to the following: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo ...
0
votes
1answer
39 views

domain name in dhcp

My os is ubuntu and I use virtualbox and I have xp on that. now I want to set my ubuntu to dhcp server. So I downloaded isc-dhcp-server on ubuntu in configuration file i see these two line are not ...
1
vote
2answers
44 views

How can i keep an entry in my routing table, even when the associated interface goes down?

I have a linux box set up as my internet router. I have the eth0 interface connected to the lan, and the eth1 interface connected to a pppoa modem and configured with dhcp to my public ip. Due to ...
0
votes
3answers
516 views

Check if a DHCP server existing in my network using bash

using CentOS with static IP, Is there any way to determinate if a DHCP server running on the network using bash ?
1
vote
0answers
27 views

dhcp no lease because of not-DAD mode

My virtual machine does not receive an IP lease anymore. Manually requesting a new ip lease by 'ifdown/ifup eth0' or 'dhclient eth0' or 'service network restart' don't work either. The error is ...
0
votes
0answers
161 views

Using DHCP to get multiple IP addresses on single NIC on RedHat

I am trying to obtain multiple IP addresses using the ISC dhclient supplied with Red Hat Enterprise Linux 5 in order to provide the IPs to multiple applications, which will run on separate virtual ...
0
votes
1answer
107 views

How to get host-name from DHCP server via Network Manager?

I can get hostname and ip address from DHCP server with invoking the script under /etc/dhcp/dhclient-exit-hooks.d/ directory as explained here on client side . But it stopped after installed network ...
-1
votes
2answers
207 views

How to configure the network interface with a dynamic range of IP addresses?

I am new to networking, so please bear with me. I have two network interfaces. One network interface is connected to the external world. Another network interface 'p3p1' is what I want to use for ...
0
votes
1answer
84 views

DHCP fallback based on /etc/hosts lookup of your hostname

I have a Kubuntu box (12.04) which usually gets its IP via DHCP. However, it also has a hosts file with some entries in case the DHCP+DNS server fails. Now, if there is no DHCP available, I want the ...
0
votes
2answers
859 views

Arch Linux Install Cannot Enable dhcpd

I am trying to setup internet with arch linux. I just installed it using parallels and got the following error: [root@singularity ~]# systemctl enable dhcpd.service Failed to issue method call: No ...
0
votes
0answers
164 views

dhclient “Can't bind to dhcp address” error

I keep getting the following error message from dhclient upon starting of the Network Manager: Can't bind to dhcp address: Cannot assign requested address. Please make sure there is no other ...
2
votes
0answers
145 views

Detect network clients connect and disconnect

I have a linux gateway/server, which sharing PPPoE internet connection between network users. Seeking for a proper way to detect when network clients are connected to and disconnected from the ...
0
votes
0answers
43 views

I have a small computer with DHCP, but what makes it publish names to clients?

Set up a small ARM computer (cubox) with Debian. That has three NICs, one Internet, two local net. Basically, this is a router with a bridged interface (br0) and firewall. DHCP-server ...
0
votes
1answer
575 views

Stop DHCP services on Linux - Ubuntu

How do I stop DHCP services on a particular ethernet port in Linux ? I was trying to take full control of an ethernet port of my computer to inject packets into the device plugged into it without ...
1
vote
0answers
159 views

Windows 7 RNDIS client sends REQUEST without DHCP server IP

My linux based board is running a DHCP server on USB0 port to assign a fixed IP to the connected RNDIS client. When I connect Win XP or Ubuntu machine with this board, host machine gets the fixed IP ...
5
votes
3answers
6k views

Creating WiFi Access point on a single interface in Linux

I am trying to create a WiFi hotspot or an access point on my Linux laptop. I am using Opensuse Kde 12.3. I found out a software called hostapd which lets you create hotspot but it requires two ...
0
votes
1answer
129 views

how to setup linux-igd to use webserver on same machine

So I have a web server on port 80 and linux-igd/upnp running on the same machine using dhcp. I want to configure linux-igd to be a way to get to the webserver. I found this tag in the linux-igd xml ...
2
votes
2answers
1k views

How to get both IPv4 and IPv6 dynamic address

Running dhclient gets me an IPv4 address. Running dhclient -6 gets me an IPv6 address. And the man page says you can't combine v4 and v6. So how to get both v4 and v6 addresses at the same time?
0
votes
2answers
119 views

Persistent DHCP Reservation Timing Out

I have 2 machine inside my home LAN (Netgear WNR2000v2 wifi). One of them is a laptop ("client machine") that will always be assigned random IPs in the 192.168.1.1 through 192.168.1.50 range. The ...
0
votes
0answers
296 views

How do I gracefully fall back to AutoIP when there is no DHCP service available?

I am developing an embedded device based on Linux and Busybox, and trying to make it adaptable to different network configurations. I want to: 1- At boot time, if there is no DHCP reply, use an ...
0
votes
1answer
140 views

Restrict static IPs (Only DHCP) on Debian Squeeze

How can i restrict access to the Internet for users with static IPs? Can i disable free dhcp leasing? I'm running Debian Squeeze with dnsmasq as dhcp server. All users has their own ip, mapped to ...
0
votes
3answers
803 views

What does asterisk meant in route command

I have two network interfaces present in two different subnets and are configured as DHCP. When I run route command I am getting following output with asterisk in Gateway. What is the meaning of it? ...
0
votes
0answers
592 views

How to reload DHCP client remotely, in order to write new resolv.conf?

I'm trying to configure dnsmasq(8) on a Debian GNU/Linux system in a private DHCP-based network. During a local, manual setup - after installing dnsmasq istelf - one could simply include the line ...
0
votes
0answers
51 views

Host Not reachble on a Network Interface

I have two network interfaces on my linux system. When I select eth0 as default gateway , everything works fine. I can connect to the system from other computers, but when I select eth1 as default ...
2
votes
1answer
1k views

Linux/CentOS how to permanent inititate DHCP Client any reboot?

In my CentOS, i need to run dhclient -v command at every time i start/reboot the server. How to make this permanent please?
0
votes
0answers
241 views

udhcpc: How can I get the result of requesting option?

I use commond line like this: udhcpc -O domain But the teminal only shows like this: Sending discover... Sending select for 192.168.X.X... Lease of 192.168.X.X obtained, leasing time ... So ...
0
votes
4answers
2k views

Network interface/dhcp problems ubuntu with kvm and network bridge

I have a ubuntu system running 12.10 I am using KVM and have configured a bridge for the virtual machines, which is using nat forwarding. I am having problems with the connection dropping out ...
1
vote
0answers
42 views

Negate global parameter in dhcpd.conf

Let's say I've got a DHCP server that will serve 10 subnets. 9 of the subnets will be on the "example.org" domain and one will receive no domain from the DHCP server. I set option domain-name ...
3
votes
2answers
507 views

No route to host after changing interface to static ip

I installed a Linux (Ubuntu) server inside my home LAN, initially it's automatically configured to use DHCP interface. I'm connecting to this server from another computer using that server's hostname. ...
0
votes
0answers
136 views

1:1 NAT IP address using iptables

Suppose I have 2 internal networks: 1.1.1.0/24 and 1.1.2.0/24 I would like to NAT a specific IP address from one network to the other, in which the new address would be obtained via DHCP. For ...
1
vote
0answers
1k views

Embeded Linux device fails to get DHCP

I'm trying to get an embedded Linux device to use DHCP to get it's IP. I think it is trying, this is from the boot output: Configuring network interfaces: cat: can't open '/var/run/udhcpc.eth0.pid': ...
4
votes
3answers
4k views

How could I fix “No subnet declaration for restart (0.0.0.0)”?

I have a DHCP service installed on my distribution, Backtrack 5 R2 (ubuntu 10.04) and it was working fine, but when I began to configure DNS it suddenly stoped working, how can I make it work again?? ...
2
votes
0answers
147 views

How to only obtain information from DHCP server without applying it on Linux [duplicate]

If I do dhclient eth1, it obtains the information (IP address, router, DNS, etc.) and applies it to routing table, /etc/resolv.conf and so on. How to only get and print the information from DHCP ...
3
votes
1answer
662 views

How to make WinServer's AD work with Linux DNS/DHCP on VMware?

I got 2 virtual machines : Windows Server 2008 with Active Directory installed. Linux that works as a DNS and DHCP Server I need to make them work together, but I don't if this is going to be ...
0
votes
1answer
68 views

setting up a WGR614v7 behind a linux box

Here's the setup, I have an openSUSE box with 2 NICs, one goes to my home network router, the other has DHCP running and it attached to a wireless router. I'm trying to get this setup to work before ...
2
votes
2answers
510 views

Laptop kicks other users off the wifi when it connects, then gets disconnected itself

I've got an Acer Aspire One running Linux. When I connect to my building's wifi, everything seems fine for a short period of time (I can google a few things or start downloading an Apt package), but ...
0
votes
1answer
334 views

How to get new IP address on boot up?

In Debian Linux, how can I get a new IP assignment on boot up? I'm working with VMs and I am required that every machine gets a new unique IP after booting up.
0
votes
1answer
3k views

Change default DNS server in Arch Linux

I'm in Viet Nam and most social websites (Facebook, Twitter and the likes - even reddit) are blocked by the ISP DNS server. I tried to change the DNS server of my Arch box using the resolv.conf file, ...
0
votes
0answers
685 views

DHCP Client Can't Find DHCP Server

I currently have 3 machines: CentOS (router) eth1 - 18.0.168.1 eth2 - 145.165.34.1 Windows Server 2008 (server) 18.0.168.2 DHCP scope - 145.165.34.10 - 145.165.34.20 Windows 7 (client) Supposed ...
0
votes
1answer
356 views

Restart Linux without losing IP address

I am using a computer on a network I have no control over (at work) that uses DHCP to assign me an IP Address. Each time I reboot the network assigns me a new IP address (which is annoying as I am ...
0
votes
2answers
306 views

DHCPD (Slackware) - Disabling auto-generation of gateway as DNS server

Good day, I am using a Linux workstation on Slackware 13.37. One "problem" I have had to deal with ever since 11.0 is the following: DNS servers are queried and determined at startup by DHCP ...
1
vote
3answers
5k views

dhcp option 252 what is it?

All over the internet I see example of how to set up dhcpd with WAPD proxy auto configuration using DHCP. In the /etc/dhcpd.conf file There are statements like this. option wpad code 252; ...
7
votes
2answers
4k views

Unable to resolve .foo.local domain names

My workplace has an intranet with domain names like server01.foo.local, server02.foo.local, etc. I recently booted the Fedora 16 live environment to test it out and discovered that these domain names ...
3
votes
1answer
3k views

Getting 2 IP addresses on one network card, using DHCP

Given: A computer running Linux (CentOS 5.x), one network card connected to LAN switch, a second one to cable modem via crossover cable. This computer acts as a router/firewall/traffic shaper for the ...
1
vote
1answer
933 views

Switch between DHCP and static IP

My laptop needs to use DHCP at home and a static IP at work. As far as I can tell, there's no way to flip between one and the other quickly - I'll have to manually configure the network connection ...
1
vote
3answers
1k views

host(1) command only uses first nameserver?

According to the man page, host ought to query "the server or servers listed in /etc/resolv.conf," but it only uses the first entry in that file: thefourthtower:$cat /etc/resolv.conf nameserver ...
2
votes
2answers
3k views

dnsmasq without altering /etc/hosts file manually

I've trying to get dnsmasq working as a combined dns and dhcp server. It's infuriating so far... In short, the DNS works fine for anything added to /etc/hosts, and the dhcp works fine, but the dhcp is ...
3
votes
2answers
4k views

Ubuntu box keeps dropping wired network connection

good morning all. Odd one for you... I have an Ubuntu box, 11.04 x64, running on a Dual Opteron SFF box (iWill ZMaxDP... pretty old machine). Up until a few weeks ago, it was acting as a Windows ...
2
votes
1answer
618 views

dhclient overwriting resolv.conf

I'm setting up virtual dev environments and I want the hostname.domain to be something specific, eg- "barney.local". However my /etc/resolv.conf file keeps getting nuked because i'm using DHCP. I ...