Ubuntu Servers :: Unable To Get IP From The Dhcp?

May 1, 2011

I am setting up dhcp server for my public library and need to divide clients into a number of pools on the same network. The different ranges will be for different filtering requirements via squid/dansguard proxy. I have inhouse clients: staff, adult patron, and child patron, that have different filtering requirements and wireless guests that I want to shorter lease times to handle the rapid turnover rate. Trying to understand the terse manual, you assign pools via allow/deny members of classes, but classes are assigned by matching on mac address or vendor ids. Unfortunately as a poor rural library we have a hodge-podge of hardware with no matchable pattern. So I can solve the inhouse clients by using fixed-address, and remove them from the dynamic pool. Now the dhcp server would be serving only the short term wireless guests from the pool.

A common problem at libraries, you always get a few that are compelled to misbehave and break the libraries TOS. In the past the librarians would kick the offenders out of the library only to have them link in from the step or parking lot. Since I have their mac address in their initial lease I would like to prevent them from reestablishing a connection when they are banned.

My thinking is this; the library's computers are static and not part of the pool, the wireless clients would be unknown-clients, so set the pool to allow only unknown-clients, and for the "bad-boys" add their hosts in a group directive would make them "known" and therefore unable to get a IP from the dhcp server.

group {
host banned1 { hardware ethernet 00:00:00:00:00:01; }
host banned2 { hardware ethernet 00:00:00:95:a6:c1; }
host banned3 { hardware ethernet 0c:f1:b6:fe:00:01; }
}

[Code]....

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: DHCP Server And DHCP Client Simultaneously?

Aug 4, 2010

I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices.My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server.One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network.

View 4 Replies View Related

Ubuntu Servers :: DHCP And DHCP Client Simultaneously?

Oct 31, 2010

I have an embedded device for which I've created an html configuration page. This page allows you to set static IPs, dhcp, and can scan for wireless devices. My problem is that in order to access the device it requires that it runs as a dhcp server otherwise people are not assigned an IP and so can not access the embedded devices static IP. (This config page is for the laymen and so they are not the type who are able to set up their own static IPs). One of the potential options is to have the device connect to the network on eth0 acting as a dhcp client. However this prevents me from running a dhcp server. One solution I can think of is running a dhcp server only if it doesn't detect another dhcp server running on the network. However I have no idea how this could be setup.

View 2 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

Ubuntu Servers :: Windows DHCP Server - Multiple Boot Servers ?

Apr 1, 2011

I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.

These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'

From: [url]

I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.

1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?

2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?

View 7 Replies View Related

Fedora Servers :: Build A F12 Cluster To Run DHCP On Top Of Two Servers Using Pacemaker And Drbd?

Apr 28, 2010

I'm trying to build a Fedora 12 cluster to run DHCP on top of two servers using pacemaker and drbd. The pacemaker runs great but i'm having the hardest time getting DRBD installed.

My kernel version is 2.6.32.11-99.fc12.i686.PAE First i tried to [root@dhcp-primary drbd]#yum install drbd this doesn't give me everything because apparently the kernel module for DRBD must be built from source. so i unpacked drbd-8.3.6.tar.gz and tried :

[Code]...

I'm not very experienced in compiling from source i'd love to make an rpm for this but after scouring the web and trying different install methods, I am still at a loss.

View 2 Replies View Related

Ubuntu :: Unable To Get IP From DHCP?

Jun 13, 2010

I'm having trouble obtaining an ip from dhcp. Not sure what the problem is. My router doesn't display as the cable being connected.I've run dhclient multiple times, no go. i've performed:

ifconfig eth0 down
ifconfig eth0 up
dhclient eth0

[code]....

View 5 Replies View Related

Ubuntu Servers :: Logwatch On 10.04 Dhcp?

Jun 16, 2010

i was wondering if there is anybody out there who has logwatch running and configured to just grab dhcp leases only

View 3 Replies View Related

Ubuntu Servers :: Setting Up DHCP After Install

Feb 15, 2010

Due to me not remembering how my father set up the DHCP in my FreeBSD server (Files etc) i could not input the corrent info while i was installed Ubuntu 8.04 (LTS) server edition (32 bit). Could anyone be nice enough to tell me what i need to do, or what files to edit so i can access the internet from it?

View 9 Replies View Related

Ubuntu Servers :: Dnsmasq DHCP Nor DNS Working?

Jun 11, 2010

I have been rtying for a couple of days now to set up a local dns/dhcp server with dnsmasq on a ubunut server 10.04 I followed the basic instructions from several websites, starting with the ubuntu community one, didnt work, then tried some other, and nothing.

In the server the dns works, i test with dig example.com and i can see the time difference, so dns is working. so the problem is not making the dns work but to make the server listen for dns and dhcp resquests and respond to them.

