Results 1 to 3 of 3

Thread: virtual IPs

  1. #1

    Question virtual IPs

    Good Day!
    I have set up virtual IPs on my Ubuntu client machine & assigned IPs - eth0 - eth0:1 - eth0:2 - eth0:3
    When I access the website on my intranet server & check the logs on the apache server ,i find that the HTTP 'GET' request is sent from the client IP there any way that I can send the http requests from the other IPs on the virtual interfaces.
    So if i were to put it in a loop using a perl/python script,i could possibly send 'get' requests randomly from the virtual IPs and the log file on the server would reflect that......Appreciate if anyone could provide some ideas on this,or am i completely naive here..

  2. #2
    I'm somewhat curious as to what you're trying to achieve here. My knowledge of vips is limited, but as I understand it the reason you would want to give an interface multiple IPs is so it can connect to multiple networks, say 192.168.12 and 10.0.0 or something like that...
    63,000 bugs in the code, 63,000 bugs,
    ya get 1 whacked with a service pack,
    now there's 63,005 bugs in the code!!

  3. #3
    All outgoing requests / connections from any machine will ALWAYS be ONLY from the REAL IP Address of the interface (eth0 / eth1 or whatever interface is being used). Outgoing connections will NEVER be from a Virtual IP Address, irrespective of the OS being used.
    If you need connections from one of the other IP Addresses on the box, you will need to make that IP Address the REAL IP Address for the interim.

Similar Threads

  1. virtual classroom
    By uwa45 in forum Windows - General Topics
    Replies: 0
    Last Post: 05-26-2008, 04:35 PM
  2. Sub-Virtual Directories
    By honey bee in forum Linux - General Topics
    Replies: 0
    Last Post: 09-20-2007, 07:46 AM
  3. Issues creating a VLans using virtual NICs (Virtual-hosts)
    By knight72 in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 11-19-2005, 11:37 PM
  4. back up virtual machines in Virtual Server 2005
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 09:03 PM
    By -=amity=- in forum Linux - General Topics
    Replies: 2
    Last Post: 07-17-2004, 07:23 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts