Re: multihomed hosts and UDP source address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can use a random interface number from 50000 to 65535, or setsockopt
with SO_REUSEADDR, or share the sock interface with other thread.

2007/11/20, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>:
> Jeremy Jackson <jerj@xxxxxxxxxxxx> wrote:
> >
> > Is there a solution that lets a single socket "not-bind" to certain
> > interfaces?
>
> By binding it to a specific interface?
>
> Cheers,
> --
> Visit Openswan at http://www.openswan.org/
> Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Best Regards,

Libing Liu
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux