OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of haplo_ »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - haplo_

Pages: [1]
1
22.1 Legacy Series / Public Ip-address to VLAN and vice versa
« on: July 30, 2022, 04:55:12 pm »
Hi,

I'm new to Opnsense, not new to general networking, but haven't dived deep into it until now :)

I'm the co-administrator of internet and networking in an apartment block with 23 apartments.

We've just gotten fiber installed and the ISP is delivering a block of IP-addresses xx.xx.xx.xx/27

We've set up a mini-PC with Opnsense to be the edgerouter, behind it we have an HP layer 2 VLAN capable switch (hp 2530-24g).

I would like to put every apartment on it's own VLAN, not capable to talk to any other VLAN.
Each apartment have their own consumer grade router, of which I have no control.

Every apartment should have their own external IP-address.

I would also like to apply traffic shaping to share the connection evenly.

How would you go about doing that with OpnSense and the VLAN capable switch?

Should I use 1:1 NAT? But how do you do public IP address <-> VLAN?
Should VLANs be all on OpnSense, all on the switch or should it be a combination?

Thanks in advance!

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