Linode Forum Index Linode Forum
Linode Community Forums
 


Use fail-over to gain public ip in another Linode?

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
appy



Joined: 05 Oct 2009
Posts: 1

Posted: Mon Oct 05, 2009 10:33 pm    Post subject: Use fail-over to gain public ip in another Linode?  

I have two linodes: web server and database server.
They are both connected to each other via private ips. The database server doesn't really need internet access and I can administer it through LISH or from the web server.

Could I use static ips to only connect the private IP and use failover to bring up the database server's public ip on the web server?

If this does work.. Is there a way I could configure a gateway on my private ip's interface settings so I could get NATed internet to do updates?
Back to top  
mwalling



Joined: 10 Dec 2007
Posts: 335

Posted: Tue Oct 06, 2009 6:34 am    Post subject: Re: Use fail-over to gain public ip in another Linode?  

appy wrote: If this does work.. Is there a way I could configure a gateway on my private ip's interface settings so I could get NATed internet to do updates?

Yes, exactly how you describe. There is plenty of documentation out there on how to NAT with IPTables, so it should be easy. (I NAT connections through my VPN on my Linode for "untrusted-WiFi-security" sake)
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1