Private IPv4 Not Showing/Working

I have applied a private IPv4 address to my ubuntu linodes and rebooted (several times).

However, I cant seem to communicate between the linodes using the assigned IPv4 address.

If I run ifconfig (see below) I can see my external IP, the IPv6 addresses but not IPv4 addresses. The (internal) firewall is disabled.

Is there an additional step to get the linodes to be able to reach each other over the IPv4 address?

Have I missed a step?

eth0: flags=4163<up,broadcast,running,multicast> mtu 1500
inet XXX netmask 255.255.255.0 broadcast XXX
inet6 XXX prefixlen 64 scopeid 0x20<link>
inet6 XXX prefixlen 64 scopeid 0x0<global>
ether f2:3c:92:92:16:45 txqueuelen 1000 (Ethernet)
RX packets 279 bytes 37994 (37.9 KB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 366 bytes 38750 (38.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</global></up,broadcast,running,multicast>

5 Replies

Ok very odd, I just fired up my linode and noticed on the system information that the IPv4 address is shown there but still now shown in ifconfig. Is this a bug with the network manager?

System information as of Wed 06 May 2020 07:50:03 PM UTC

System load: 0.03
Usage of /: 5.0% of 48.68GB
Memory usage: 7%
Swap usage: 0%
Processes: 119
Users logged in: 0
IPv4 address for eth0: XXX
IPv4 address for eth0: 192.XXX.XXX.XXX
IPv6 address for eth0: XXX

Tried this on CentOS as well, same issue.

Does “ip addr” show anything different to ifconfig?

Do you have the network helper enabled in your Linode’s system profile?

Sigh.

Ok it seems to be working now. Not that I changed anything.

I can now ping between machines.

@andysh yes actually "ip addr" does show the IPv4 address. Thanks for the tip!

So, we'll just put this down to user error.

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