Debian :: Ask A Dhcp Server To Respond A Petition Only If A Condition Happens?

Mar 16, 2010

I have two dhcp server (dhcp3) in the same network, this network is a link layer network so every host is seen as directly connected. The two servers have debian lenny and there are near 13 AP mikrotik to give connection to the XO laptops (from the project one laptop per child). This is for two public schools (each one with one server) that are connected via a p2p connection and each one provides internet for the school and outdoor too. The servers are also file servers, proxy, etc.

Each time a laptop asks for an IP, it sends a broadcast message and this petition gets to both servers, now a days the first server that reply is the one the laptop associate with. What I want to do is, knowing the bandwith use of the ADSL, the clients connected to the server, and the cost to the AP that the laptop associate with, decide wich is the best server to be connected to. What I want to achive is to balance the load and to decide the optimum connection, because now it could happen that one server is very loaded and the other is free. I tried to run dhcp with inetd and use tcp wrappers to invoke a script to check a condition before responding and, in case to be the best server, reply to the laptop, but i couldn't get the dhcp server to respond when I run it with inetd. here is my inetd.conf

bootps dgram udp wait root /usr/sbin/tcpd dhcpd3

View 1 Replies


ADVERTISEMENT

CentOS 5 Networking :: Dnsmasq Dhcp - DNS Server Does Not Respond

Jan 9, 2011

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.

View 1 Replies View Related

Debian Configuration :: DHCP Server With External Dns Name Server

Jun 14, 2011

I wanted to setup my server as a router/gateway just for educational purposes and also when it succeeded i will keep the gateway and place it on the front line right after my modem.

My current setup as it is now :

The GATEWAY/ROUTER will be doing the main work to act as a dhcp server and firewall.

Now my setup as it is now :

So now what i ment to do was :

Let the clients connect to the gateway via ETH1 and all the stuff being router to ETH0 which is the NIC that is connected to the internet.

But now i have two huge problems :

1. The DHCP configuration seems to be fine the client machines get their ip adresses and /etc/resolve.conf looks fine to. But somehow the GATEWAY/ROUTER wont let me use the specified external DNs server so i cant do anything on these machines.

2. The firewall script [url] at line 27 should be DROP but if i use this line of code the GATEWAY/ROUTER cannot use his dns server settings so when i try to browse the internet or ping a machine outside my local network it would came up with nothing.

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

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

Debian :: Squeeze - Won't Connect With (DHCP) Server

Nov 29, 2010

I've been using Debian Squeeze for a few years now, no troubles connecting to a DHCP server in PPOE session... (DSL service) until this morning (11.29.10) when now I do (that is to say; browser, email prog., terminal, real player, etc., just won't connect). I can do dual boot, & so am in Windows XP at the moment.

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

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

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

Debian :: Local DHCP Server With Two Ethernet Cards

Jul 5, 2015

I recently bought a used Server (FSC RX200 S4) and set it up running Debian 7. Being used to Ubuntu, that was no big deal. It works as it should out of the box. This magic computing machine has four Network cards (eth0 - eth3). Now, I want to set it up as a multi-purpose server. On the one hand, it shall provide a Apache2 webserve, a SQL Server, a File/Streaming Server and so on. I have no problems setting up these.

On the other hand, it should work as a DHCP server in my local lan with some PCs and a printer/scanner. Until now, my cheap router did that job including to connecting me to the internet. Since I can't really set up a proper firewall with that box, I want to use my server for that.

Thats's my desired setup I want to achieve:
[] Router provides internet connection to Server
--> cable goes into eth0
[] Server therefore has a internet connection
--> Some internal magic routes the internet from eth0 to eth1 (preferably as a iptables setup) and does the Firwall & DHCP Service
--> cable goes from eth1 to a switch
--> switch connects the PCs and printer
[] PCs have internet and I can use the printer

So far so good, here's what I've come up with. I installed dnsmasq and isc-dhcp-server. I got some config files for both. I got a script to set up my iptables

