Related to the above topic, my ISP is also giving me two DHCP Dynamic IPs.
Currently, I use VLAN trunking, so that my Virtual Machines are connecting to VLAN2 directly (same as my OpenWrt Router) and using DHCP to get the IP address. In this way, all traffic to my VM is not protected by the firewall running at my Router.
Seeing the above topic, I wanted to learn how to use my second set of DHCP Dynamic IP so that my Router's firewall will be protecting the machine using it to access Internet?
I need:
Dynamic Public IP1 used by Router, to provide NAT to default VLAN1, and bridge to Wifi Networks.
Dynamic Public IP2, used solely by one Machine, connecting to Port 4 of my Router being protected by Router
Router is connecting to ISP switch using 1 physical connection only. (It is in default VLAN2 of the Router currently.)
EDIT: The /24 assignment on the WAN DHCP interface is merely an IP in the subnet that had the ISP as its gateway, you cannot use more IPs unless you were told by contract.
...or assign a 2nd IP to the router...or SNAT it...or use it for INPUT to the OpenWrt...(if the OP was assigned it our a route)...I missed that point my friend.
(it doesn't need a MAC...if it's the router doing the routing for the IP...it uses its MAC...a router is that smart)
Are you trying to use multiple IPs from the ISP...and;
did they actually authorize them for you use?
Because a /24 via DHCP is normal for IPs who DO NOT give multiple IPs. The previous thread I used an example - is an ISP who gives me 256 IPs (a /24) [via routing, not via DHCP].