Routing traffic inside cluster, with Class B and Class A

D

dnreo

Guest
###############

Solved the issue!
Its ok to delete this post admins.

###############

Hi!

Im having a little problem with the routing in my cluster.

Setup:
Public IP: let us call it.. x.x.x.x

Public IP -> SlaveCluster eth0 x.x.x.x
eth1 172.16.2.4
eth2 172.16.2.2

MasterCluster eth0 172.16.2.5
Virtuall machines vmbr0 10.72.2.1
vm guest 10.72.2.3

The thingy here is.. that eth1 inside Slave cluster cant talk to the internet.

Inside the vm guests {10.72.2.0/24} i can ping eth0 172.16.2.5 but not Slavecluster eth1 172.16.2.4

From eth1 Slavecluster to internet
Code:
# ping -I eth1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 172.16.2.4 eth1: 56(84) bytes of data.
From 172.16.2.4 icmp_seq=2 Destination Host Unreachable

From vm guest to Slavecluster eth0
Code:
# ping 172.16.2.5
PING 172.16.2.5 (172.16.2.5) 56(84) bytes of data.
64 bytes from 172.16.2.5: icmp_seq=1 ttl=64 time=0.127 ms

I can ping from Slavecluster eth1 172.16.2.4 into vm guest in 10.72.2.0/24
Code:
# ping 10.72.2.3
PING 10.72.2.3 (10.72.2.3) 56(84) bytes of data.
64 bytes from 10.72.2.3: icmp_req=1 ttl=63 time=0.294 ms

But not from Slavecluster eth0 x.x.x.x
Code:
# ping -I eth0 10.72.2.3
PING 10.72.2.3 (10.72.2.3) from x.x.x.x eth0: 56(84) bytes of data.

Routing
---------

SlaveCluster
Code:
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
x.x.x.0    0.0.0.0         255.255.255.255 UH    0      0        0 eth1
10.72.2.0       172.16.2.5      255.255.255.0   UG    0      0        0 eth1
172.16.2.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
172.16.2.0      0.0.0.0         255.255.255.0   U     0      0        0 eth2
x.x.x.0    0.0.0.0         255.255.254.0   U     0      0        0 eth0
0.0.0.0         x.x.x.1    0.0.0.0         UG    0      0        0 eth0
MasterCluster:
Code:
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         172.16.2.5      255.255.255.255 UGH   0      0        0 eth0
172.16.2.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.72.0.0       0.0.0.0         255.255.0.0     U     0      0        0 vmbr0
0.0.0.0         172.16.2.254    0.0.0.0         UG    0      0        0 eth0
vmguest:
Code:
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.72.2.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
0.0.0.0         10.72.2.1       0.0.0.0         UG    0      0        0 eth0
What Im a doing wrong? Can someone help. I've been searching for hours now.

Ive tryed from Slavecluster:
Code:
# ip route add default via x.x.x.0 dev eth1
RTNETLINK answers: No such process

###############

Solved the issue!
Its ok to delete this post admins.
 
Last edited by a moderator:
I'm not sure you understand how support forums work, but the entire point is to present a problem and then post the solution for all to see and benefit from. Even if you solve your own problem. Here's to hoping you are still around and feel like sharing!

Cheers!

Sent from my HTC Glacier using Tapatalk 2
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!