Multiples ip address on interface. I want to specify one of them for output
Solution 1:
It appears your provider is playing some dirty tricks with IP routing. The second IP address you are using is on a completely different network. Your dedibox is on AS12322, while your other IP address is registered to Tiscali on AS12876. This seems to work because the involved service providers are making it work.
Anyway, most programs that can make network connections have an option that lets you specify the source IP address. For the curl
command line, that option is --interface
.
curl --interface 212.83.129.104 http://curlmyip.com/
Solution 2:
From the configuration you've posted it looks like you are specifying 212.83.128.104 as the source for your default route:
default via 88.190.15.1 dev eno1 src 212.83.129.104
You should probably change that, or remove it.
EDIT: Apparently I misread the question and thought that 212.83.128.104 was being used as the source IP. If I re-read it correctly, 88.190.15.135 is actually being used as the source IP, and the desired behavior is to have 212.83.129.104 used instead. To diagnose, we'll need more information, but my guess is that you are being affected by this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1093999 where ip route ... src is broken in the kernel.