-   Linux - Newbie (
-   -   apt-get, aptitude - bind to ip address (

Coolmax 08-05-2011 08:17 AM

apt-get, aptitude - bind to ip address
Hi all,
I have vps box with debian. I have two ip addresses, but first (default) is currently unavailable. In that case there is many problem. Fortunately wget has --bind-address option so I can download. My question is how can i configure apt-get, aptitude to use specific address?

Noway2 08-05-2011 09:01 AM

If your default address / network interface is unavailable, rather than trying to tell each application to go through a different one, I would set the default route to use the proper interface / ip address. It has been a while since I have done this, but off hand I believe the commands is "ip route <parameters here>". You will want to check the man pages for help.

All times are GMT -5. The time now is 03:48 AM.