[Yum] forcing yum to bind to a different local ip address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Mansfield wrote:
> My workstation has two ip addresses (on eth0 and eth0:1).
> 
> The reason is that our LAN connects to two different ISP's.  By
> selecting the interface, we can select which ISP the traffic goes through.
> 
> Is it possible to force yum to bind to a different local ip
> interface/address?

I don't think Yum can do this and it probably won't get added as a feature.

What about adding routes to the repositories via the gateway for the 
alternate link? For example:

ip route add repo.ip.addr via alt.gw.ip

where repo.ip.addr is the IP of the repository and alt.gw.ip is the 
gateway for the network on eth0:1. Do this for each repository you use.

Menno

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux