[clug] multiple network ports on one machine

Brett Worth brett at worth.id.au
Wed Apr 1 09:15:56 GMT 2009


Adrian wrote:
> If I start 2 UDP servers
> will each be associated with the different Ethernet address (physical
> ports)? Is the solution to use different port numbers, i.e. bind IP
> address x.x.x.y:aaaa and bind x.x.x.z:bbbb.

Adrian,

Have you looked at the bonding driver in balance-alb mode?  This would allow you to run a
single UDP server on the computer bound to the bond interface's IP.  Take a look at:

/usr/src/linux/Documentation/networking/bonding.txt

I've used the bond interface a few times but only in mode 2 or balance-xor.  This just
happened to be the mode the Cisco switches were configured for.

Brett


More information about the linux mailing list