Share

Linux Network Load Balancing

Code

Programming Languages: C

License: GNU General Public License (GPL)

Repositories

browse code, statistics svn co https://lnlb.svn.sourceforge.net/svnroot/lnlb lnlb

Show:

What's happening?

  • Followup: RE: Few questions

    Hello, regarding the VLAN the best option would be, in my opinion, to directly act on the switch (if it is managed) and separate the LAN trunks. The idea is to create a new LAN trunk and let the 2 server ports to be exclusively part of such trunk, and the port which the router is attached to, be *also* part of such trunk. In this way the flooding domain would be limited to the 2 servers and...

    2009-11-28 08:59:23 UTC by primiano

  • Few questions

    Hello Primiano. First of all I'd like to say thank you for such great module. We've been using it for a few days and now we have some questions :) 1. It is recommended to use VLAN to prevent the network from being flooded. What kind of VLAN should we use? Tagged or untagged? 2. Could you please give us some advise regarding the switch configuration? We have 2 servers that shares some...

    2009-11-25 17:23:03 UTC by xnetua

  • Followup: RE: Problem compiling

    I did. Here is the output from running that command: root@vm-ubuntu-1:/usr/src/linux# make defconfig && make prepare && make prepare scripts *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # scripts/kconfig/conf -s arch/x86/Kconfig CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm...

    2009-08-31 23:12:37 UTC by michaelhale

  • Followup: RE: Problem compiling

    It's absolutely strange, i checked the linux/netfilter_ipv4.h of 2.6.28-11 and it contains the NF_IP_PRE_ROUTING define. Did you run make defconfig && make prepare && make prepare scripts under /usr/src/linux* sources? Primiano Tucci.

    2009-08-31 08:01:39 UTC by primiano

  • Followup: RE: Problem compiling

    I think so. I found this in my .config file which I had copied over from /boot/config-2.6.28-11-server: CONFIG_NETFILTER=y I'm running a stock ubuntu 9.0.4 server. It looks like NF_IP_PRE_ROUTING is defined in include/linux/netfilter_ipv4.h, but I don't know why lnlb isn't finding it.

    2009-08-30 20:39:11 UTC by michaelhale

  • Followup: RE: Problem compiling

    Is Netfilter enabled in your kernel?.

    2009-08-30 07:09:47 UTC by primiano

  • Problem compiling

    I'm getting an error when compiling lnlb. Any ideas? make -C /usr/src/linux SUBDIRS=/usr/src/lnlb-0.1.3-beta modules make[1]: Entering directory `/usr/src/linux-2.6.28' CC [M] /usr/src/lnlb-0.1.3-beta/lnlb.o /usr/src/lnlb-0.1.3-beta/lnlb.c: In function ‘init_netfilter_hook’: /usr/src/lnlb-0.1.3-beta/lnlb.c:1955: error: ‘NF_IP_PRE_ROUTING’ undeclared (first use in this function)

    2009-08-29 21:54:40 UTC by michaelhale

Our Numbers