Hello Everyone,
I'm sweating my bal*s off right now, i've been searching for a definitive and working answer for days but nothing seems to work.
To start i use the onboard motherboard NIC as the main one, which is on 172.168.1.0/24 LAN, which is also working fine as intended.
As a second NIC i use a PCIE add in card that i can see is recognized using lspci. This Vlan is 192.168.4.1/24.
This is my /etc/network/interfaces i want to use vmbr4 as a DMZ VLAN for externally reachable machines.
I created a debian machine and gave it the following /etc/network/interfaces:
I got it working once that it showed up on my unifi dream machine pros dashboard but i was not able to apt-get update or ping 8.8.8.8
I'm pretty much out of ideas and Linux networking is not my strenght but i want to learn.
Thanks in advance
I'm sweating my bal*s off right now, i've been searching for a definitive and working answer for days but nothing seems to work.
To start i use the onboard motherboard NIC as the main one, which is on 172.168.1.0/24 LAN, which is also working fine as intended.
As a second NIC i use a PCIE add in card that i can see is recognized using lspci. This Vlan is 192.168.4.1/24.
This is my /etc/network/interfaces i want to use vmbr4 as a DMZ VLAN for externally reachable machines.
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto enp3s0
iface enp3s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 172.168.1.23/24
gateway 172.168.1.1
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
auto vmbr4
iface vmbr4 inet static
address 192.168.4.23/24
bridge-ports enp3s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#DMZ
I created a debian machine and gave it the following /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.4.40/24
gateway 192.168.4.1
I got it working once that it showed up on my unifi dream machine pros dashboard but i was not able to apt-get update or ping 8.8.8.8
I'm pretty much out of ideas and Linux networking is not my strenght but i want to learn.
Thanks in advance