INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

IPVPN cloud / vpls

IPVPN cloud / vpls

(OP)
Hello there,

Trying to solve an issues regarding vpls. How can I stop advertising only certain subnets to a specific branch on the other side of a vpls/ipvpn cloud? Im using bgp routing with static routes as well.

Any help would be appreciated.

RE: IPVPN cloud / vpls

is this just a point-to-point connection or do you have multiple sites involved?? do you control the other sites CE device?? there are a few different ways to tackle this depending on your structure.

RE: IPVPN cloud / vpls

(OP)
there are other sites that are also connected to the vpls. i just control the main site and one branch

RE: IPVPN cloud / vpls

ok, so since you are using L2 VPN I am making the assumption that you have a full-mesh of BGP peers between all of your locations. if so, you can take care of this on your CE in the location that is originating this prefix.

L1 is the location where you are sourcing 10.10.10.0/24, 10.10.20.0/24, and 10.10.30.0/24. L2 should not receive 10.10.10.0/24, but it should receive the other prefixes. Your VPLS subnet is 192.168.10/24 with L2 residing at 192.168.10.2:

Use a prefix-list

CODE -->

ip prefix-list prune deny 10.10.10.0/24
ip prefix-list prune permit 0.0.0.0/0 le 32

router bgp 65000
 neigh 192.168.10.2 prefix-list prune out
 neigh 192.168.10.2 description L2

clear ip bgp 192.168.10.2 soft out 
or use a distribute-list

CODE

ip access-list extended prune
 deny ip 10.10.10.0 0.0.0.255 any
 permit ip any any

router bgp 65000
 neigh 192.168.10.2 distribute-list prune out

clear ip bgp 192.168.10.2 soft out 
or, use a route-map

CODE

ip prefix-list prune deny 10.10.10.0/24
ip prefix-list prune permit 0.0.0.0/0 le 32

route-map rmap-prune
 match ip address prefix-list prune

router bgp 65000
 neigh 192.168.10.2 route-map rmap-prune out

clear ip bgp 192.168.10.2 soft out 

RE: IPVPN cloud / vpls

(OP)
Appretiate it very much. I will go with the prefix list first and see how it works out. Will let you know how it goes.

Thanks again : )

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close