Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
AT&T Fiber Interface Assignments?
« previous
next »
Print
Pages: [
1
]
Author
Topic: AT&T Fiber Interface Assignments? (Read 974 times)
StarsAndBars
Newbie
Posts: 8
Karma: 0
AT&T Fiber Interface Assignments?
«
on:
April 25, 2024, 06:54:55 pm »
Greetings All!
I have AT&T Residential Fiber and I purchased a pack of static IPs and have those addresses as given to me.
I have OPNSense running on a generic white-box Xeon system that has several copper ports and 2 10gig SFP+ ports. Right now I have the incoming fiber directly connected to the OPNSense firewall through a custom SFP module from FS that can act as XGS-PON, so I no longer need the AT&T 320 gateway and it is completely disconnected and out of the loop here.
My question is how I leverage the static IPs I want to use. I have to set the OPNSense to DHCP on the WAN side to get a connection, and the IP address assigned via DHCP is NOT in the block of static IPs that I have.
Do I just create additional interfaces on the copper ports and assign the static IPs to each of them? If that is the case, does anyone have details on how to achieve this? If there is a write-up or a tutorial somewhere that addresses this, please point me to it.
Thanks!
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: AT&T Fiber Interface Assignments?
«
Reply #1 on:
April 26, 2024, 01:45:27 am »
Depends on what you want to do with these addresses. If you want to use them for ...
... (S)NAT, simply add them to the WAN interface as virtual IPs.
... services running on OPNsense itself, adding them to additional loopback interfaces generally is a good idea.
... hosts in your network, you can configure an OPNsense LAN interface with the public subnet, just like you would with private addresses.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
StarsAndBars
Newbie
Posts: 8
Karma: 0
Re: AT&T Fiber Interface Assignments?
«
Reply #2 on:
April 29, 2024, 01:55:06 am »
Thank you, and could you please point me to the documentation on how to achieve this?
I have several unused copper ports on my hardware, and I would just like to add each of the static IPs from my block assigned to me to each one of those copper ports.
I appreciate the pointers, and I am eager to learn more. Thanks again!
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: AT&T Fiber Interface Assignments?
«
Reply #3 on:
April 30, 2024, 01:15:33 am »
Are there multiple devices connected to each of those ports and you want to use the static IPs for outbound NAT?
Or is there just one device connected to each of those ports and you want to assign a unique public IP to each device?
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
StarsAndBars
Newbie
Posts: 8
Karma: 0
Re: AT&T Fiber Interface Assignments?
«
Reply #4 on:
April 30, 2024, 05:09:54 pm »
I was looking to assign a static IP directly to each of the available copper ports.
Then, I would most likely use a different firewall or router device in each of those ports. At the moment, I can't think of any single, stand-alone device that I would assign a static IP to, other than the aforementioned firewall/router.
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: AT&T Fiber Interface Assignments?
«
Reply #5 on:
April 30, 2024, 05:12:56 pm »
You cannot assign a single IP to "a port". The IP musst be directly configured or otherwise routed to the device connected to that port, supposedly to provide some service reachable at that IP address.
So what are these devices and their respective services like?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: AT&T Fiber Interface Assignments?
«
Reply #6 on:
May 01, 2024, 06:48:16 pm »
What Patrick says.
The straight forward approach is connecting one spare OPNsense port and all of the downstream routers' WAN ports to a switch. You can then statically configure your public subnet on that OPNsense interface and on your downstream routers' WAN interfaces (each with their own public address). The downside is that three IP addresses will be "wasted" (network, gateway and broadcast address).
If you don't want to use a separate switch, you can bridge multiple ports in OPNsense.
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
AT&T Fiber Interface Assignments?