Iptables script:
Code: Select all#!/bin/sh
#
# rc.firewall
# firewall with iptables ... stronger version
#
FWVER=0.88s

echo -e "
Loading STRONGER rc.firewall - version $FWVER..

[CODE].....

When starting up the services, I don't see any errors. Still, it doesn't work. My Server loses its internet connection and the PCs connected to the network are unreachable.

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

Debian Configuration :: No Net After Changing DHCP Server Other OS Works?

Dec 15, 2010

I just put a pfSense firewall inbetween my ADSL router and my LAN. It's configured to have a cachng DNS server and a DHCP server. Among other things. For reasons beyond this post the address range served by DHCP changed from 10.0.0.x to 192.168.1.x. The new DHCP server gives 192.168.1.1 as gateway and DNS server name and not the public IP addresses of our internet provider.

After reconnecting our client machines everything worked just fine on the win-xp boxes, but the Debian Squeeze servers and Ubuntu 10.4 clients all started to get network timeouts. If I ping public websites it works but browsing to the same servers fails. Other services like POP3 and IMAP also fails. All machines use WiFi to connect and the access point is the same as before.

What could it be that make the debian boxes fail? My laptop runs squeeze too and also fails. But when connecting to various other access points at hotels and such I do not get this problem.

Another weird thing is that the debian server running virtualbox cannot do things online but the virtual windows boxes running on this machine can. Weird! Where should I start looking? How is networking/dhcp clients on Debian different from Windows XP?

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

Debian Configuration :: DHCP Server In Squeeze Appears Broken?

Dec 3, 2010

Alright, I edited "/etc/default/isc-dhcp-server" and set "eth0" as the only thing listed for interfaces. I also have the code below in "/etc/dhcp/dhcp3/dhcpd.conf" and I even copied it to "/etc/dhcp/dhcpd.conf" for good measure, and I can't get the DHCP server to start. As an intermediate to advanced user, I am under the high assumption that it is broken since everything in the docs has been set. I have googled for two days and cannot find a fix, so before I report it as a broken package, would somebody with more experience with the package chime in?

