LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-30-2009, 06:27 AM   #1
TotalLinuxNoob
Member
 
Registered: Apr 2005
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
DHCP leases running out without being renewed?


Hello,

I have a desktop machine configured to share it's internet connection with my laptop using firestarter. All used to work well until I upgraded to Ubuntu 9.04 .
The interface connected to the internet is eth0. The interface serving the local network is eth1. DHCP is enabled on eth1.
Every few minutes it seems the leases run out and I have to manually request a new ip (dhclient ethX).
eth1 is assigned a new ip from the localhost and eth0 from the local network. If the requests are not made in the order eth1, eth0 the machine connected to eth1 is unable to access the network connected eth0.

Obviously, it gets quite frustrating losing the connection frequently and having to manually request a new lease.

Thanks all.
 
Old 05-01-2009, 12:55 PM   #2
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Did you look at the dhclient.conf file?
Did you look at the dhclient.leases file?
Code:
$ less /var/lib/dhcp3/dhclient.leases
$ less /etc/dhcp3/dhclient.conf
That might give you a place to start.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
phpdhcpd - View DHCP Leases firefly2442 Linux - Server 0 09-22-2008 12:41 AM
CentOs4.4-dhclient renewed two leases? Guignol Linux - Networking 0 03-06-2007 01:13 PM
dhcp not writing leases oberon-ken-obi Linux - Newbie 8 04-14-2005 02:44 PM
DHCP leases file not being generated. abhijeetudas Linux - Networking 1 09-25-2004 11:31 PM
dhcp - get new IP when lease renewed chrisnewey Linux - Networking 0 03-30-2004 06:41 AM


All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration