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?

link|improve this question

80% accept rate
feedback

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

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

Your Answer

 
or
required, but never shown

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