Hi,
We have quite a complicated/meshed home lab network. Each “PoP” has multiple BGP connections (over VPNs - Wiregaurd and SSTP) to each other. For the example however, let’s focus on 3:
NZ
NZ Hub
Bell
Each has a local network segment:
NZ - 192.168.4.0/24
NZ Hub - 192.168.254.0/24
Bell - 192.168.9.0/24
Doing a traceroute from a host on “Bell” - 192.168.9.10 - to 192.168.4.41 I see the following:
$ traceroute 192.168.4.41
traceroute to 192.168.4.41 (192.168.4.41), 30 hops max, 60 byte packets
1 192.168.9.1 (192.168.9.1) 0.403 ms 0.376 ms 0.372 ms
2 10.255.133.1 (10.255.133.1) 427.352 ms 427.709 ms 428.623 ms
3 192.168.4.41 (192.168.4.41) 428.544 ms 428.462 ms 428.379 ms
10.255.133.1 is the Wiregaurd endpoint on “NZ” - so “correct”
From the same host, to 192.168.254.35, I see the following:
$ traceroute 192.168.254.35
traceroute to 192.168.254.35 (192.168.254.35), 30 hops max, 60 byte packets
1 192.168.9.1 (192.168.9.1) 0.344 ms 0.400 ms 0.405 ms
2 10.255.133.14 (10.255.133.14) 431.084 ms 430.899 ms 430.817 ms
3 192.168.254.35 (192.168.254.35) 430.928 ms 431.859 ms 432.075 ms
10.255.133.14 is the Wiregaurd endpoint on “NZ Hub” - again, correct
However…“NZ Hub” send traffic to “Bell” via “NZ” - a path that has 2 AS’ and should be more costly ?
I have read somewhere that AS PATH is number 4 on the path selection - how do I change that however ?
See the attachments for screenshots of the BGP Path on “NZ Hub”. The routing table has the other paths however, including a single hop path which is what I would like it to prefer.
Thanks !


