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


ADVERTISEMENT

Networking :: Notification From DHCP Client On Lease Change?

Jan 26, 2011

Is there any way to get an async notification (perhaps through something like a Linux message queue or Unix socket) when a DHCP client is either unable to renew its lease, or the address obtained changes from the previous value? I've got the ISC client and will dig into it to determine if it supports such a feature, but thought I'd ask here in parallel. (I'm trying to find out if there are any DHCP clients out there which already support this capability.)

If you're curious: We have an application where we're doing auto-registration of an IP camera to an external server. If the camera's dynamically assigned address changes, we need to restart the auto-reg state machine. I've seen implementations where a socket is opened and a SIOCGIFADDR ioctl used to fetch the IP addr, but I'd sure like to avoid polling like this if possible.

View 1 Replies View Related

OpenSUSE Install :: PXE / Dhcp / 11.2 - Preserve Dhcp Lease On Reinit Of Driver?

Feb 8, 2010

first: PXE flawless bind to dhcp address but put next binding state to free second: when installer calls init script to reinit ethernet driver (e1000 (vmware)) binding fails 11.2 opensuse fail to reinit dhcp with log entry "no free leases" third: when manual set network install works how to preserve dhcp lease on reinit of driver?

View 1 Replies View Related

Ubuntu Networking :: Set Up A Permanent DHCP Lease For My MAC Address - Share Internet ADSL Connection

May 26, 2010

I've set up a permanent DHCP lease for my MAC address. I did this hoping to resolve the fact that I share my Internet ADSL connection with my wife and my daughter (the latter a great bandwidth hog)!

View 5 Replies View Related

OpenSUSE Network :: Dhcp Client Does Not Receive The Dns Server Address

May 18, 2010

I have installed a working DNS server on my home network. I have an unique server, devoted to dns, gateway, storage which runs opensuse 11.0 (I known that it is rather old). Two new clients require DHCP. I have installed, using yast, a very simple DHCP server, according to the following config:

option domain-name "XXX.XXX";
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;

[code]...

(I have tried to add "ddns-update-style none", and to remove the ntp-servers option, since my server is not a time server, without success). Unfortunately, even if the client (a mac running OSX 10.4) receives a right IP and gateway address, it displays neither dns server address nor default domain name. The same mac, on my office network (not managed by me), receives everything.

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

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

OpenSUSE Network :: How In World Do I Configure SSH With DHCP Assigned Address

Aug 7, 2011

I am just trying to get SSH working between 2 local machines on OpensSuse 11.4 boxes. I have the SSHD daemon running, the firewall is configured to allow SSH to pass, and I am using SSH's password authentication. However, my machines cannot see each other. Anytime I try to SSH, I get "Could not resolve hostname<hostname>: Name or service not known."

Of course, that leads me to believe I need an entry in my /etc/hosts file. However, I use DHCP, and therefore have a dynamic IP address. Therefore, my hosts names will only be good until the next IP renewal. How in the world do I configure SSH with a DHCP assigned address?

View 4 Replies View Related

Server :: How To Time Limit A DHCP Lease

May 9, 2011

I would like to be able to schedule a limit for an IP connection for my kid's computers/iPods. Since I know the MAC addresses of their various hardware items, is there a way to shut down their connectivity at a particular time via the DHCP server or perhaps a firewall rule?

Running Ubuntu 10.04 and Shorewall is being used for the firewall.

View 4 Replies View Related

Slackware :: DHCP Server Is Not Offering A Lease (WEP Network)?

Mar 28, 2010

Looking at var/log/messages below, it looks like I'm not being offered a lease on this particular network. I can successfully connect to the network because iwconfig wlan0 reveals my network ssid and the access point I'm connected to. But pinging google.com gives me nothing..

Code:

root@darkstar:/# tail -f var/log/messages | grep dhcpcd
Mar 28 15:45:42 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16
Mar 28 15:46:13 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16
Mar 28 15:46:44 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16

[code]...

View 1 Replies View Related

Ubuntu Networking :: Cannot Obtain DHCP Lease ?

Feb 7, 2010

I have a home WiFi network that has been working fine for ages, which currently supports two Windows-based laptops and a WM5 smartphone. They all connect to the WiFi router (Linksys WRT54G) which in turn connects to the ADSL modem (Huawei MT882). The router is configured with a WEP key, the SSID is not being broadcast, and all MAC addresses must be whitelisted. I try to follow good wireless network security practice. I also have NAT running between the router and the modem.

Everything is working fine for the Windows clients, and now I am trying to add my Linux box to the mix. I am setting up an older HP Pavilion 510a desktop with Ubuntu v8.04LTS, using a Realtek RTL8185 WLAN card. The machine has an onboard RTL8139 LAN adaptor also, which works fine when I plug it in directly to an ethernet port on the wireless router. The WLAN, however, does not seem to be getting a DHCP packet, and keeps on autoconfiguring with a 169.254.x.x address. When I try giving it a static IP address it doesn't connect either.

As you can see from the screenshots below, the WLAN is working fine. I have it installed using the ndiswrapper and Windows drivers. I've been through the Comprehensive ndiswrapper troubleshooting guide but that did not resolve my problem.

I configured the network myself, and it works perfectly for my Windows machines. It is just my lack of experience with Linux which is preventing me from getting the wireless to work under Linux. I can get a HDCP packet in Linux when I am connected to the LAN using the RTL8139 adaptor, but not on the WLAN using the RTL8185 adaptor.

View 9 Replies View Related

Networking :: Redhat Does Not Retry Renewing DHCP Lease More Than Once?

Apr 23, 2010

We have 20+ Redhat servers on our network and every so often our DHCP server goes down. When it comes back up we have to go around to all of our RedHat servers and restart networking manually. Other OS's (Ubuntu, Windows, etc..) will continually try to get a DHCP lease so that when our DHCP does come back up it requires no work from us for them to get back on the network. But it seems that Redhat only tries once and if it fails it never tries again. Have to go around to 20 different servers (some of them are at remote locations) is less then ideal when this happens. how we can get Redhat to continually try to get a DHCP lease like other OS's?

View 1 Replies View Related

Networking :: Dhcp Lease Time Algorithm Apparently Imprecise?

Mar 3, 2011

The system I am working on is a xdsl board running Linux kernel 2.6 and receiving dhcp address from a Microsoft XP PC. when looking through the dhclient.leases file I can see there's something wrong with renew time and stuff.strange calculation. as far as you know is this normal? You may find below the dhclient.lease file.

lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";

[code]....

View 2 Replies View Related

Networking :: DHCP Lease Under SuSE Is Not Working., Limited At 10 Minutes?

Jun 22, 2011

I got a strange issue here: We are using ISC DHCP v4 which is default in Open SuSE 11.4. These two options 'default-lease-time' and 'max-lease-time' are set in all subnets, with values between 43200 (12 hours) to 518400 (144 hours). See partial dhcpd.conf below please.Now the lease time from Windows client's ipconfig output is only 10 minutes. Why? (dhcpd on servers restarted many times. ipconfig /release, ipconfig /renew on client run many times)

Code:
lease-file-name "/etc/dhcpd.leases";
default-lease-time 43200; # 12 hours

[code]....

View 1 Replies View Related

Ubuntu Networking :: Ionitx Can't Get Wired Ethernet To Work ( No DHCP Lease )?

Jun 5, 2010

I have a Zotac Ionitx A-U. I can't get it to establish an internet connection with the wired ethernet within Ubuntu. The chip is detected, but trying to bring up the connection stalls out at trying to obtain a DHCP lease, like this:

DHCP DISCOVER ...
DHCP DISCOVER ...
No DHCPOFFERS received
Specs:
Ionitx A-U
Ubuntu 10.04 x64 kernel 2.6.32-22 (also didn't work in 9.10)

[Code]...

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

Server :: Script For Clearing The Dhcp Server Lease?

Dec 3, 2010

I have a openSUSE10.2(X86-64) Linux DHCP Server in my environment. It has a lot of VM's and Desktop systems which get added continuously. Also, it has a lots of Static-IP entries.Part-IIssue:The DHCP Server stopped leasing the IP's somehow.Workaround:1. Stopped the dhcpd service. (service dhcpd stop)2. Navigated to /var/lib/dhcp/db folder.3. Deleted the "dhcpd.leases" and "dhcpd.leases~" files.4. Recreated the "dhcpd.leases" file. (touch dhcpd.leases)5. Started the dhcpd service. (service dhcpd stop)

View 2 Replies View Related

Fedora Networking :: DHCP Lease Renewal Failing On Wired Ethernet Connection?

Aug 1, 2010

I'm running an up-to-date Fedora 12 machine with the Gnome desktop (meaning with Network Manager). My network connection is a wired ethernet to a switch which then connects to a Netgear router. For some reason, this machine can't renew its leases with DHCP, so NetworkManager deactivates eth0, taking my machine off the network. I have to click Network Manager and enable eth0, which seems to work every time.

How can I fix it? Here are the relevant bits from /var/log/messages showing a failed DHCP request and then the successful renewal.

Code:
Aug 1 04:00:08 ironton dhclient[12452]: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Aug 1 04:00:08 ironton dhclient[12452]: DHCPNAK from 192.168.1.1
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): DHCPv4 state changed reboot -> expire
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): device state change: 8 -> 9 (reason 6)
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> Marking connection 'System eth0' invalid because IP configuration expired.

