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:

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.

2 Replies

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

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!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct