# Configuring the Loopback Interface and Router ID for BGP for VPWS

To configure the loopback interface and router ID on the PE router:

1. Configure a loopback interface on the PE router and assign an IP address to the interface.
   host1(config)#interface loopback 0 host1(config-if)#ip address 10.3.3.3 255.255.255.255 host1(config-if)#exit
2. Assign the router ID using the IP address you configured for the loopback interface.
   host1(config)#ip router-id 10.3.3.3

#### Related Topics

- interface loopback
- ip address
- ip router-id