I’ve got a pool of public IP’s from my cable ISP. However, I am not able to assign multiple IP’s to a single MAC address because of ISP rules.
I want to have a single public IP masqueraded for most internet traffic, but I want to be able to 1:1 nat one of my other public IP’s
this is how the network will appear
Cable Modem
|
_______________________________
WAN INTERFACE eth0 WAN INTERFACE eth1
MASQUERADE 1:1 NAT
XX.XX.XX.102/27 XX.XX.XX.103/27
| |
______________________________
LAN interface eth2
10.0.0.1
_______|_______
24 port switch
________________|______________
| | |
users users 1:1 NAT to eth1
10.0.0.10
I have the masquerade, etc, all working properly. The problem I am running into is the second public interface. Once I enable that interface, I lose internet connectivity. I am not sure if it’s trying to loop traffic in between the two public interfaces, or what?
I tried setting up a virtual ethernet interface for the second public IP, but was unable to get that to function. I also tried bridging eth0 and eth1 together, but this also did not work. Every solution I’ve tried resulted in either none of the functionality that I wanted, or traffic no longer being routed.
I’m obviously missing something. Any help appreciated!