I have desactivated the dhcp from the router so thats not the problem. making a windows box ping the server works, so the network is configured correctly.

dnsmaq is listed as "LISTEN" on netstat, i read in some blog that it should be using ports 67 and 68 but those are no listed, neither i configured them in any moments, none of the instructions i followed mentioned sth about that. i even tried configuring the window box with the ips and dns accordingly and that wouldnt work either.

so in conclusin i have dnsmasq that does have dns set up but wont answer to any requests of either DNS nor DHCP.

View 1 Replies View Related

Ubuntu Servers :: DHCP And Static IP's Dual NIC's?

Aug 28, 2010

I'm have a number of ubuntu servers that all have dual nics.One interface is used to assign a static public ip and the other is used to assign a static internal IP that can be used on the internal network.The interfaces pull IP's from completely separate gateways on different networks.The problem I face now it that our internal network is moving everything to DHCP on the internal side.I can configure my /etc/network/interfaces so that I can get a public static Ip and a private DCHP, but the problem is that the public IP no longer functions for any services.here is an example of my interfaces

Code:
# The primary network interface
auto eth0

[code]....

View 9 Replies View Related

Ubuntu Servers :: Install On A Non-DHCP Network?

Feb 8, 2011

I'm trying to install Ubuntu server on an older 05-06 Desktop (IBM) and when I get to the Configuration part it stops right around 95% and the prompt reads that configuration failed do to the fact that my unit is running a non DHCP Network or my machine is two slow. Now it does only have 1 gig in it right now so I'm thinking that might be the problem also. But if it is a DHCP issue how can I install UBUNTU or is it even possible?

View 9 Replies View Related

Ubuntu Servers :: How To Setup A Dhcp Server

May 30, 2011

Ive tried on multiple occasions to setup a dhcp server, but all the google searches return legitimate results it seems, and ill set everything up, except the last few instructions i have to configure /etc/dhcp3/dhcpd.conf and /etc/default/dhcp3-server, but ubuntu says its not there.Im running Ubuntu Server 11.04 and using nano to edit files

View 4 Replies View Related

Ubuntu Networking :: Unable To Obtain DHCP Through Wireless

Feb 17, 2010

Linksys router and an acer aspire one. I have updated to the 9.10 netbook remix and the laptop associates with the router but will not pickup dhcp. If I specify an address then the machine looks like its connected but will not go to a website. I manually inserted dns but still nothing. So I updated to
linux-backports-modules-karmic-generic
linux-backports-modules-wireless-karmic-generic
Still will not use DHCP , I to am using ethernet at the moment. It was working before the update.

View 6 Replies View Related

Ubuntu Networking :: Unable To Get DHCP To Assign IP Address

Mar 22, 2010

I'm using Ubuntu 9.10, and I want DHCP to assign an IP address automatically. I can ping my router, and get a reply. I just have no idea how to do this.I'm trying to get my Ubuntu machine onto my Windows network.

View 9 Replies View Related

Ubuntu Servers :: DHCP Not Pushing Internal DNS Unless Static

Jan 13, 2010

I operate Server v.8.04 with Bind9 configured for my internal sites. I installed DHCP3 the other day and assigned static addresses for certain boxes on my network. However, only those static assigned boxes can view my websites internally. In other words, DHCP appears to block my DNS. Is there a setting that I missed or is there something else?

View 5 Replies View Related

Ubuntu Servers :: DHCP General - Connect To The Internet

Jan 22, 2010

I'm going to load ubuntu server to a computer just for testing and learning. There is one ethernet card on this computer that will only be used occasionally to connect to the internet. This computer will not have any computers or routers connected to it. So my question is, once installed and running, will DHCP just sit quietly and wait for a request or is it going to complain a lot that it is not finding any other computers?

View 4 Replies View Related

Ubuntu Servers :: Dhcp Lan Clients Have No Internet Access?

Apr 20, 2010

alright so i set up dhcp server and my clients are getting ip's, can ping each other, and can ping/ssh the server. but nowhere beyond that.

however if i ping an externel site, i get its IP addr, but no pings (100% loss)

im ripping my hair out over this. i know that iptables is right, but i dont know about dns

idk if this helps:

Code:
pavel@ubuntu-server:~$ cat /etc/network/interfaces
auto lo br0 eth0 eth1
iface lo inet loopback
#mapping hotplug

[Code].....

View 9 Replies View Related

Ubuntu Servers :: DHCP Clients Can't Get Internet Access / Have That?

Jun 21, 2010

I must be very thick as i cannot seem to get my dhcp clients to connect to the Internet properly.
on my lucid server i installed dhcp3 server and bind9, i can ping and dig all on the local network. on the clients however, as soon as i go out of the local network there's messages like "unknown host www.google.com" or "network is unreachable".

