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? |
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 05:14 AM. |