Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: IP management
PostPosted: Fri Dec 10, 2010 9:54 am 
Offline
Senior Newbie

Joined: Fri Dec 10, 2010 9:10 am
Posts: 6
Hi,

I'm looking to deploy a 30 - 40 linode system which will consist of a pair of load balancers (linux virtual server) and multiple pairs|groups of servers for each software function that I need to deploy. The load balancers will sit in between everything, ideally communication between my own Linodes will be on a private network.

I have a few questions.
    * Am I allocated a range of IP addresses for my own Linodes which will allow me to add a simple subnet to my iptables rules, thus restricting access from only my Linodes ? If not, how do people recommend managing their firewall rules when using a large number of hosts ?

    * Am I able to keep these IP addresses for my account and switch between different Linodes ?

    * How many 'physical' NICs does each Linode have ? Can I have a private network as well as a public network ? How does this affect charges for data ?

Apologies for my ignorance, I haven't signed up an account yet so maybe some of this stuff is obvious ....


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 10:04 am 
Offline
Senior Member

Joined: Mon Oct 27, 2008 10:24 am
Posts: 173
Website: http://www.worshiproot.com
Each Linode will get one public IP, and (optionally) one private IP. These are not generally guaranteed to be within any particular subnet, but given the size of your deployment, it's likely they could work something out for you (I'm just a community member, so don't take my word for it).

Additional public IP's are $1/mo, and can be configured in so that multiple Linode's are allowed to bring them up (obviously only one Linode at a time, this is designed to provide "failover" capability).

Additional addresses (either public or private) are brought up as aliases. Private network traffic is free.

You may want to check out some of the Linode Library articles regarding networking and HA setups to get a feel for how some of this works with Linode.

For instance:
http://library.linode.com/networking/co ... nterfaces/
http://library.linode.com/linux-ha/ip-f ... untu-10.04
http://library.linode.com/linux-ha/high ... untu-10.04

For an "official" answer re: ip allocation arrangements, your best bet would probably be sales@linode.com


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 6:45 pm 
Offline
Senior Newbie

Joined: Fri Dec 10, 2010 9:10 am
Posts: 6
Thanks for the reply, it's answered a few things and created some more questions !

* Is data only free when communicating between private IP addresses ? Does this not also include communication between public IP addresses in the same DC ?

* Can you perform the 'IP Failover Linkage' with private IP addresses as well as public ? Can I assign a failover IP to more than 1 additional host ?


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 6:52 pm 
Online
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
phy7tes wrote:
* Is data only free when communicating between private IP addresses ? Does this not also include communication between public IP addresses in the same DC ?


Right, transfer is only free over your private IPs. Public traffic, even within the same data center, is not free.

Your other questions are interesting, but I do not know the answers!

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 10:57 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I've had decent luck using APF's global trust files for syncing up allow lists across hosts. It isn't well-documented, and there's a lot of bells and whistles and hoopla with APF that may annoy people who prefer raw iptables, but it works.

Your configuration management/deployment system should probably be able to handle that kind of thing, too. Since it will know about new servers before anything else does, that might be the most effective way to go...

Also: the private network is, from a security standpoint, a public network. Don't try to save iptables space that way ;-)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 10:57 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I've had decent luck using APF's global trust files for syncing up allow lists across hosts. It isn't well-documented, and there's a lot of bells and whistles and hoopla with APF that may annoy people who prefer raw iptables, but it works.

Your configuration management/deployment system should probably be able to handle that kind of thing, too. Since it will know about new servers before anything else does, that might be the most effective way to go...

Also: the private network is, from a security standpoint, a public network. Don't try to save iptables space that way ;-)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Dec 10, 2010 10:58 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I've had decent luck using APF's global trust files for syncing up allow lists across hosts. It isn't well-documented, and there's a lot of bells and whistles and hoopla with APF that may annoy people who prefer raw iptables, but it works.

Your configuration management/deployment system should probably be able to handle that kind of thing, too. Since it will know about new servers before anything else does, that might be the most effective way to go...

Also: the private network is, from a security standpoint, a public network. Don't try to save iptables space that way ;-)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Sat Dec 11, 2010 10:29 pm 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
phy7tes wrote:
* Can you perform the 'IP Failover Linkage' with private IP addresses as well as public ? Can I assign a failover IP to more than 1 additional host ?

Indeed. Failover works the same for public and private IPs.


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


Who is online

Users browsing this forum: No registered users and 2 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