dual ip proxmox

dalby

New Member
Oct 15, 2017
1
0
1
42
Hi I want to setup proxmox on hetzner with dual ip (to make it easier i suppose... so i thought)

i have been looking at the following tutorials: tj.mk/install-proxmox-4-hetzner-debian/ and blog.campodoro.org/?p=2328 (type http : / / in front of it, apparenly it is not allow the post real hyperlinks)

but i am thinking it might be a little bit different on version 5.

I set up proxmox on A.B.118.245/27 (first ip) perfectly reachable, no issue at all.

I want to set up a pfsense on the extra ip i received: A.B.119.30/27 (second ip)
i only have those two public ip addresses, later on i want to create more hosts that route through the pfsense to the outside world.



iface lo inet6 loopback

auto enp4s0
iface enp4s0 inet static
address A.B.118.245
netmask 255.255.255.255
gateway A.B.118.225
pointopoint A.B.118.225
# route A.B.118.224/27 via A.B.118.225
#up route add -net A.B.118.224 netmask 255.255.255.224 gw A.B.118.225 dev enp4s0

iface enp4s0 inet6 static
address 2a01:4f8:151:72f4::2
netmask 64
gateway fe80::1

auto vmbr1
iface vmbr1 inet static
address A.B.119.30
netmask 255.255.255.224
bridge_ports none
bridge_stp off
bridge_fd 0

auto vmbr0
iface vmbr0 inet static
address 192.168.8.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0


on hetzner i can use the same or a different mac address for the 2nd ip address.
i would make sense to have a different mac address but what confuses me you have to specify the mac address in both proxmox and of course on the pfsense.
locally when i ping the 2nd ip it works but not from the outside... what am i missing?
the A.B.119.30/27 is not reachable on the outside

what confuses me as well is /27 and /32 are both used in the tutorials, to me that doesnt make sense, they both have gateways so /27 should do. i am thinking there is something wrong with the bridge, i have some vmware experience and ther you could just say bridge on this interface, something you cant really do here apparently?

any tips?
 

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!