LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05: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, 11:55 AM   #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



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-21-2008 11:41 PM
CentOs4.4-dhclient renewed two leases? Guignol Linux - Networking 0 03-06-2007 12:13 PM
dhcp not writing leases oberon-ken-obi Linux - Newbie 8 04-14-2005 01:44 PM
DHCP leases file not being generated. abhijeetudas Linux - Networking 1 09-25-2004 10:31 PM
dhcp - get new IP when lease renewed chrisnewey Linux - Networking 0 03-30-2004 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:01 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
Open Source Consulting | Domain Registration