Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
What determines whether new interface is treated as WAN or LAN type for routing
« previous
next »
Print
Pages: [
1
]
Author
Topic: What determines whether new interface is treated as WAN or LAN type for routing (Read 1590 times)
laczik
Newbie
Posts: 8
Karma: 0
What determines whether new interface is treated as WAN or LAN type for routing
«
on:
April 16, 2020, 01:48:44 pm »
If I add a new interface, what settings determine whether it will be treated as WAN or LAN for routing?
Thanks, John
«
Last Edit: April 18, 2020, 04:58:20 pm by laczik
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: What determines whether new interface is treated as WAN or LAN type for routing
«
Reply #1 on:
April 17, 2020, 01:46:09 pm »
Gateway setting for each IPv4 and IPv6 config, which is automatically implied when you set it to DHCP or a similar "upstream" connectivity mode.
Cheers,
Franco
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: What determines whether new interface is treated as WAN or LAN type for routing
«
Reply #2 on:
April 17, 2020, 01:52:11 pm »
...hmmm, but if I set the interface to DHCP just because I want the DHCP server to be something else but the sense box? Some linux machine doing it for this LAN?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: What determines whether new interface is treated as WAN or LAN type for routing
«
Reply #3 on:
April 17, 2020, 01:56:38 pm »
I don't think this matters in real life. When your firewall is DHCP in a LAN the firewall is 99,9% of the time a router between other networks and uses the upstream gateway offered by DHCP. Otherwise you only have an endpoint device, which is fine, but it won't firewall/route.
Cheers,
Franco
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: What determines whether new interface is treated as WAN or LAN type for routing
«
Reply #4 on:
April 17, 2020, 05:09:42 pm »
So if I want to use an alternative DHCP server on a LAN interface I would keep "Static IP" and use an IP from the relevant subnet, but outside the range of this alternative DHCP server?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
What determines whether new interface is treated as WAN or LAN type for routing