A method and computer system for auto-routing of multi-hop pseudowires is
presented. A first Provider Edge (PE) device receives an advertisement
from a layer 2 (L2) capable network device, the advertisement including
routing state for reaching the L2 device. A first Border Gateway Protocol
(BGP) table is populated with the routing state for the L2 capable
network device which is reachable by way of an address family reserved
for L2 end point reachability information. The first PE device advertises
the first BGP table information within a first Service Provider (SP)
network such that a multi-hop Pseudowire is capable of being established
which includes the L2 capable device.