Hello everyone,
I have some servers on OVH connected via vRack.
actual confuguraton:
there is a vm inside hyper-v with opnsense, this one act as router and firewall.
Opnsense gives addresses (no dhcp enabled) to all the entity in the net (hypervisors and vms), at the moment opnsense works only on vlan20.
where and how it works:
on the vm lan settings in hyper-v I just define vlan20 and the os inside the vm can reach the lan with no particular settings more.
problem:
in proxmox I've tryed several way to let it works but I failed.
I've set up a bridge with vlan aware (vmbr1) and connect vms with vlan tag on network (under Hardware label).
I've tryed to generate a linux vlan with adress (for proxmox) but I was not able to ping proxmox via opnsense.
I've attached a vmbr to the linux vlan for vm but no effect.
images: very simple net scheme and all tests I've tryed in VM (net settings part)
Someone have some ideas?
I have some servers on OVH connected via vRack.
actual confuguraton:
there is a vm inside hyper-v with opnsense, this one act as router and firewall.
Opnsense gives addresses (no dhcp enabled) to all the entity in the net (hypervisors and vms), at the moment opnsense works only on vlan20.
Code:
root@Irlanda:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp24s0f0np0 inet manual
iface enxd26725944b1c inet manual
iface enp24s0f1np1 inet manual
iface enp175s0f0np0 inet manual
iface enp175s0f1np1 inet manual
auto vmbr0
iface vmbr0 inet static
address notThisOne/32
gateway 100.64.0.1
bridge-ports enp24s0f0np0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp175s0f1np1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vlan20
iface vlan20 inet static
address 10.0.1.11/24
vlan-raw-device enp175s0f1np1
where and how it works:
on the vm lan settings in hyper-v I just define vlan20 and the os inside the vm can reach the lan with no particular settings more.
problem:
in proxmox I've tryed several way to let it works but I failed.
I've set up a bridge with vlan aware (vmbr1) and connect vms with vlan tag on network (under Hardware label).
I've tryed to generate a linux vlan with adress (for proxmox) but I was not able to ping proxmox via opnsense.
I've attached a vmbr to the linux vlan for vm but no effect.
images: very simple net scheme and all tests I've tryed in VM (net settings part)
Someone have some ideas?