OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: chrismaster on May 28, 2024, 05:46:21 PM

Title: Static Ipv4/6 settings for LAN
Post by: chrismaster on May 28, 2024, 05:46:21 PM
I get static IP for WAN and LAN from my provider.

My network looks like this

┌───────────┐                                                   
│ INTERNET  │                                                   
└────┬──────┘                                                   
     │VLAN32                                                   
     │DHCP                                                     
┌────┴───────────────────┐                                     
│opnsense-WANPORT        │                                     
│100.150.200.146         │                                     
│2a0a:abb0:ab3:1::18a/128│                                     
└───┬────────────────────┘                                     
    │                                                         
    │   ┌─────────────────────┐                               
    │   │additional public IPs│                               
    │   │100.150.210.160/29   │                               
    │   │2a0a:abb0:ab4:340/60 │                                 
    │   └─────────────────────┘                               
    │                                                         
┌───┴────────────────────────────┬────────────────┐         
│opnsense DMZ Port + dhcpv4/6    │ static IPv4    │         
│100.150.210.161/29              │ Track Interface│         
│2a0a:abb0:ab4:340:aa1:ab:fe:a111│ for Ipv6       │         
└───┬────────────────────────────┴────────────────┘         
    │                                                         
┌───┴──┬───────────┬───────────────────┐                     
│switch│           │                   │                     
└──────┘ ┌─────────┴────────────┐   ┌──┴─────────────────────┐
         │ServerA dhcp          │   │ServerB-E dhcp          │
         │100.150.210.162       │   │100.150.210.163-6       │
         │2a0a:abb0:ab4:340::162│   │2a0a:abb0:ab4:340::163-6│
         │2a0a:abb0:ab4:348/63  │   │     3x.../63 who needs │
         └──────────────────────┘   └────────────────────────┘

This is working, but I am not 100% happy and have some questions.
A)
Is there a way to free the 100.150.210.161 IP from opnsense and use it for a ServerF?
B) I change from a PC Opnsense Box to a DC2700 with 2xSFP+ ports. So I want to bond the 2xSFP+ and LACP with my switch and use this connection with VLAN for my DMZ and Local net. Is this a reasonable idea?
Thx for the help
Chris