View 9 Replies View Related

Ubuntu Servers :: Openvn On A Getaway / Dhcp Server

Sep 29, 2010

i have a lucid server box running a dhcp server and webmin.i want to bridge openvpn to the network that the dhcp server serves.all the configurations ive seen, id essentially have to install openvpn onto a computer underneath the dhcp server to accomplish this.

View 3 Replies View Related

Ubuntu Servers :: No More DHCP Init.d Script Upon Upgrade To 11.04

May 3, 2011

I upgraded our server today from 10.10 to 11.04. I can no longer find the init.d script for the DHCP server.

View 3 Replies View Related

Debian :: VM Unable To Get IP Address From DHCP

Nov 29, 2010

I have a Debian VM on Windows that is not getting an IP address assigned by the DHCP. I tried, ifdown eth0 and then ifup eth0 and still no IP address. my interfaces file looks like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface

[code]....

View 4 Replies View Related

CentOS 5 :: Unable To Install DHCP

Nov 8, 2010

I am unable to install DHCP in Centos 5.5.

View 3 Replies View Related

Fedora Servers :: Can't Start A DHCP?

Sep 6, 2009

here s what i did :

# yum install dhcp
#gedit /etc/dhcpd.conf
#service dhcp restart
Starting DHCP

[Code]...

what am i missing ? , and how can i be sure if the Dhcp server is working exactly what i want

View 5 Replies View Related

Fedora Servers :: DHCP Won't Start On F12

Feb 5, 2010

DHCP server on F12 wont to start, recieving "semicolon expected." errors everytime
have to start in on eth0 alias

my /etc/dhcp/dhcpd.conf
============================
DHCPARGS="eth0:0"
ddns-update-style interim;
ignore client-updates;

[Code]....

if i comment firts 3 lines, than semicolon expected." errors will point again from next uncomented line.

View 6 Replies View Related

Fedora Servers :: Getting Dhcp To Start?

Aug 17, 2010

have f13 runing and finished configuring dhcp. but i tried to start the service using '/etc/init.d/dhcpd restart and service dhcpd start', i failed in return. pls what could be responsible? tried starting the service but still failed. could anything be stopping it?output from /var/log/messages says;

line 1: this version of ISC DHCP is based on the release available
line 2: features have been added and other changes
line 3: have been made to the base software release in order to make
line 4: it work better with this distribution
line 5: please report for this software via the RedHat Bugzilla site:
line 6: http://bugzilla.redhat.com
line 7: exiting.

those are the reports from the log.

View 3 Replies View Related

Ubuntu Servers :: Installing LTSP When Using A Separate DHCP And TFTP?

Mar 17, 2010

I want to install Ubuntu LTSP on top of an already existing system. However, I want to use a different DHCP and TFTP server. Do I simply just install 'ltsp-server-standalone' with apt and run 'sudo ltsp-build-client', stop the DHCP and TFTP server and stop them from starting automatically? Would I then just copy over the pxelinux.cfg/default file from /var/lib/tftpboot along with the initrd.img and vmlinuz images to the TFTP server?

Edit: Do I need to actually copy the whole /var/lib/tftpboot/ltsp directory over to the TFTP server?

View 1 Replies View Related

Ubuntu Servers :: Dhcp Doesn't Provide Fixed Address

Apr 8, 2010

Ubuntu LTS 8.04 + DHCP. Works fine except for fixed addresses. I mean all devices which need to get fixed IP according to their MACs don't get them and keep to receive random IPs from the range (almost everytime all machines receive the same IP they got from DHCP for the first time).

View 2 Replies View Related

Ubuntu Servers :: Slave DHCP And DynamicDNS Can't Update Record

Nov 29, 2010

I setup 2 servers for DHCP and DDNS failover. But I see only Master DNS can update to db. file. When I disconnect Master, the Slave can release new IP to client but can't update record to db. file.

Error:

Code:
bdc named[878]: client 192.168.100.2#36203: signer "rndc-key" denied
Nov 28 22:42:22 bdc named[878]: client 192.168.100.2#36203: update forwarding 'systeminteg.com/IN' denied

[Code]....

View 3 Replies View Related

Ubuntu Servers :: Trigger A Shell Script Upon DHCP Request?

May 13, 2011

Is there a way trigger a shell script after my DHCP server successfully gives out, either a specific IP address or to a specific MAC address.I have two Xbox360's in my house that both receive IP address via DHCP reservations from the Ubuntu server.I have come to accept that without having two public IP addresses getting both to have an open NAT will be very difficult. I have decided that I am OK with only one being able to have an Open NAT at a time, but I want to change the firewall rules according to which Xbox 360 turned on first. This way I can move between level in my house and play online without having to modify rules manually.

View 3 Replies View Related







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