OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • How to give clients IP Address, Gateways and DNS using OPNSense?
« previous next »
  • Print
Pages: 1 [2]

Author Topic: How to give clients IP Address, Gateways and DNS using OPNSense?  (Read 46127 times)

hutiucip

  • Sr. Member
  • ****
  • Posts: 284
  • Karma: 49
    • View Profile
Re: How to give clients IP Address, Gateways and DNS using OPNSense?
« Reply #15 on: January 27, 2018, 03:25:40 pm »
@Fabian, why a static LAN IP + reconfiguring the DHCP, since by default OPNsense would auto configure static LAN + DHCP on 192.168.1.0/24 that would not overlap 192.168.254.0 on the WAN?

I ask this only because he states (repeatedly) that's a novice in OPNsense/ networking, and leaving everything on default should do the trick perfectly for him, no fuss... :)
Logged

hutiucip

  • Sr. Member
  • ****
  • Posts: 284
  • Karma: 49
    • View Profile
Re: How to give clients IP Address, Gateways and DNS using OPNSense?
« Reply #16 on: January 27, 2018, 03:35:14 pm »
Quote from: agustinrojen on January 27, 2018, 12:06:36 pm
It has 4 ports LAN ports.

LAN1 -- LAN2 -- LAN3 --LAN/WAN

Where should I connect it? From modem to opnsense.

Theoretically, any of the 4, but I would go with LAN1, it will definitely work.

PS The last port is named LAN/WAN because your router is a mixed router, it can have WAN on a SIM (like it already does now) but also can be configured as a wired only GW, WAN being also a UTP cable, which case your last LAN port becomes the wired WAN port.

Still, try and see if you can configure your modem as a bridge. It would be perfect.
If not, at least in the modem configuration, try to DMZ OPNsense (192.168.254.110 - or whatever IP address will be in OPNsense for WAN)
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: How to give clients IP Address, Gateways and DNS using OPNSense?
« Reply #17 on: January 27, 2018, 04:08:49 pm »
Quote from: hutiucip on January 27, 2018, 03:25:40 pm
@Fabian, why a static LAN IP + reconfiguring the DHCP, since by default OPNsense would auto configure static LAN + DHCP on 192.168.1.0/24 that would not overlap 192.168.254.0 on the WAN?

A lot of SOHO routers use this network and if you plan to do a Site to Site tunnel, it will not work because the network would be overlapping.
If no VPN is planned, this network should work without issues as well.
Logged

hutiucip

  • Sr. Member
  • ****
  • Posts: 284
  • Karma: 49
    • View Profile
Re: How to give clients IP Address, Gateways and DNS using OPNSense?
« Reply #18 on: January 29, 2018, 09:06:34 am »
Quote from: fabian on January 27, 2018, 04:08:49 pm
A lot of SOHO routers use this network and if you plan to do a Site to Site tunnel, it will not work because the network would be overlapping.
If no VPN is planned, this network should work without issues as well.

True!

I higly doubt that there will be any S2S VPN envolved... But if @agustinrojen foresee it, (s)he would act accordingly.
Logged

GreG.P.

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
  • The Best of Free or nothing!
    • View Profile
Re: How to give clients IP Address, Gateways and DNS using OPNSense?
« Reply #19 on: February 02, 2018, 01:54:49 pm »
LOL !

Why are you speaking about S2S vpn ?? seriously, I m agree with hutiucip to let the Maximum parameters by default for him because he doesn't have the basic network knowledge :(

Speaking and ask to perform advanced configure tasks to a user is the best way to lost customers/users :(

We should just help basic users and neophyte users about the solution witch are discuss around it.
Step by step :)

So next step is probably : How to replace our initial modem/router equipment by a single OPNsense utm :)
Enjoy it :)
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • How to give clients IP Address, Gateways and DNS using OPNSense?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2