Hi all,
in my home network I have two devices providing services:
- an Openwrt router with mainly dns and traffic routing/firewalling
- a linux box running lxc containers hosting services such samba, proxy…
I would migrating my Openwrt instance inside a new container and powering down the router.
My current configuration is:
provider’s modem 192.168.1.1
managed switch 192.168.2.1 (tagged 1,2,3, pvid 2)
openwrt box wan interface 192.168.1.2
openwrt box lan interface 192.168.2.2
- vlan lan 192.168.2.*
- vlan guest 192.168.3.*
linux box 192.168.2.3
containers 192.168.2.*
end devices 192.168.2.*
Is it possible moving Openwrt instance from the network’s edge inside a container keeping the same configuration and ssh access to the linux box 192.168.2.3 from the lan as well?
If yes, what is the recommended network config? (i read about macvlan but I’m unsure it is the best option).
Thanks in advance
My kind regards