Two ADSL - PfSense - Single Gateway - Multiple IP block [ SOLVED ]
-
Hi,
I have currently working system as follows:
ADSL Modem1 –-->WAN1---| | |---------------> DHCPClient1 ( 192.168.1.X )
| pfSense | |
| Gateway: 192.168.1.1 | –-----> LAN -------- |----------------> (192.168.1.Y ) (From DHCP Server Static Mappings)
| Subnet: 255.255.0.0 | |–---------------> Another DHCP Client (192.168.1.Z)
| | |
ADSL Modem2 –-->WAN2---| | |-----------------> Another Static Mapping 192.168.1.TI want to achieve follows:
ADSL Modem1 –-->WAN1---| | |---------------> DHCPClient1 ( 192.168.1.X )
| pfSense | |
| Gateway: 192.168.1.1 | –-----> LAN -------- |----------------> (192.168.2.Y ) (From DHCP Server Static Mappings)
| Subnet: 255.255.0.0 | |–---------------> Another DHCP Client (192.168.1.Z)
| | |
ADSL Modem2 –-->WAN2---| | |-----------------> Another Static Mapping 192.168.2.TTo make it more clear, I want to be able to add static mappings, in 192.168.2.BlaBla IP block. When I enable this by using Static Mapping under DHCP Server setting menu, it works. My client gets 192.168.2.106 for example.
But my client can not access internet. When I set my client static mapping to 192.168.1.106, it can access to internet.
What could be wrong ?
-
The issue is solved. In Static mapping, I had to select IP blocks different than my ADSL modems. As you see above, my Modems (WAN Interfaces) sit on 192.168.2.x and 192.168.3.x
So, when I set Static mappings for my client devices as 192.168.2.x and 3.x; those devices fail to access internet.
I choose 192.168.0.X or 192.168.4.X, and devices succesfully connected to internet.
Thanks for helps.