Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2023 09:56:16 +0000
From:      Benoit Chesneau <benoitc@enki-multimedia.eu>
To:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   loopback and IP source
Message-ID:  <t6vS0O-obl2X2h0RWRfvlnxquCn7nlg1zJfFPPL7hfb_HjUxvnaOx2CbRXSOYJWDatxOea3CieEnUEUbL5XnIOh7hP2f6JqwqpZUDBwdsVE=@enki-multimedia.eu>

next in thread | raw e-mail | index | archive | help
Is there a way to ensure that the IP set in loopback on the rc.conf is alwa=
ys used as source for routing. I setup it like this:

```
cloned_interfaces=3D"lo1"
ifconfig_lo1=3D"inet 195.24.245.226/32 up"
ifconfig_lo1_ipv6=3D"inet6 2a12:5541:1:1::3/128"
```

and others IP are set on interfaces or vlans. All routes informations are f=
etched via BGP. The strange thing is that when I do a ping to `1.1.1.1`` th=
is 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?=20



Beno=C3=AEt 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t6vS0O-obl2X2h0RWRfvlnxquCn7nlg1zJfFPPL7hfb_HjUxvnaOx2CbRXSOYJWDatxOea3CieEnUEUbL5XnIOh7hP2f6JqwqpZUDBwdsVE=>