LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-05-2011, 08:17 AM   #1
Coolmax
LQ Newbie
 
Registered: Jul 2009
Location: Poland
Distribution: openSUSE, Debian
Posts: 15

Rep: Reputation: 0
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?
 
Old 08-05-2011, 09:01 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
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.
 
  


Reply

Tags
apt-get, aptitude, bind, ip


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I bricked my NAS? :( aptitude, apt-get, apt-cache segfaults immediately omegaworks Linux - Server 5 11-07-2009 09:21 AM
aptitude instead of apt-get cccc Debian 2 07-19-2009 02:07 PM
[SOLVED] apt-get and aptitude riganta Linux - Desktop 8 03-06-2009 05:07 PM
aptitude vs apt-get PCalitrack Ubuntu 3 08-08-2006 12:34 PM
aptitude .vs. apt-get thelonius Debian 12 07-25-2006 11:52 PM


All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration