TCP between two interfaces on same workstation.

From: Merchant Rizwan (merchant_rizwan_at_yahoo.com)
Date: 04/05/04

  • Next message: ayhan tepe: "boot failure"
    Date: Mon, 5 Apr 2004 07:31:49 -0700 (PDT)
    To: sunmanagers@sunmanagers.org
    
    

    Hi All,

    I have two interface (IP1 and IP2) on my workstation
    running solaris 8.

    I want to have a TCP socket (which is bound to IP1)
    connect to another socket (which is bound to IP2) but
    I want the TCP SYN packet to be sent out of interface
    IP1 and received on interface IP2. The SYN packet
    should not be loopback internally.

    Both the socket are in different processes.

    Is there any system setting to acheive this. Any help
    would be highly appreciated. I would surely summarize.

    Regards,
    Rizwan Merchant.

    __________________________________
    Do you Yahoo!?
    Yahoo! Small Business $15K Web Design Giveaway
    http://promotions.yahoo.com/design_giveaway/
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: ayhan tepe: "boot failure"

    Relevant Pages

    • Impact of bind() on recvfrom() and sendto()
      ... Assume a UDP socket S on a machine with more than one interface card, ... let's say two interface cards with IP addresses IP1 and IP2. ... Also assume that you bind the socket S to IP1 and port P1. ...
      (comp.os.linux.networking)
    • Re: [PATCH} Network interface for IPMI
      ... af_ipmi - A network socket interface to IPMI. ... -Note that the KCS-only interface ahs been removed. ... struct sockaddr_ipmi saddr; ...
      (Linux-Kernel)
    • Re: ntpd and network sockets
      ... it is unfortunate that both interface ... small" and then blythly ignore the socket entirely. ... that the stacks "socket buffer overflow" stat will increase I ... overflow in the ntpd itself. ...
      (comp.protocols.time.ntp)
    • Re: [RFC] 0/11 fanotify: fscking all notifiction and file access system (intended for antivirus scan
      ... deals with races and exclusion. ... notification file open have very minimal performance hit. ... Ok that is foul as an interface, ... can't use the socket based notification model - that gives you a much ...
      (Linux-Kernel)
    • Re: ntpd and network sockets
      ... it is unfortunate that both interface ... small" and then blythly ignore the socket entirely. ... that the stacks "socket buffer overflow" stat will increase I ... overflow in the ntpd itself. ...
      (comp.protocols.time.ntp)