Skip site navigation (1)Skip section navigation (2)
Date:      24 Apr 2003 12:18:03 -0700
From:      David Smithson <david@customfilmeffects.com>
To:        questions@freebsd.org
Subject:   help with ethernet load-balancing (em)
Message-ID:  <1051211883.21805.75.camel@blargh.customfilmeffects.com>

next in thread | raw e-mail | index | archive | help
Hi.

I have a mission-critical file-server with two on-board Intel Gig-copper
NICs, em0 and em1, configured as follows:

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<RXCSUM,TXCSUM>
        inet 192.168.0.97 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::230:48ff:fe27:7868%em0 prefixlen 64 scopeid 0x1
        ether 00:30:48:27:78:68
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=3<RXCSUM,TXCSUM>
        inet 192.168.0.98 netmask 0xffffffff broadcast 192.168.0.98
        inet6 fe80::230:48ff:fe27:7869%em1 prefixlen 64 scopeid 0x2
        ether 00:30:48:27:78:69
        media: Ethernet autoselect (1000baseTX <full-duplex>)
        status: active

I would like network load-balancing to happen on this server and would
appreciate your help in this matter.  So far, most network clients
attach to em0.  arp -a returns:

? (192.168.0.1) at 00:07:e9:0c:52:6d on em0 [ethernet]
? (192.168.0.4) at 00:07:e9:0a:22:6a on em0 [ethernet]
? (192.168.0.5) at 00:04:76:f5:88:9f on em0 [ethernet]
? (192.168.0.6) at 00:04:76:e6:15:62 on em0 [ethernet]
? (192.168.0.8) at 00:04:5a:59:65:1f on em0 [ethernet]
? (192.168.0.15) at 00:04:5a:59:54:e7 on em0 [ethernet]
? (192.168.0.16) at 00:04:5a:59:7a:dd on em0 [ethernet]
? (192.168.0.24) at 00:04:5a:59:64:f9 on em0 [ethernet]
? (192.168.0.25) at 00:04:5a:59:54:97 on em0 [ethernet]
? (192.168.0.26) at 00:d0:b7:9e:ad:d0 on em0 [ethernet]
? (192.168.0.32) at 00:01:02:83:de:f0 on em0 [ethernet]
? (192.168.0.33) at 00:40:f4:21:c2:d2 on em0 [ethernet]
? (192.168.0.97) at 00:30:48:27:78:68 on em0 permanent [ethernet]
? (192.168.0.98) at 00:30:48:27:78:69 on em1 permanent [ethernet]
? (192.168.0.247) at 00:e0:81:02:79:da on em0 [ethernet]
? (192.168.0.248) at 00:e0:81:02:89:90 on em0 [ethernet]
? (192.168.0.249) at 00:e0:81:02:87:b3 on em0 [ethernet]
? (192.168.0.250) at 00:e0:81:02:64:6f on em0 [ethernet]
? (192.168.0.251) at 00:e0:81:02:16:df on em0 [ethernet]
? (192.168.0.252) at 00:e0:81:02:16:e1 on em0 [ethernet]
? (192.168.0.253) at 00:d0:b7:b7:3b:3d on em0 [ethernet]
? (192.168.0.255) at ff:ff:ff:ff:ff:ff on em0 permanent [ethernet]

Sorry about the wrap, but as you can see, all clients are attached to
em0.  If I do arp -a at the NT shell prompt on the Win2k Pro clients, I
get:

192.168.0.97	00:30:48:27:78:68	dynamic

My internal DNS server has round-robin turned on and has entries for
both 192.168.0.97 and 192.168.0.98.  However, clients consistently
resolve name-to-IP 192.168.0.97.

What am I missing?  Can someone point me to some useful information
regarding load-balancing?  What is the mechanism here?

Thanks for your time.

--
David Smithson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1051211883.21805.75.camel>