Re: Networks and wireless etc



In wireless , routing done by STA before connection() happen during
autentication/autorization process through ZeroConfigure or similar custom
service , OTOH IIRC that not work for wired too , for multihomed computer
bind not helped me and routing of data went due to metric and not bind.
For long period I'm not played with multihomed computers ( from
http://www.codeguru.com/network/pfwredun.shtml ) but that what happened ,
obviously IIRC ( I became older :( )
Arkady

"Eugene Gershnik" <gershnik@xxxxxxxxxxx> wrote in message
news:ezVDMu6eFHA.1044@xxxxxxxxxxxxxxxxxxxxxxx
> Arkady Frenkel wrote:
>> What Alun mean is if you have 2 IPs going to the same network ( your
>> example have different :) ) the one with less metric route for NIC
>> with be chosen Arkady
>
> If you don't bind, sure. But that's, in my understanding, not what the OP
> wanted. Actually re-reading the original post I start to doubt that I
> understand what OP wanted. In any case my point is if you explicitly
> bind() before connect the traffic should go out from the interface you
> have bound the socket to. If there is no route to destination the
> connect() should fail. I have no suitable machine to verify this right now
> but I would be very surprised if this wasn't the case.
>
>
> --
> Eugene
> http://www.gershnik.com
>
>
>
>


.



Relevant Pages

  • Re: Networks and wireless etc
    ... When bind() assigns an interface that contradicts the routing table the ... "For a sending host, if the source address is specified by the sending ...
    (microsoft.public.win32.programmer.networks)
  • Re: Networks and wireless etc
    ... >>> bind() to a sepcific local address before connecting. ... >> Changing the information in the routing table will do that. ... >> while that IP network interface is associated with a NIC, ... > that I can bind to 127.0.0.1 and have packets delivered to me that arrived ...
    (microsoft.public.win32.programmer.networks)
  • Re: Solaris 7 installation is sending 127.0.0.0/8 addresses on the ethernet network...
    ... > wrong with the routing on the system itself, but as you can see from ... > the ethereal dump the Sun system emits traffic with the source IP of ... Option 1 - via bind() ... Option 2 - via raw net access. ...
    (Focus-SUN)
  • Re: WSAEINVAL error connecting to remote host from multihomed syst
    ... Or use metrics to set less metric to preferable interface, because bind() ... only set source IP not interface ... Arkady ...
    (microsoft.public.win32.programmer.networks)
  • Re: Load distribution among NICs( which driver mode to follow)
    ... Arkady ... > because as I wrote the routing done on protocol layer and you do that one ... yes that what Network Load Balancing NDIS IM driver do (obviously ...
    (microsoft.public.win32.programmer.kernel)