On Fri, 25 Jan 2002, tong wrote:
> Hi.
> What if we want the machine to be both the director and
> the real server ( for tunnelling case ) ? Do we still need
> the other patch to fix the arp problem?
>
You can apply Julian's standalone hidden patch
(http://linuxvirtualserver.org/~julian/hidden-2.4.5-1.diff) and ipvs patch
to the kernel together. It should work.
Or (a little bit complicated), after applying ipvs patch and
routes-hidden-forward_shared-noarp-2.4.16-2.diff, you can change the
function calls of ip_route_output in the ipvs code, for example in
linux/include/net/ip_vs.h
linux/net/ipv4/ipvs/ip_vs_conn.c
add one more parameter 0. It should work too.
Regards,
Wensong
> Thanks.
>
> Tong
>
> On Thursday 24 January 2002 04:37 pm, Wensong Zhang wrote:
> > Hello,
> >
> > On the director, you don't need to apply
> > routes-hidden-forward_shared-noarp-2.4.16-2.diff
> > It changes the ip_route_output slightly. So, if you simply apply the two
> > patches together, it will lead to the compiling problem.
> >
> > Regards,
> >
> > Wensong
> >
> > On Thu, 24 Jan 2002, Michael Cunningham wrote:
> > > Folks,
> > >
> > > I am having a problem compiling lvs kernel patch on kernel 2.4.17
> > > (on a redhat 7.2 system). This is a clean kernel downloaded from
> > > www.kernel.org today. Its not redhat's version.
> > >
> > > It has been patched with the following patches..
> > >
> > > linux-2.4.17-ipvs-0.9.9.patch
> > > routes-hidden-forward_shared-noarp-2.4.16-2.diff
> > >
> > > All the patches applied cleanly.. no problems.
> > > Compiling the kernel works great but building the modules
> > > fails. I followed the howto when choosing what kernel options
> > > to pick while doing the config.
> > >
> > > Any ideas?
> > >
> > > Thanks for any help you can offer..
> > > Mike
> > > ---------------------------------------------------------
> > > make[1]: Entering directory `/usr/src/linux/net'
> > > make -C ipv4 modules
> > > make[2]: Entering directory `/usr/src/linux/net/ipv4'
> > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> > > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> > >
> > > -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS
> > > -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c
> > >
> > > ipip.c
> > > make[2]: Leaving directory `/usr/src/linux/net/ipv4'
> > > make -C ipv4/ipvs modules
> > > make[2]: Entering directory `/usr/src/linux/net/ipv4/ipvs'
> > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> > > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> > >
> > > -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS
> > > -include /usr/src/linux/include/linux/modversions.h -c -o ip_vs_conn.o
> > >
> > > ip_vs_conn.c
> > > In file included from ip_vs_conn.c:46:
> > > /usr/src/linux/include/net/ip_vs.h: In function `__ip_vs_get_out_rt':
> > > /usr/src/linux/include/net/ip_vs.h:879: too few arguments to function
> > > `ip_route_output'
> > > /usr/src/linux/include/net/ip_vs.h:893: too few arguments to function
> > > `ip_route_output'
> > > ip_vs_conn.c: In function `ip_vs_bypass_xmit':
> > > ip_vs_conn.c:604: too few arguments to function `ip_route_output'
> > > make[2]: *** [ip_vs_conn.o] Error 1
> > > make[2]: Leaving directory `/usr/src/linux/net/ipv4/ipvs'
> > > make[1]: *** [_modsubdir_ipv4/ipvs] Error 2
> > > make[1]: Leaving directory `/usr/src/linux/net'
> > > make: *** [_mod_net] Error 2
> > >
> > >
> > > _______________________________________________
> > > LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> > > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > > or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> >
> > _______________________________________________
> > LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
|