how to config the 2nd NIC as DHCP

fuzzyduck

Active Member
Jul 14, 2021
69
4
28
45
Hey all,

Bit of a beginners question.

I have a 2 NIC motherboard. One port is used for proxmox(192.168.1.2) and all of its CT's and VM's. The other is unused.

My router has all the ports full so i would like it use the free NIC for general networking purposes. So whatever i hook up to it, should obtain a DHCP address from Adguard on 192.168.1.5, running as a CT. Do i need to add it to the existing virtual switch? Or create a new one and hook that up to the first?

Im too scared i will lock myself out. Can anyone shed some light on this? Thank you.

Code:
auto lo
iface lo inet loopback

iface eno0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.2/24
        gateway 192.168.1.1
        bridge-ports eno0
        bridge-stp off
        bridge-fd 0


Naamloos.png
 
Last edited: