loopback and IP source
- Reply: Zhenlei Huang : "Re: loopback and IP source"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Nov 2023 09:56:16 UTC
Is there a way to ensure that the IP set in loopback on the rc.conf is always used as source for routing. I setup it like this: ``` cloned_interfaces="lo1" ifconfig_lo1="inet 195.24.245.226/32 up" ifconfig_lo1_ipv6="inet6 2a12:5541:1:1::3/128" ``` and others IP are set on interfaces or vlans. All routes informations are fetched via BGP. The strange thing is that when I do a ping to `1.1.1.1`` this work (and pass via one of the vlan through the transit). But when I do a ping to another IP going through an IX the ping only work when I force the source using `-S`: `ping -S $MY_IP $OTHER_IP` . Is there something to do ? How to investigate such issue? BenoƮt