Hi,
normally i dont make post, im use to spending a long time researching and getting the satisfaction of finding the answer myself.
Im sure im probably already come across the answer but im unable to make it work in my lab environment.
after hours and hours (probably over 20) of looking for the answer and testing things. i've decided to make a post (sorry).
im trying to ping my ubuntu server VM from my desktop pc
the ubuntu server is on 172.16.100.3/24 - vlan 100 (default gw 172.16.1.1) and the desktop pc is 172.16.1.6/24 - vlan 1 [native] (default gw 172.168.1.1)
The Details:
I have a proxmox server running proxmox version 8.2.2
the proxmox server has two NIC's 1g and 2.5g. (installed the driver for the 2.5g to get it working)
1x ubiquiti flex mini switch which connects my proxmox server, main desktop and router (mini pc with pfsense)
i have configured vlans on my pfsense mini pc (router) to tag the lan port with 3 vlans (20,50 and 100)
pfsense firewall has rules setup as any source/port etc to any destination/port etc to be allowed.
IP Configuration:
pfsense has a subnet of 172.16.1.1/24 as the routers ip address.
the flex mini switch is 172.16.1.2
my main computer (which is plugged into the flex mini switch) is configured with 172.16.1.6 (from dhcp)
proxmox is configured with 172.16.1.3/24 with 172.16.1.1 as the gateway (on the vmbr0 bridge which i believe is the management ip of proxmox)
as with the above line, i've also tried with 172.16.1.3/24 as the NIC ip enp4s0.
the second NIC (enp42s0) has a bridge, vmbr1 which is connected to the ubuntu VM. and i've configured in the network settings of the proxmox host for vmbr1 to have an ip of 172.16.100.3 (and i've set vlan 100 on the virto network adapter in the ubuntu vm hardware/network adapter settings)
also a vlan.100 was configured in the proxmox /etc/network/interfaces file from shell. (see below conf file)
the ubuntu server has vlans configured in the netplan file (id 100) proper indentation for yaml was used (i read the documentation)
firewall is off for the ubuntu vm in proxmox (did this as a test and left it off to eliminate as an issue)
now i will paste my configuration files.
Proxmox (/etc/network/interfaces)
Ubuntu Server VM Netplan yaml:
pfsense vlans:
as far as im aware that all the info.
cannot ping between 172.16.1.6 (main pc) and ubuntu server (172.16.100.3)
also, ubuntu server doesn't even have internet access. (cant ping 8.8.8.8)
if i set ubuntu server (and related network settings) to 172.16.1.x subnet (and remove vlan settings) it gets internet and pingable.
sorry for the long post, just trying to give as much info as possible.
Thanks for any help or suggestions!
normally i dont make post, im use to spending a long time researching and getting the satisfaction of finding the answer myself.
Im sure im probably already come across the answer but im unable to make it work in my lab environment.
after hours and hours (probably over 20) of looking for the answer and testing things. i've decided to make a post (sorry).
im trying to ping my ubuntu server VM from my desktop pc
the ubuntu server is on 172.16.100.3/24 - vlan 100 (default gw 172.16.1.1) and the desktop pc is 172.16.1.6/24 - vlan 1 [native] (default gw 172.168.1.1)
The Details:
I have a proxmox server running proxmox version 8.2.2
the proxmox server has two NIC's 1g and 2.5g. (installed the driver for the 2.5g to get it working)
1x ubiquiti flex mini switch which connects my proxmox server, main desktop and router (mini pc with pfsense)
i have configured vlans on my pfsense mini pc (router) to tag the lan port with 3 vlans (20,50 and 100)
pfsense firewall has rules setup as any source/port etc to any destination/port etc to be allowed.
IP Configuration:
pfsense has a subnet of 172.16.1.1/24 as the routers ip address.
the flex mini switch is 172.16.1.2
my main computer (which is plugged into the flex mini switch) is configured with 172.16.1.6 (from dhcp)
proxmox is configured with 172.16.1.3/24 with 172.16.1.1 as the gateway (on the vmbr0 bridge which i believe is the management ip of proxmox)
as with the above line, i've also tried with 172.16.1.3/24 as the NIC ip enp4s0.
the second NIC (enp42s0) has a bridge, vmbr1 which is connected to the ubuntu VM. and i've configured in the network settings of the proxmox host for vmbr1 to have an ip of 172.16.100.3 (and i've set vlan 100 on the virto network adapter in the ubuntu vm hardware/network adapter settings)
also a vlan.100 was configured in the proxmox /etc/network/interfaces file from shell. (see below conf file)
the ubuntu server has vlans configured in the netplan file (id 100) proper indentation for yaml was used (i read the documentation)
firewall is off for the ubuntu vm in proxmox (did this as a test and left it off to eliminate as an issue)
now i will paste my configuration files.
Proxmox (/etc/network/interfaces)
Code:
auto lo
iface lo inet loopback
iface enp4s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 172.16.1.3/24
gateway 172.16.1.1
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#Proxmox Management
auto vmbr1
iface vmbr1 inet static
address 172.16.100.3/24
bridge-ports enp42s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr1.100
iface vmbr1.100 inet manual
address 172.16.100.3
gateway 172.16.1.1
source /etc/network/interfaces.d/*
Ubuntu Server VM Netplan yaml:
pfsense vlans:
as far as im aware that all the info.
cannot ping between 172.16.1.6 (main pc) and ubuntu server (172.16.100.3)
also, ubuntu server doesn't even have internet access. (cant ping 8.8.8.8)
if i set ubuntu server (and related network settings) to 172.16.1.x subnet (and remove vlan settings) it gets internet and pingable.
sorry for the long post, just trying to give as much info as possible.
Thanks for any help or suggestions!