Hi All as the title says I am wanting to try tun / tap for my virtual machines. I have a very static config that I have used for years. Right now my box is up to date and bridged networking is getting to be a pain as far as performance.
What I have right now is the host machine that is also a firewall / router. I have about 20 devices connected and a few virtual machines, I have one subnet for everything. Two dd-wrt routers and a dual nic are working for me as far as that goes.
Lets assume I have all the kernel & utilities installed. A static IP for my LAN of 192.168.0.1 - "eth0" and a DHCP address for my internet on "eth1".
Other than the firewall script, here is what I have right now for my net config:
Code:
config_enp4s0="null"
bridge_brkvm="enp4s0"
config_brkvm="192.168.0.1/24"
brctl_brkvm="setfd 0 sethello 30 stp off"
I like to use static for always on devices, and wifi / on demand stuff is handled by one of three DHCP servers - yes three, and one subnet, something broke a while back and this was my fix.
Now I need everything to be able to talk to each other, and I am open to using another subnet given the above, if that makes things easier.
Unfortunately all I am finding are conflicting docs and stuff from like 2004, or recent stuff that doesn't cover my situation. I need to be able to reach any device from any device and all traffic needs to eventually use 192.168.0.1 as the gateway. All help / suggestions are welcome.
Thanks