Bug#1005862: apt: Feature request - apt-get Source IP
Package: apt
Version: 2.2.4
Severity: wishlist
Tags: ipv6
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
I use Debian on a server with multiple upstream internet links. Some of these links have peering point IPs.
It happens fairly often that apt-get traffic uses the source IP in a peering point range and then downloads fail.
Please consider adding a feature so I can configure apt-get to specify a source IP or interface on the server.
For example: traceroute has a -s option: "Chooses an alternative source address."
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (no /etc/apt/preferences.d/* present) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (/etc/apt/sources.list.d/grafana.list present, but not submitted) --
-- (/etc/apt/sources.list.d/influxdb.list present, but not submitted) --
-- (/etc/apt/sources.list.d/ookla_speedtest-cli.list present, but not submitted) --
-- (/etc/apt/sources.list.d/saltstack.list present, but not submitted) --
-- (/etc/apt/sources.list.d/stretch-backports.list present, but not submitted) --
-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-11-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_ZA:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt depends on:
ii adduser 3.118
ii debian-archive-keyring 2021.1.1
ii gpgv 2.2.27-2
ii libapt-pkg6.0 2.2.4
ii libc6 2.31-13+deb11u2
ii libgcc-s1 10.2.1-6
ii libgnutls30 3.7.1-5
ii libseccomp2 2.5.1-1+deb11u1
ii libstdc++6 10.2.1-6
ii libsystemd0 247.3-6
Versions of packages apt recommends:
ii ca-certificates 20210119
Versions of packages apt suggests:
pn apt-doc <none>
pn aptitude | synaptic | wajig <none>
ii dpkg-dev 1.20.9
ii gnupg 2.2.27-2
ii powermgmt-base 1.36
-- no debconf information
Reply to: