Networking :: Configure To Use A Specific DHCP Server?

Jan 24, 2010

This is probably an odd request, but figured I'd ask in case someone knew. We have a lab that has the IP range 172.10.0.0/16 (255.255.0.0). The lab gateway/DHCP assigns an IP in the range of 172.10.0.2-172.10.0.254. I want to set up my own DHCP server on a specific range, for example 172.10.10.1-172.10.10.254. I create a new host fine, but since it's set for DHCP, it uses the DHCP server at 172.10.0.1. Is there a way to force it to use a different DHCP server on the client side? I realize that I can work around this with exclusions on the 172.10.0.1 DHCP server, or use iptables to deny DHCP requests to specific MACs, but wanted to know if there was an (easier?) way to configure the client to use the 172.10.10.1 DHCP server instead of the 172.10.0.1 server?

View 1 Replies


ADVERTISEMENT

Networking :: Configure A (openSUSE) Client To Dhcp To EBox DHCP Server - Lease An IP Address

Mar 25, 2010

I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response

openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.

The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0

I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?

View 2 Replies View Related

Networking :: Configure Dhcp Server On Centos?

Feb 9, 2010

how to configure DHCP server on centos linux and how to configure FTP server on centos linux

View 2 Replies View Related

Ubuntu Networking :: Configure A DHCP Server But When Try To Start It It Just Fails?

Jan 10, 2010

I'm trying to configure a DHCP server but when I try to start it it just fails.

Code:
log
Jan 10 16:25:52 SRV-LINUX00 dhcpd: Copyright 2004-2008 Internet Systems Consortium.

[code]....

View 5 Replies View Related

Ubuntu Networking :: Configure Second Ethernet Card For A Dhcp/dns Server?

Mar 2, 2010

i already have an eth0 configured to automatically get its info from dhcp.

but i wanna configure eth1 to be able to serve dhcp and dns. i havent configured either dns or dhcp server on the server box since i have not configured the serving interface.

so far my interfaces file is:

Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp

[Code]....

View 1 Replies View Related

Networking :: Configure Dhcp Server - Ip Is Not Getting Assigned To Client Machine

Nov 1, 2010

i hav configure dhcp server. but the ip is not getting assigned to my client machine.

View 3 Replies View Related

CentOS 5 Networking :: Configure DHCP Client To Register Itself To DNS Server?

Aug 23, 2010

I'm new to CentOS and has recently use it.

I'm looking for a way to configure DHCP client so it would dynamically set the hostname and register itself to a DNS server. I don't have access to the DNS server.

View 6 Replies View Related

Ubuntu Networking :: DHCP Server Which Does Not Configure The Default Gateway Parameter

Jun 29, 2011

