Lavender-Jamie
Lavender-Jamie3mo ago

IP allocation

Hi! I need advice for setting up my network. I have 23.130.212.0/24, and I want to assign a /29 to a router. My border router is a mikrotik and the router I want to assign the /29 to is a Unifi box. Advice?
61 Replies
Lavender-Jamie
Lavender-JamieOP3mo ago
I'm willing to send my configs-
guninvalid over coax alliance
dude pls don't dox yourself
Lavender-Jamie
Lavender-JamieOP3mo ago
How did I?
guninvalid over coax alliance
that's a public IP address it's set for Vancouver BC presumably that's where you are
Lavender-Jamie
Lavender-JamieOP3mo ago
Yeah uhhh I don't mind- Everyone knows I'm in Vancouver already. And I'm not actually in vancouver I only have offices in vancouver
guninvalid over coax alliance
well don't dox your offices either! but i mean if you insist can you show your network topography? are you trying to set up an Internet service that needs to put out like a website or do you just need connection to the internet? -# also you should hire me to design your network :bp_wink:
Lavender-Jamie
Lavender-JamieOP3mo ago
Well it's absurdly simple.
No description
Lavender-Jamie
Lavender-JamieOP3mo ago
I mean if you have good ideas...
guninvalid over coax alliance
ok so does it kinda look like this?
Lavender-Jamie
Lavender-JamieOP3mo ago
Uh no.
guninvalid over coax alliance
your network isn't in a design language i'm familiar with unfortunately
Lavender-Jamie
Lavender-JamieOP3mo ago
Wdym design language? I’ve got bgp sessions with both HE and VANIX.
guninvalid over coax alliance
ok so explain how your innernet and opennet look like then are you connected directly to HE and VANIX?
Lavender-Jamie
Lavender-JamieOP3mo ago
Yeah. I have a fiber link. Well both are just names I use to keep track of
guninvalid over coax alliance
ok so explain what they look like on the inside are they OSPF autonomous zones?
Lavender-Jamie
Lavender-JamieOP3mo ago
Osfp? Well I’ve got three routers. One is the border which connects up to VANIX and HE. The other two connects to the border.
guninvalid over coax alliance
ok so you have your opennet router and your innernet router
Lavender-Jamie
Lavender-JamieOP3mo ago
Yes.
guninvalid over coax alliance
for your opennet is that supposed to be for server traffic? do you have some servers that need to receive connections from the public internet?
Lavender-Jamie
Lavender-JamieOP3mo ago
Innernet works. Uh so innernet are for server traffic. Opennet is for like VPNs.
Lavender-Jamie
Lavender-JamieOP3mo ago
What can I explain?
guninvalid over coax alliance
ok let me take this one at a time you say innernet is working, what services are in there and which are working? presumably all of them but which?
Lavender-Jamie
Lavender-JamieOP3mo ago
Well working as in it is reachable from the no default zone. Sorry I mean default free zone.
guninvalid over coax alliance
what's the default free zone?
Lavender-Jamie
Lavender-JamieOP3mo ago
Well uhhh the zone of the internet that can reach every part of the internet without using default routes.
guninvalid over coax alliance
ok i might be getting ahead of myself let me go back to your actual question first you typically don't need to have multiple public IPs unless you have services to render
Lavender-Jamie
Lavender-JamieOP3mo ago
Well I have a /24 so…
guninvalid over coax alliance
if you do have services to render, i.e. web server or dns or whatever, it's common practice to set it so 1 ip does 1 service
Lavender-Jamie
Lavender-JamieOP3mo ago
And I do have multiple services to render. With IPv4 exhaustion tho I prefer to port forward and use reverse proxies.
guninvalid over coax alliance
i.e. ns1.service.com would get 212.241, ns2.service.com would get 212.242 yea you can either set them up on your mikrotik border router or your unifi controller
Lavender-Jamie
Lavender-JamieOP3mo ago
Yeah that’s done. It’s just I need the opennet router working.
guninvalid over coax alliance
if you set them on your unifi controller, you're basically setting your mikrotik as a switch interface and then set the IPs on the computers directly if you set them on your mikrotik, you would need to do NAT
Lavender-Jamie
Lavender-JamieOP3mo ago
Oh the mikrotik is the border.
guninvalid over coax alliance
yes that's what i mean
Lavender-Jamie
Lavender-JamieOP3mo ago
Why would I need NAT? The /24 I have is a public routable block.
guninvalid over coax alliance
yes, so standard practice is typically to have a private IP address on the inside (e.g. 172.20.0.101, .0.102 etc.) and do NAT/port forwarding on the external but you don't have to do that necessarily BUTTT on the other hand doing it with port forwarding does make it easier to scale in the future, plus it makes it lets you more easily centralize your security config
Lavender-Jamie
Lavender-JamieOP3mo ago
Yeah I know that. That is done for each of the networks already. The border router would assign public ips via dhcp
guninvalid over coax alliance
ok so your problem you mentioned was opennet? what does opennet do
Lavender-Jamie
Lavender-JamieOP3mo ago
Well what I need is it to be able to get a /29 range of public IPs (which the border router would route to and from opennet).
guninvalid over coax alliance
ok i understand that, but what do you need those public IPs for?
Lavender-Jamie
Lavender-JamieOP3mo ago
To set up VPNs.
Lavender-Jamie
Lavender-JamieOP3mo ago
I need to be able to proxy traffic through any of those /29 IPs. Also I want to set up a tor exit node and not have my main IP (.254/31)’s reputation be blown to smithereens.
guninvalid over coax alliance
why would your main IPs reputation be affected?
Lavender-Jamie
Lavender-JamieOP3mo ago
A lot of places block exit node IPs.
guninvalid over coax alliance
ok i think i just need to hop in a discord call with you if you're available
Lavender-Jamie
Lavender-JamieOP3mo ago
Sure in a sec
guninvalid over coax alliance
ill be in #🤙︱General Voice 2
Lavender-Jamie
Lavender-JamieOP3mo ago
Okay It’ll be five minutes. @pls hire me no perms…
guninvalid over coax alliance
despair emoji
Lavender-Jamie
Lavender-JamieOP3mo ago
:(
guninvalid over coax alliance
what what's the threshold for Active again lavendar.earth gave me a 404 btw ooooohhh wait im a goober you said tor im silly also im not sure if this server is allowed to help you with tor stuff for your opennet VPN traffic you can just do one IP for your incoming VPN connections or you can do a connection where IPSec or 1194/UDP traffic specifically gets port forwarded to your VPN server, and anything else just gets passed through as normal kinda cursed setup but it could work :cereal1:
Lavender-Jamie
Lavender-JamieOP3mo ago
Oh why not?
guninvalid over coax alliance
against server rules possibly
Lavender-Jamie
Lavender-JamieOP3mo ago
Right but Opennet isn't able to be reached. Huh. First time hearing internet privacy is against the rules.
guninvalid over coax alliance
i mean you did just get here yesterdaty im not gonna ping a mod because im not sure but im not gonna help you with tor specifically (also because ive never worked with tor :brainless:) i can help you with VPNs though
Lavender-Jamie
Lavender-JamieOP3mo ago
Fair :P Well it isn't even tor. It's more getting the OpenNet router an IP/
guninvalid over coax alliance
im still confused on why you would even need that oh you're active i think you can join vc now im in #❓︱Support Voice
w33t
w33t3mo ago
TOR exit node stuff is fine Nothing illegal about it

Did you find this page helpful?