Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: DHCP access?
PostPosted: Wed Aug 29, 2012 9:46 pm 
Offline
Senior Newbie

Joined: Mon Apr 30, 2007 2:15 pm
Posts: 5
Hi, just came back to Linode and configured an ubuntu 12.04 server. I've noticed in syslog the following:
Aug 29 05:00:07 yatla dhclient: DHCPREQUEST of 'myip' on eth0 to 72.14.180.142 port 67
Aug 29 05:00:07 yatla dhclient: DHCPACK of 'myip' from 72.14.180.142
Aug 29 05:00:07 yatla dhclient: bound to 'myip' -- renewal in 35270 seconds.

Does this mean that someone has linked into my server via DHCP?

I noticed in the linode guidelines that linodes by default use DHCP to get their IPs and this can be changed to static by specifying in /etc/network/interfaces for ubuntu. Does this mean that the linodes also serve IPs by DHCP? Why aren't they setup for static by default?


Top
   
 Post subject: Re: DHCP access?
PostPosted: Wed Aug 29, 2012 10:28 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
No, those are logs from when your Linode (specifically the DHCP client program dhclient running on your Linode) requests an address from the network DHCP server to be used by your Linode.

As to why they aren't static, I expect it's mostly simplicity. This way the standard distributions that you can install will all just work out of the box without requiring any manual configuration. Otherwise you'd need to make changes to your local installation after each new Linode is created before you could get to it on the network (aside from Lish).

But as you note, you can certainly change it to a static configuration if you prefer. There's not much advantage to that in most cases, and in particular it can complicate things a little if you clone images or restore backups to other Linodes.

-- David


Top
   
 Post subject: Re: DHCP access?
PostPosted: Thu Aug 30, 2012 8:38 pm 
Offline
Senior Newbie

Joined: Mon Apr 30, 2007 2:15 pm
Posts: 5
db3l wrote:
No, those are logs from when your Linode (specifically the DHCP client program dhclient running on your Linode) requests an address from the network DHCP server to be used by your Linode.

As to why they aren't static, I expect it's mostly simplicity. This way the standard distributions that you can install will all just work out of the box without requiring any manual configuration. Otherwise you'd need to make changes to your local installation after each new Linode is created before you could get to it on the network (aside from Lish).

But as you note, you can certainly change it to a static configuration if you prefer. There's not much advantage to that in most cases, and in particular it can complicate things a little if you clone images or restore backups to other Linodes.

-- David


Ok, Thanks. Now that I read the log info again, I see that my linode is making a DHCP request to another server (and not vice versa as was my concern)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group