[Code]...

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

General :: How To Configure Dhcp Client

Aug 13, 2010

I'm trying to configure in fedora 13 a dhcp client that would request IP address on my finished DHCP test server.

I've already configured dhcp on eth0 on the client machine,

here is the configuration on my DHCP test server

default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;
option domain-name "sample.testnet.com";

[Code]....

View 7 Replies View Related

Networking :: DHCP Server - Losing Static IP Address

Nov 10, 2010

I have an Ubuntu Server 10.04.1 that I have given a static IP address. Every six hours or so I will lose connectivity to it and when I type ifconfig to look at the network information, it has been given an address via dhcp. If I run the /etc/init.d/networking restart command the IP address goes back to my static address and things are fine for another 6 hours or so. Here is what is in my interfaces file:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.60.82.15
netmask 255.255.0.0
broadcast 10.60.255.255
gateway 10.60.254.254

This machine is also a DHCP server and I checked to make sure there are no other DHCP servers on my network. Right now my fix is to have a Cron job running that runs the reset command every 5 hours, but I would like to find a more permanent solution.

View 8 Replies View Related

CentOS 5 Networking :: DGE-530T Will Not Get IP Address From DHCP Server

Aug 6, 2009

I am attempting to get this network card running under CentOS 5.2 but have had no luck. Some sites say to use the sk98lin driver, others the skge, which I can't find at all. I have tried multiple versions of the driver in rpm but none seem to work. The card shows under the network manager but will not get an IP address from the DHCP server.

