Basic LAN & OPT1 configuration
-
Both my scenario 1 & 2 does not work.
Only one works is the #3 option. I would like #2 to work. Let me know if I am on right track with
#2 setup,so that I can focus on rules and other options.
I am using pfsense 1.2.3 on a CF module with an alix2 board.Scenario #1
–--------Wan DHCP
LAN 192.168.1.1
OPT1 192.168.1.2DHCP server:
LAN ip range 192.168.1.20 - 192.168.1.30
OPT1 ip range 192.168.1.31 - 192.168.1.40Rules:
LAN: allow all in lan subnet
OPT1: allow all in OPT1 subnetScenario #2
WAN: DHCP
LAN: 192.168.1.1
OPT1: bridge with LANDHCP server
LAN; ip range 192.168.1.10 192.168.1.20Rules:
LAN: Allow all in lan subnetScenario #3
Wan DHCP
LAN 192.168.1.1
OPT1 192.168.0.1DHCP server:
LAN ip range 192.168.1.20 - 192.168.1.30
OPT1 ip range 192.168.0.10 - 192.168.0.30Rules:
LAN: allow all in lan subnet
OPT1: allow all in OPT1 subnet -
#1 Will never work because you have the same subnet on both interfaces.
#2 Can work if you create the correct rules on the OPT interface.
Search the forum for what rules are needed to have a working DHCP with a bridge.#3 Is imo the proper way to set a network up and you should do it like this.
-
#1 Will never work because you have the same subnet on both interfaces.
#2 Can work if you create the correct rules on the OPT interface.
Search the forum for what rules are needed to have a working DHCP with a bridge.#3 Is imo the proper way to set a network up and you should do it like this.
thanks for your advise.
I will stick to #3 setup. -
In the case of Scenario #3 (above), what do you specify as the OPT 1 gateway? Is it the DHCP assigned IP for WAN, the gateway for WAN?
Thx-
-J -
Nothing because the gateway address is only used when the interface is a WAN type interface, in scenario #3 it's a second LAN and no gateway address is needed.