I am at work as I am writing this so I don't have config files ready.
Currently I have a server that I have been working on. The goal is to virtualize openwrt (succeeded) and use openwrt as my primary router/gateway for my private LAN.
I have a couple of ct/vms on the LAN bridge of openwrt and they successfully get a dhcp IP. I also have the physical LAN port going to a switch that extends the private LAN. Any device connected to this switch (host, wap etc.) also get a dhcp IP from openwrt.
Where I am having concerns is my WAN side of the setup.
My proxmox host has a bridge (vmbr1) that is set to dhcp (from my ISP) and is using my WAN physical port (bridge-port).
This physical port, when hooked up to my existing network (emulating an ISP connection) gets two IP addresses from dhcp. 1 for the openwrt WAN and 1 for the proxmox host. What this does is allow me to access the proxmox host AND the openwrt webgui through two different dhcp IPs.
I am trying to use the physical WAN port as my outgoing interface and only get 1 ip (openwrt WAN).
My openwrt is in a container and I haven't seen/found a way to passthrough the adaptor directly so that it is only directed to openwrt.
Am I on the wrong path? Is it possible for one physical port to simply act as an outgoing interface without an IP?
Currently I have a server that I have been working on. The goal is to virtualize openwrt (succeeded) and use openwrt as my primary router/gateway for my private LAN.
I have a couple of ct/vms on the LAN bridge of openwrt and they successfully get a dhcp IP. I also have the physical LAN port going to a switch that extends the private LAN. Any device connected to this switch (host, wap etc.) also get a dhcp IP from openwrt.
Where I am having concerns is my WAN side of the setup.
My proxmox host has a bridge (vmbr1) that is set to dhcp (from my ISP) and is using my WAN physical port (bridge-port).
This physical port, when hooked up to my existing network (emulating an ISP connection) gets two IP addresses from dhcp. 1 for the openwrt WAN and 1 for the proxmox host. What this does is allow me to access the proxmox host AND the openwrt webgui through two different dhcp IPs.
I am trying to use the physical WAN port as my outgoing interface and only get 1 ip (openwrt WAN).
My openwrt is in a container and I haven't seen/found a way to passthrough the adaptor directly so that it is only directed to openwrt.
Am I on the wrong path? Is it possible for one physical port to simply act as an outgoing interface without an IP?
Last edited: