Linode Forum Index Linode Forum
Linode Community Forums
 


private IPs between linodes - no connection

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
internalkernel



Joined: 28 Feb 2009
Posts: 6

Posted: Wed Nov 25, 2009 9:57 am    Post subject: private IPs between linodes - no connection  

Hi,

There is probably a really obvious answer to this question... I just haven't seen it yet.

I have two linodes (ubuntu) in the same data center, I added the private IPs to them. Rebooted. But, they can't ping each other.

I'm not sure what I'm missing... My routing tables looks like this:

Code: Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.xxx.0   *               255.255.255.0   U     0      0        0 eth0
69.164.xxx.0    *               255.255.255.0   U     0      0        0 eth0
default         gateway.lino 0.0.0.0         UG    100    0        0 eth0

If I try to add the private ip on my second linode as a gateway to this linode, I just get a Network is unreachable error.

I'm missing something simple here... Can someone point that out? Thanks.
Back to top  
irgeek



Joined: 21 Jun 2003
Posts: 154
Location: Absecon, NJ

Posted: Wed Nov 25, 2009 10:13 am    Post subject:  

Private IPs use a netmask of 255.255.128.0 not 255.255.255.0. Fix that and they should be able to communicate.

-James
Back to top  
internalkernel



Joined: 28 Feb 2009
Posts: 6

Posted: Wed Nov 25, 2009 11:41 am    Post subject:  

Ha! I knew it was something simple... I had changed that on the other host, but the other one had the 255.255.255.0 netmask still.

That's what I get for trying to configure this at 2am last night...

Thanks!
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1