Hello, I have an issue when performing traceroutes which can make it difficult to troubleshoot issues. We are using VyOS as one of our core routers and we typically assign a /31 on VyOS and on the customer CPE.
Here is a snippet of my config on VyOS:
ethernet eth4 {
duplex auto
hw-id XX:XX:ba:1d:XX:XX
smp_affinity auto
speed auto
vif 500 {
address 204.555.111.8/31
address 204.555.111.10/31
address 204.555.111.42/31
description “VLAN 500 FIBER NETWORK”
}
}
On Customer CPE:
interfaces {
ethernet eth0 {
address 204.555.111.43/31
}
system {
gateway-address 204.555.111.42
}
When doing a traceroute from the internet:
Tracing route to 204.555.111.43 over a maximum of 30 hops
1 <1 ms <1 ms <1 ms 10.0.0.254
2 <1 ms <1 ms <1 ms 204.555.111.8 <--------why is it using this ip??? should be 204.555.111.42 , right??
3 1 ms 1 ms <1 ms 204.555.111.43
Why does VyOS respond on the first IP of the interface instead of using the 204.555.111.42 IP since that is the IP that vyos is sending the packets from when sending to 204.555.111.43 ?