Configuration file:
subnet 10.0.0.0 netmask 255.255.255.0 {
option domain-name-servers 10.0.0.254;
option broadcast-address 10.0.0.255;

[Code].....

I hid my wireless setup because it contains my WiFi network info including key. This box is routing, doing DNS resolution, and firewalling just fine. I just cannot get the friggin' DHCP server to start no matter what I try.

Oh, and is it safe to delete "/etc/dhcp" or "/etc/dhcp3"? They appear to be duplicates of each other...

View 1 Replies View Related

Server :: Setup Dhcp Logs In Dhcp Server ?

Jan 24, 2011

This dhcp server is configured with redhat enterprise edition. I found that logs are generating in the following path /var/log my doubt is how can i setup the logs generating for a specified day.

View 1 Replies View Related

Debian Configuration :: Setting Up A VPN & DHCP Server - Connect And Share The Internet

Aug 24, 2010

I have a home Debian server running, and i would like to set it up as a gateway. I have 2 networkcards in it. So internet comes from the modem and on the other card i want to setup a dhcp server and it has to share the internet. But i want it also to connect to a vpn and share the internet of the vpn.. Is that possible?

View 4 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 :: Server Just Dies - Won't Respond To SSH Or Anything Else ?

Jul 4, 2011

I have two servers, both running Ubuntu 11.04 Server. One is a web server, running only a LAMP stack and openssh-server. The other is running server daemons for TeamSpeak and Minecraft. Today, the game server just went down. I can access the LAN by using SSH to connect to the web server, and ping it from there. However, it won't respond to SSH or anything else. The server is a few kilometers from here, so I will be going there tomorrow.

This happened once before, probably about a month ago or something. That time, the web server was running just fine, but the game server was powered off. I thought there had been a power disruption, because when I checked the BIOS settings of the game server, it wasn't set to resume after AC power loss. The web server was set to do this, so it made sense that it would be up and running again after a brief power loss. There were also some news reports about power disruptions in my area.

The thing is, I changed the BIOS settings of the game server to make sure this wouldn't happen again. When I go there tomorrow, I will bring the server back up. However, I would like to know what caused this so that I may prevent it from occurring again. Is there a logfile or something that I can check tomorrow to find the problem?

View 2 Replies View Related

CentOS 5 Server :: Apache Does Not Respond

Apr 29, 2010

I have Centos 5.4 installed on my server. Everything works perfect, however sometimes apache does not work properly. When I write my domain to browser it tries to reach the site, however it can't get any result. (There is no "browser couldn't find" error). The browser just tries to get the content.

When I login to my server with ssh using my domain name, there is no problem. (Named works.) When I give the "service httpd restart" command the problem disappears.I looked at httpd log files but there wasn't any problem at that time.I use the API's of the Facebook and Twitter, so there are many Curl requests are made with PHP. Could that be the reason?

View 2 Replies View Related

Ubuntu Networking :: Pxe Booting - Server Does Not Respond To Arp

Jan 21, 2010

I am trying to get a server to boot off the lan (pxe). I added a tftp server and tested it as operating successfully. I just plugged the pxe-server in and see the dhcp request/response as expected. The pxe-server then sends out an arp to the same address as the dhcp exchange, but the server never responds.

1. as the pxe-server already has info on the mac/ip-addr, why is it now sending another arp

2. why doesn't the server respond? I have most of my network setup the same way and the dhcp exchange is fine.

3. I'm guessing that the arp is triggered by the bootp exchange (next-server).

I do not have the server in the host table under that address.

127.0.0.1 localhost
127.0.1.1 ubuntu-desktop
192.168.5.101 windows1

Do I need to add 192.168.5.120 with a name to get arp to respond?

View 1 Replies View Related

OpenSUSE Network :: Get The NFS Server To Respond To An Automated Search?

Jan 15, 2011

opensuse v11.3 I enabled a NFS server on a host, set up a couple of exports, opened the ports in the firewall. When I open the NFS Client on another host and select "Choose", there is popup that states "Scanning for hosts on this LAN...". Then it returns an error "No NFS server found on your network. ..." That's funny because I had previously mounted the two exported directories already by entering the server name manually. How do I get the NFS server to respond to an automated search?

View 2 Replies View Related

Ubuntu :: Dhcp3-server On Computer Doesn't Respond?

Sep 11, 2010

I need to create a network boot from 1 laptop to another, with a crossover ethernet cable between them, no routers no nothing, my computer is supposed to be the server. I followed half dozen tutorials over the internet but I think my major problem is with the dhcp serverfollowed this tutorial[URL]but when the client boots it makes several dhcp requests but doesn't respondwireshark capture looks something like this until the client times out

Code:
1 0.000000000 0.0.0.0 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x200d8ad

[code].....

View 7 Replies View Related

Server :: Dansguardian Binary File Fails To Respond

May 18, 2010

There is this server running squid and dansguardian as proxy for the local network. Everything is working fine. But I have seen that from time to time the danguardian dies out and fails to respond to shutdown or restart commands. And this is because of the binary located at /usr/local/sbin named dansguardian goes empty. There are multiple instances and hence copying another named dansguardian.2 to dansguardian does it. And dansguardian works normally as it should. Looked into dmesg and /var/log/messages but nothing there. It was compiled and not installed from pre compiled binaries. And runs on CentOS5.4 Final.

View 3 Replies View Related

CentOS 5 Networking :: Server Does Sometimes Not Respond To External Contact?

Mar 1, 2011

I have a CentOS 5 Server running for private fun... Just for playing with it and learn a little linux.this server has to Network interface cards. one for connecting from extern and one from connecting from the LAN.when i want to connect from lan (eg via SSH) this allways works!when i want to connect not from LAN this only works sometimes! only if i establish at the same time a connection from LAN it wors mostly.with other devices i have no problem (tested another server with just 1 NIC) and this works too.also the problem is not dyndns because i have the same problem when i try to connect through the direct IP.

View 3 Replies View Related

Debian :: Dist-Upgrades Halt With Comment Can't Respond To?

Jan 28, 2010

This n00b is having a weird situation during dist-upgrades that I've never seen before. It's puzzling my more-experienced pals in an irc channel, too.

Sometimes--not every time--while running a dist-upgrade outside of X on my Debian Testing machines, I get an informational text display (a comment box?) that always ends with the text "(END)". The display freezes there, and I am given no opportunity to respond and let the upgrade procedure continue.[URL]..

I've tried pressing escape, the space bar, enter, arrow-keys... nothing changes (I get system beeps with each keystroke). If I Cmd+C, I get a root prompt back, but any characters I type are not displayed as I type them. For example, I can type # "shutdown -r now", and the machine will shutdown --but the characters are not displayed as I type them.

If I immediately restart, go into a regular X session, and run synaptic, I get the same comment--but in a window with a "Close" button that I can click. The upgrade will then continue [URL].. This has happened on at least 3 different boxes, all running debian testing. Under gnome and xfce... Probably with 4 different packages in the last 3 weeks?

This morning it happened on a new debian testing install, and just now it happened -- with the identical package -- on an older debian testing install on a different box.[URl]..

View 3 Replies View Related

Debian Multimedia :: Windows Will Not Respond To Mouse Clicks?

Oct 11, 2010

It's been a long time since this started, and unfortunately I don't remember when this happened first. It only happens to Iceweasel and Icedove I guess. (I'm not sure!)

Used to happen in GNOME, now the same problem in Fluxbox.

The exact problem, is that when I have Iceweasel or Icedove open, and I'm using them, suddenly when I click nothing happens. But, if I use the keyboard it'll work... When this happens to Iceweasel or Icedove, the whole window manager becomes useless... When I want to close the windows, nothing happens, etc. Only the keyboard will work... Sometimes when I right-click on the navigation toolbar in Iceweasel, or somewhere like that, it'll work, and I'll be able to work for a few minutes... Then this will happen again, and usually, this time right-clicking on the toolbar and those areas will not work either... Even if I close the windows, the window manager will still not respond to mouse clicks... I don't understand what the problem is, but whatever it is, it's very annoying!

View 4 Replies View Related

Debian Hardware :: Scanner Does Not Respond, Scanimage Freezes?

Mar 24, 2011

I am trying to use sane to acces a scanner. The system is Debian Squeeze AMD64 architechture.The scanner is Brother DCP-J715W, over a network connection. I have installed the drivers from Brother, succesfully.

I can find the scanner with:
$ scanimage -L
device `brother3:net1;dev0' is a Brother DCP-J715W Brother

[code]....

View 1 Replies View Related

CentOS 5 Server :: Apache Slow To Respond / Make It High?

Nov 16, 2010

I have CentOS 5.5 x86_64 with Apache, php and mysql.
I have just installed OTRS (helpdesk - trouble ticket system) on that server and no users.
This system works with perl, apache and mysql.
I notice that is slow to respond and at times unresponsive the apache welcome page. code...

View 5 Replies View Related

Debian :: Desktop Freezes Randomly And Does Not Respond To Keyboard Or Mouse

Feb 21, 2015

I am using Debian with a gnome desktop.

Code: Select alluname -a
returns
Code: Select allLinux app-server 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux

My desktop sometimes freezes and does not respond to keyboard or mouse. I initially thought the CPU was overheating but it froze tonight when my CPU temperature was 32C and it has been up to 50C without freezing. I am beginning to think it is a software issue rather than a hardware issue but do not know. I looked at the pm-powersave.log and user.log but did not see anything suspicious.

View 14 Replies View Related







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