Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8220
  • Last Modified:

BGP: Explanation for address-family ipv4 and vpnv4

Experts,

Jr. Engineer for a service provider wondering about BGP. I am looking to solidify my understanding of ipv4 and vpnv4.
I was looking over our PE routers and see address-family ipv4 and address-family vpnv4.

Can someone explain to me what is the difference between the two? I've already read about the difference but would like to hear it from another point of view.
Is ipv4 is used to exchange regular ipv4 routes between bgp peers? vpnv4 is used to exchange vrf routes?
 
0
trojan81
Asked:
trojan81
1 Solution
 
Otto_NCommented:
IPv4 addresses is the usual IP address: NN.NN.NN.NN
VPNv4 is the IP address, but with the route-distinguisher appended: AS:RD:NN.NN.NN.NN

You are correct: "address-family ipv4" is configured to exchange IPv4 addresses between nodes (which can be used in the backbone of the ISP for infrastructure connectivity) while "address-family vpnv4" is used to echange routing information in the specific VPN (i.e. the subnets reachable inside the particular VPN, most likely the service offered to your customer).

To put it another way:  "address-family ipv4" exchange IPv4 routes in the Global Routing Table between BGP peers, while "address-family vpnv4 vrf <NAME>" exchange IPv4 routes in the specified VRF instance between peers.

Let me know if you need more info...
1
 
trojan81Author Commented:
Makes sense. well done!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now