Here are the outputs for this card.
uname -rmi
2.6.18-92.1.10.el5 x86_64 x86_64
lspci -m
04:01.0 "Ethernet controller" "D-Link System Inc" "DGE-530T Gigabit Ethernet Adapter (rev 11)" -r11 "D-Link System Inc" "DGE-530T Gigabit Ethernet Adapter (rev 11)"
lspci -n | grep "$(/sbin/lspci | awk '/net/ { print $1 }')"
04:01.0 0200: 1186:4b01 (rev 11)
lspci -vv
04:01.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
Subsystem: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (5750ns min, 7750ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 121
Region 0: Memory at febfc000 (32-bit, non-prefetchable) [size=16K]
Region 1: I/O ports at e800 [size=256]
Expansion ROM at e0000000 [disabled] [size=128K]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data

How to get this working as we have 3 of these cards for computers without a Gb NIC and I don't want to fight with it 3 separate times.

View 2 Replies View Related

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

Fedora Networking :: No IP Address From DHCP Server On Wireless Network?

Feb 12, 2009

I have installed Fedora 10 on my A860 Dell Vostrol Laptop with AR242X Atheros Wireless card. Wireless card worked out of the box and i could detect wireless network and connect to it. But i have a problem that, my wireless connection is not able to get IP address from the DHCP server. Please help me out what can i do to get this working. I am using WEP security and authentication is open system.

I have windows 7 beta installed on the same machine and on that wireless network works fine so i am sure that there is no problem with the wirless network. I am using DIR-300 router from D-LINK. I tried to see packet log on wireshark and there i see that there is no reply to the DHCP discover message. Actually i don't see any RX packets at all. Which is not normal as there is traffic on the network.

View 14 Replies View Related

Ubuntu Networking :: Make Server Accessible With A DHCP Address?

Nov 1, 2010

The cable internet I'm using runs on Dynamic DHCP IP addresses. I changed it to a static IP address in my router settings, but it keeps changing. This means that I can't connect to my home server from a remote location.

Is there anyway to run my ubuntu server on a DHCP IP address without connecting through my router 192.168.1.xxx?

View 1 Replies View Related







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