# Configuring BGP Multihoming for VPWS

You can configure BGP multihoming in the VPWS network to provide redundancy in the event of failures such as a PE router-to-CE device link failure, the failure of a PE router, or an MPLS reachability failure between the local PE router and a remote PE router. BGP multihoming enables you to connect a customer site to two or more PE routers. A redundant PE router can begin providing service to the customer site as soon as the failure is detected. The redundant connectivity maintains the VPWS service and traffic forwarding to and from the multihomed site while avoiding the formation of layer 2 traffic loops.

To configure BGP multihoming on a VPWS PE router:

- Configure the site as multihomed and specify a multihoming priority for the PE site for this instance.
  host1(config)#l2vpn exampleco site-name westford site-id 1 multi-homed priority 2

You must configure the same site ID on all PE routers connected to the multihomed customer site. The site ID shared by the connected PE routers should be different than the site IDs configured on the remote PE routers in the VPWS network.

You can configure a different block offset, label range, and route distinguisher for each connected PE router.

#### Related Documentation

- Configuring VPWS on a PE Router
- l2vpn site-name site-id