Can two networks with the same subnet be connected to the same router in different VRF?
Clash Royale CLAN TAG#URR8PPP
Let's say I have the following four networks:
- Network A: 10.0.1.0/24
- Network B: 10.0.0.0/24
- Network C: 10.0.1.0/24
- Network D: 10.0.0.0/24
I would like to connect networks A and B together, and do the same between C and D (while A/B can't access C/D). With only a single router, could this be configured by setting two different VRF as shown below ?
If yes, what would happens if I set up BGP to exchange route between the two VRF, like in the following link: https://www.cisco.com/c/en/us/support/docs/multiprotocol-label-switching-mpls/multiprotocol-label-switching-vpns-mpls-vpns/47807-routeleaking.html#diffvrfs
bgp vrf
add a comment |
Let's say I have the following four networks:
- Network A: 10.0.1.0/24
- Network B: 10.0.0.0/24
- Network C: 10.0.1.0/24
- Network D: 10.0.0.0/24
I would like to connect networks A and B together, and do the same between C and D (while A/B can't access C/D). With only a single router, could this be configured by setting two different VRF as shown below ?
If yes, what would happens if I set up BGP to exchange route between the two VRF, like in the following link: https://www.cisco.com/c/en/us/support/docs/multiprotocol-label-switching-mpls/multiprotocol-label-switching-vpns-mpls-vpns/47807-routeleaking.html#diffvrfs
bgp vrf
For overlapping networks to communicate, you would need to use NAT. See this question and answers about that
– Ron Maupin♦
Mar 5 at 19:44
add a comment |
Let's say I have the following four networks:
- Network A: 10.0.1.0/24
- Network B: 10.0.0.0/24
- Network C: 10.0.1.0/24
- Network D: 10.0.0.0/24
I would like to connect networks A and B together, and do the same between C and D (while A/B can't access C/D). With only a single router, could this be configured by setting two different VRF as shown below ?
If yes, what would happens if I set up BGP to exchange route between the two VRF, like in the following link: https://www.cisco.com/c/en/us/support/docs/multiprotocol-label-switching-mpls/multiprotocol-label-switching-vpns-mpls-vpns/47807-routeleaking.html#diffvrfs
bgp vrf
Let's say I have the following four networks:
- Network A: 10.0.1.0/24
- Network B: 10.0.0.0/24
- Network C: 10.0.1.0/24
- Network D: 10.0.0.0/24
I would like to connect networks A and B together, and do the same between C and D (while A/B can't access C/D). With only a single router, could this be configured by setting two different VRF as shown below ?
If yes, what would happens if I set up BGP to exchange route between the two VRF, like in the following link: https://www.cisco.com/c/en/us/support/docs/multiprotocol-label-switching-mpls/multiprotocol-label-switching-vpns-mpls-vpns/47807-routeleaking.html#diffvrfs
bgp vrf
bgp vrf
edited Mar 5 at 16:24
Nakrule
asked Mar 5 at 15:53
NakruleNakrule
20926
20926
For overlapping networks to communicate, you would need to use NAT. See this question and answers about that
– Ron Maupin♦
Mar 5 at 19:44
add a comment |
For overlapping networks to communicate, you would need to use NAT. See this question and answers about that
– Ron Maupin♦
Mar 5 at 19:44
For overlapping networks to communicate, you would need to use NAT. See this question and answers about that
– Ron Maupin♦
Mar 5 at 19:44
For overlapping networks to communicate, you would need to use NAT. See this question and answers about that
– Ron Maupin♦
Mar 5 at 19:44
add a comment |
1 Answer
1
active
oldest
votes
You have two questions here.
Can two networks with the same subnet be connected to the same router
in different VRF?
Yes, as long as the two domains (VRF A and VRF B) do not communicate with each other. Think of a VRF as a virtual router.
What would happens if I set up BGP to exchange route between the two
VRF?
Things will not work, because hosts on Net A will never see hosts on C, and vice versa. Same for B and D.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "496"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57418%2fcan-two-networks-with-the-same-subnet-be-connected-to-the-same-router-in-differe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have two questions here.
Can two networks with the same subnet be connected to the same router
in different VRF?
Yes, as long as the two domains (VRF A and VRF B) do not communicate with each other. Think of a VRF as a virtual router.
What would happens if I set up BGP to exchange route between the two
VRF?
Things will not work, because hosts on Net A will never see hosts on C, and vice versa. Same for B and D.
add a comment |
You have two questions here.
Can two networks with the same subnet be connected to the same router
in different VRF?
Yes, as long as the two domains (VRF A and VRF B) do not communicate with each other. Think of a VRF as a virtual router.
What would happens if I set up BGP to exchange route between the two
VRF?
Things will not work, because hosts on Net A will never see hosts on C, and vice versa. Same for B and D.
add a comment |
You have two questions here.
Can two networks with the same subnet be connected to the same router
in different VRF?
Yes, as long as the two domains (VRF A and VRF B) do not communicate with each other. Think of a VRF as a virtual router.
What would happens if I set up BGP to exchange route between the two
VRF?
Things will not work, because hosts on Net A will never see hosts on C, and vice versa. Same for B and D.
You have two questions here.
Can two networks with the same subnet be connected to the same router
in different VRF?
Yes, as long as the two domains (VRF A and VRF B) do not communicate with each other. Think of a VRF as a virtual router.
What would happens if I set up BGP to exchange route between the two
VRF?
Things will not work, because hosts on Net A will never see hosts on C, and vice versa. Same for B and D.
answered Mar 5 at 16:57
Ron TrunkRon Trunk
39.5k33780
39.5k33780
add a comment |
add a comment |
Thanks for contributing an answer to Network Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57418%2fcan-two-networks-with-the-same-subnet-be-connected-to-the-same-router-in-differe%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
For overlapping networks to communicate, you would need to use NAT. See this question and answers about that
– Ron Maupin♦
Mar 5 at 19:44