Linode Forum
https://forum.linode.com/

private IPs between linodes - no connection
https://forum.linode.com/viewtopic.php?f=19&t=4890
Page 1 of 1

Author:  internalkernel [ Wed Nov 25, 2009 10: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.

Author:  irgeek [ Wed Nov 25, 2009 11: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

Author:  internalkernel [ Wed Nov 25, 2009 12:41 pm ]
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!

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/