I need to place an Ubuntu machine on a network where I have a DHCP server which does not configure the Degault Gateway parameter (we don't want ordinary users to browse the internet). Is it possible to leave the machine using DHCP and define the Default Gateway manually (as in Windows XP i.e.)? How?

View 1 Replies View Related

Debian Configuration :: Use Specific Address For Dhcp Server?

Apr 27, 2011

I'm running gnome desktop on squeeze system. When I boot my system seems to be using my internet modem as its dhcp server. The rest of the machines on my lan are correctly using my router for that purpose. As a result, what happens then is that my debian machine frequently gets a duplicate ip address assigned to it. I would like to specify to my debian computer that I want it to use the specific fixed ip address of my router for dhcp purposes.

View 9 Replies View Related

Networking :: DHCP To Assign Specific IP To A Particular MAC Address Of A Machine?

Feb 22, 2010

I want to setup 1Gbps our lab network and we purchased 'Buffulo Giga layer switch ' with 24ports. Is there a way to tell DHCP to assign specific IP to a particular MAC address of a machine ? We want to use DHCP and whatever the port we use ,it should have same IP ..

View 1 Replies View Related

Fedora Networking :: Raw Packet Creation - Sending Specific DHCP Offer?

Jan 25, 2011

I am trying to design an application which violates the DHCP. Specifically the difficulty in writing this application is physically sending the raw packet. I need some documentation on either a library that supports this or where to look for support for raw packet creation. I am not trying to create a raw datagram, that doesn't meet my needs because a raw datagram is still at layer 3 I need to craft a raw layer 2 PDU.

Specifically I want to
Send a very specific DHCPDISCOVER
Receive a DHCPOFFER
and pull apart the offer while never sending a DHCPREQUEST.

Specifically I am pulling apart various options that are sent in the DHCPOFFER. I have a raw DHCPDISCOVER already crafted and the formatted struct sockaddr_ll where I fault is I can't send the damn thing. Getting the file descriptor after calling socket is okay but what now? How would I write to that file descriptor and have it transmit?

Code:
int connfd;
struct sockaddr_ll bcast;
bcast.sll_family = PF_PACKET;
...
connfd = socket(PF_PACKET,SOCK_RAW,0);
//now what

View 1 Replies View Related

General :: Configure DHCP Server In Red Hat?

Apr 16, 2010

I want to create a dedicated DHCP server in Red Hat Linux for a small office with a private range from 192.168.1.10 to 192.168.1.20

View 10 Replies View Related

Server :: Configure One RHEL With DNS And DHCP

Jul 30, 2010

I have installed RHEL 5.1 in VMWare 6 I want to configure one RHEL Server with DNS & DHCP Also I would like to PXE boot, whenever I create a new VMWare Client(RHEL), the installation should be initiated via network boot

View 2 Replies View Related

Server :: How To Configure DHCP In RHEL 5

Jul 5, 2010

here to learn some good technical stuffs

View 6 Replies View Related

Ubuntu Networking :: DHCP Server No Longer Responses To DHCP Requests - Can't Ping Gateway

Oct 22, 2010

Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.

Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address. When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces

Code:

auto lo
iface lo inet loopback
auto vlan100
iface vlan100 inet static

[code]....

why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.

View 6 Replies View Related

Ubuntu Networking :: DHCP Server No Longer Responds To DHCP Requests - Can't Ping Gateway

Jul 1, 2010

Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.

Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address.

When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces

Code:

auto lo
iface lo inet loopback
auto vlan100

[code]....

why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.

View 2 Replies View Related

Ubuntu Networking :: If DHCP Not Available - Fallback And Start DHCP Server?

Mar 8, 2010

Currently I have my eth0 interface getting a DHCP address but at times the DHCP server will not be reachable. Sooo what I would like my server to do is if it cannot find a DHCP server assign a static address to eth0. Then start the DHCP service so it can then dish out some addresses.How can I do this? Surely it is possible

View 2 Replies View Related

Fedora Servers :: How To Configure DHCP Server

Aug 3, 2009

How to configure DHCP server on Fedora?Is there any package available on Fedora 11 ?

View 5 Replies View Related

Debian :: Configure Dhcp Server But Without Success?

Apr 5, 2010

i'm trying to configure my dhcp server but without success. i've installed dhcpd apt-get install dhcpd-server then i've added the following line to my dhcpd.conf

host foo{
hardware ethernet 00:00:24:C9:5A: D0;
fixed-adress 169.254.81.51;
filename "pxelinux.0";

[Code]...

View 2 Replies View Related

Red Hat / Fedora :: Configure A Dhcp Server On RHEL 5.3 Or 14

May 1, 2011

i'd like to configure a dhcp server on my RHEL 5.3 or Fedora 14, since i don' have a legitimate DNS server....n it asks for option domain-name " "what do i put in there.. me got two nics for my WAN(dhcp enabled) n LAN...i just want to parctice at home for my future job...

View 3 Replies View Related

Red Hat :: Configure DHCP Client To Register Itself To DNS Server?

Aug 23, 2010

I'm a newbie to Linux and need some help in DHCP client configuration.

I'm trying to find a way to set hostname at the start up and get the DHCP client to register itself after it received an IP address.

View 2 Replies View Related

Debian Configuration :: How To Configure A DNS / DHCP / Directory Server

Jan 17, 2016

Setup a DNS/DHCP/Directory server on Debian? I would like to configure the things in Debian so that can join Linux and Windows(if possible as m not sure yet) clients to the directory server. Any links to setup both Forward and Reverse lookup zone in the environment.

View 4 Replies View Related

General :: Configure Dhcp Server In A Local Lan Network?

Jun 2, 2011

how to configure dhcp server in a local lan network

View 2 Replies View Related

Server :: Configure/Setup DHCP, TFTP Servers?

Feb 23, 2010

I've tried to configure DRBL server to use Clonezilla and that is required me to setup DHCP, TFTP servers.But I've gotten a lot of errors from them - so please look at my attachments from /var/log/messages and dhcpd.conf - help me to find out what are wrong with them.

[Code]...

View 1 Replies View Related

Networking :: Configure Dhcp To Give Front Numbers?

Jan 12, 2011

I setup DHCP on CentOS 5.5. My issue is whenever my client leases, the server gave the last available IP. eg. my dhcp ip range is 192.168.1.10 to 192.168.1.100, the server gave me 192.168.1.100, then 192.168.1.99 for the second machine. How to configure the dhcp to give the front numbers, eg 192.168.1.10 first, then 192.168.1.11 and so on. Then on option domain-name-servers 8.8.8.8; how can I include second nameserver ? 8.8.4.4 See below for my dhcpd.conf

[Code].........

View 3 Replies View Related

Debian Multimedia :: Recording Screen - Install/configure A Server - Dns - Dhcp

Feb 7, 2011

I need to install/configure a server (dns, dhcp, etc) and since im running Debian I want to configure a Debian server, but i want to do it on a virtual machine, cause i dont want to have all that stuff on my system, now Im wondering whats the best screen recorder that i can use on Debian for this purpose.

View 3 Replies View Related

Ubuntu Servers :: Ubuntu Server Edition Was Unable To Configure DHCP During Install?

Apr 12, 2010

I am trying to install Ubuntu server edition on an old HP XT963 that recently came into my possession. I mainly just wanted to use it as a home file server and print server. I have been running ubuntu desktop on my laptop for a little under a year, but this is my first go at the server edition.

While ubuntu was installing it said "network autoconfiguration failed," I hit continue, thinking I could figure out how to configure it later. After lots of googling I still haven't figured out what exactly is wrong.

Code:
auto lo
iface lo inet loopack
after googling around I made it look like:

[Code]...

I would like to provide more information such as ifconfig and any other commands but I'm not exactly sure how I would do that without being able to copy/paste. I guess I would have the command dump the output to a file, but I'm not familiar with the -options this being my first time CLI-only.

View 9 Replies View Related

Networking :: Configure PC For Wired/static And Wired/DHCP Networks ?

Oct 27, 2010

I want my netbook to connect automatically to both the office wired/static network and to the usual wired/DHCP networks.

wicd is wicked but netsearching hasn't revealed how to configure it for both wired/static and wired/DHCP except by manually switching profiles.

wicd's profiles can use pre/post(dis)connect scripts but I don't know how to integrate them into wicd when they are upping/downing connections on cable (un)plugging.

If it is not practical to solve this within wicd, I'll explore standalone scripts to configure eth0 on cable (un)plugging, as detected by ifplugd.

View 2 Replies View Related

Ubuntu Networking :: Find Gateway - DHCP Server - DNS Server From CLI ?

May 27, 2010

On a remote system, when all you have is the ssh CLI -

How do you find out the ip addresses for:the Gateway
the DHCP server
the DNS server

Don't need to make any changes.

Which commands will display this info?

View 1 Replies View Related

Debian Configuration :: How To Assign Specific Local IPs In Home LAN Using DHCP?

Apr 29, 2011

I have some beginner questions about DHCP, Avahi, and configuring a small home LAN.Suppose I have a dynamic IP address assigned by my ISP, which requires DHCP be enabled in my dsl modem/router/"firewall" [sic]. Suppose for simplicity I have just one PC behind the dsl modem.I think "enabling DHCP" in the modem/router means that a DHCP client runs on the router, which communicates with a DHCP server run by my ISP when I boot up a PC on my LAN. Is that guess correct? Can I get DHCP to assign a particular local IP, say 192.168.1.10 (which is not the one taken by the router--- for this discussion, let's say that is 192.168.1.0) to my PC each time I boot it up?

Now suppose I want to build a stand-alone firewall, so that my LAN will have the firewall and the first PC behind the modem, with the first PC virtually behind the firewall. By default, I think these will both have DHCP clients running which I need to configure properly. The firewall should also have a DHCP server which should control how local IP addresses are assigned, correct? I should try to arrange that the LAN has only DHCP server, only one NTP timeserver, only one DNS nameserver, correct?My first PC seems to have installed an autorun client called Avahi, which performs DNS multicast services and incorporates something called zeroconf which seems to have something to do with remote desktops, which I don't need and which is a potential security hazard. But it seems that Avahi is an intrinsic part of the KDE desktop and cannot be removed. Just want to be sure that Avahi can coexist comfortably with dhcp3-client, which is also installed on that PC. They perform different tasks, correct?If I can get the stand-alone firewall to work, I know I need to turn off the commercial firewall in the dslmodem/router/firewall device. Should I purchase a bridge and try to turn off the routing function also?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved