Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I own a dedicated server than runs Debian Linux. I have 64 IP addresses configured on the machine. I am looking to open a page (just has to access it with lynx or anything to read) with one of the non-default 64 IP addresses, besides just the default one. How can I do this?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I did a similar thing recently with firefox. I used this code http://www.ryde.net/code/bind.c.txt Which changes which IP address the OS uses for new processes.

It might be one way to do this. Neither links nor Lynx seems to have any --bind-address command line argument, like wget does.

That said, you could just use curl and pipe the output to something more sensible. curl --interface eth0 http://www.google.com

share|improve this answer
    
wget --bind-address command line is what I wanted. Thanks. –  BHare Jun 16 '10 at 9:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.