Hello everyone... I'm faced with an issue regarding accessing my proxmox host and vm on the same network.
I have two networks, the first is the vlan connected directly to my proxmox server and the second is another vlan configured on a cisco router and attached to my server...
My server is directly accessible via LAN, but the vm is inaccessible to the outside, but the site I'm hosting on the vm is accessible within the vm. What I want to achieve is to be able to access the site I'm hosting outside the vm with a different IP as for my proxmox host.
Here's my current configuration:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto eno2
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.x/24
gateway 192.168.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0s
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr1
iface vmbr1 inet static
address 10.100.0.x/16
gateway 10.100.0.1
bridge-ports eno2
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#vmbr0 is the bridge for the proxmox host, while vmbr1 is the bridge for the vm
Please if there's another method of dealing with this issue, I'll really appreciate.
Thank you all
I have two networks, the first is the vlan connected directly to my proxmox server and the second is another vlan configured on a cisco router and attached to my server...
My server is directly accessible via LAN, but the vm is inaccessible to the outside, but the site I'm hosting on the vm is accessible within the vm. What I want to achieve is to be able to access the site I'm hosting outside the vm with a different IP as for my proxmox host.
Here's my current configuration:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto eno2
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.x/24
gateway 192.168.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0s
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr1
iface vmbr1 inet static
address 10.100.0.x/16
gateway 10.100.0.1
bridge-ports eno2
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#vmbr0 is the bridge for the proxmox host, while vmbr1 is the bridge for the vm
Please if there's another method of dealing with this issue, I'll really appreciate.
Thank you all