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.
I got a CentOS server setup as a dhcp server using dnsmasq. I followed this guide more or less: [URL] So, the problem seems to be concerning the DNS server on the clients. In windows I get the "limited connectivity" icon for the network, and when I select troubleshoot it says the DNS server does not respond. Issuing 'ipconfig /all' clearly shows the IP of the CentOS machine as the DNS server, which should be correct, yes?
ETH0 is working as WAN connection and that works great.. no problem with the WAN connection at all on the CentOS machine. ETH1 has the IP 192.168.0.1 and mask 255.255.255.0 When starting eth1, it sometimes says that it can't start eth1 because the IP 192.168.0.1 is already in use.. but that is most certainly not the case. Maybe there's some kind of issue here that messes with the DNS? What's mind boggling is that it works great on a linux machine (dhcp client) and on a windows xp machine. but it does not work on the windows 7 laptop and a vista laptop and a pda device.
Now when I try to pull an Ip from the 22.214.171.124/24 subnet I do not see the options in the DHCPACK from the server. The client gets an IP 126.96.36.199 but no options are present in the DHCPACK or any other DHCP transaction. I have confirmed this trhough tcpdumps on the server and client.
The server version I am using is:
The version of the DHCP server is :
Internet Systems Consortium DHCP Server V3.0.6-Fedora
ubuntu: 10.04dnsmasq: 2.52-1ubuntu0.1I've installed dnsmasq and it is performing DNS duties correctly. I'd like to limit access to the dnsmasq service to a specific address or interface. I've tried adding variations and combinations of the following to /etc/dnsmasq.conf:
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.
On a Lucid server, dnsmasq is happily running DHCP together with a local DNS; although, in setting up NFS, I seem to have a small problem... I have /etc/exports referencing the hostname of the clients but these IPs change when the DHCP lease is renewed. Unless I restart NFS or run exportfs, I cannot mount the exports on my clients. I know that it would be good to make the all the addresses static; however, I was wondering whether there is another way to configure NFS such as possibly adding in a script to continually monitor /var/lib/misc/dnsmasq.leases and re-export accordingly?
I have it working fine when tftp and dhcp are installed on the same server but when trying to forward to a remote tftp it does not work. Dnsmasq insist on giving its local ip.I have added to config:dhcp-boot=pxelinux.0,pxetest2,192.168.0.130and I tried with and without the original hcp-boot=/var/lib/tftpboot/pxelinux.0Not much on this topic on the google nor on the dnsmasq homepage.
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.
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'
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?
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 188.8.131.52-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 :
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.
I have a strange problem for internet. My clients (winxp - S2) can't get internet.Let me explain my scenerios. Fedora 10 with lan (eth0) having direct internet from dsl model, client (XP service pack 2) can use samba shares using dhcp (wlan0) installed in Fedora 10 box. client can ping my linux box.Now problem is: client (dosbox) can ping the google ip address (i.e ping 184.108.40.206) but can't use 'ping www.google.com'. That means ping with ip works for internet from my client. My linux box can. I can use internet from FC10 but can't use iexplorer from my client to have internet. I have enable ipmasquarding in Firewall and dhcpd is running on wlan0 for dynamic ip address of my clients.Can someone suggest me what kind of problem having I? What should i do to success iexplorer for internet? what possibly am i missing?
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.
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?
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
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?
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
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?
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?
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".
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.
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.