How to: Connect to Rackspace Cloudfiles from Slicehost
October 6, 2009
I’m trying to migrate to a Cloudfiles backup solution and since my slices are in the DFW1, I can get free bandwidth to and from Cloudfiles. So, I went to try and do some initial script testing. Everything worked great locally but failed miserably when trying to connect from my slice. Since my slice was older (pre cloudfiles), I bounced around the web a bit and found that you need to add a route on the private network to Cloudfiles, so I added this to the bottom of /etc/networking/interfaces:
up route add -net 10.176.0.0 netmask 255.248.0.0 gw 10.176.32.1 down route add -net 10.176.0.0 netmask 255.248.0.0 gw 10.176.32.1 up route add -net 10.191.192.0 netmask 255.255.192.0 gw 10.176.32.1 down route add -net 10.191.192.0 netmask 255.255.192.0 gw 10.176.32.1
up route add -net 10.176.0.0 gw 10.176.32.1 down route add -net 10.176.0.0 gw 10.176.32.1
From there, connectivity testing worked great:
$ telnet snet-storage.clouddrive.com 443 Trying 10.191.196.33... Connected to snet-storage.clouddrive.com.