Same Subnet multible use #18005
-
Hi, we have multible branch offices who use the same subnet. Regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
You have a few choices to achieve this. You can either disable the uniqueness constraint or use different VRFs to handle different prefixes and IP addresses. |
Beta Was this translation helpful? Give feedback.
-
VRFs are what you need here. In Netbox, a VRF is both a layer 3 routing domain and a network namespace (i.e. domain of uniqueness for IP addresses). So even if you're not actually using multiple routing tables within the same network, and hence no actual VRFs, you can create a separate VRF for site A and site B, and put their respective prefixes and addresses within those VRFs, and they will not conflict. |
Beta Was this translation helpful? Give feedback.
-
@candlerb I am in the process of migrating into netbox now, and my trouble is that under my 10/8 block my subnets are assigned to different vrf's. And it seems that when I assign 10/8 to global and 10.12.13.0/24 to another vrf. Both 10.0.0.0/8 and 10.12.13.14.0/24 is nested at the same level. Any idea to solving this? I'd like to have everything nested as I the entire range is handled by the same aggregate anyhow. |
Beta Was this translation helpful? Give feedback.
-
On 2025-09-26 16:24, PieterL75 wrote:
I would say, go for it and submit a FR.. I'll upvote for sure !
I'd also need this feature.
just "borrow" nautobots implementation of namespace
https://docs.nautobot.com/projects/core/en/stable/user-guide/core-data-model/ipam/namespace/
:)
…--
Regards / Med vänlig Hälsning
Anders Löwinger, Abundo AB, +46 72 2060322
|
Beta Was this translation helpful? Give feedback.
VRFs are what you need here. In Netbox, a VRF is both a layer 3 routing domain and a network namespace (i.e. domain of uniqueness for IP addresses). So even if you're not actually using multiple routing tables within the same network, and hence no actual VRFs, you can create a separate VRF for site A and site B, and put their respective prefixes and addresses within those VRFs, and they will not conflict.