Well, if you only use the post-up and post-down for inserting routes, then
you don't need to figure out through this manual process.
In the ZenLB web GUI you've the option in the network interfaces section a
field to configure a GW for each network interface device. I guess that
this feature is valid for your case.
Regards.
On Thu, Aug 22, 2013 at 5:29 AM, Tim Chipman <
[email protected]> wrote:
> Hi, I have a hopefully easy question.
>
> I would like to setup a Zen LB with somewhat atypical config, due to
> config constraints of the hosting provider where the Zen LB (VM) will be
> running.
>
> I need something approx thus:
>
> ---paste---
> /etc/network/interfaces should be thus:
>
> auto lo eth0
> iface lo inet loopback
> iface eth0 inet static
> address 192.XX.XX.168
> netmask 255.255.255.255
> broadcast 192.XX.XX.168
> post-up route add 198.XX.XX.254 dev eth0
> post-up route add default gw 198.XX.XX.254
> post-down route del 198.XX.XX.254 dev eth0
> post-down route del default gw 198.XX.XX.254
> ----endpaste---
>
> (note XX is not 'the exact same pair of numbers' in all cases above;
> rather they are just .. numbers .. but you get the idea.
>
> ZLB appears to have by default, an interfaces file thus:
>
> root@zlb1:/etc/network# more interfaces
>
> #zenmodified
> auto lo
> iface lo inet loopback
>
> and I can see this is something edited via web GUI for the ZLB; and that
> there is some config stored in /usr/local/zenloadbalancer/config/ --
> but I am not keen to manually edit things in there.
>
> So - wasn't sure the best way in particular to get the post-up and
> post-down commands to happen on ZLB.
>
> Other than - just manually editing the interfaces file - which may in
> fact just work fine - but I figure it is prudent to as 'just in case'.
>
>
> Thanks for your help with this,
>
>
> Tim Chipman
>
> --
> Tim Chipman -- Fortech I.T. Solutions
> [email protected]
> (902) 442-6633
> http://FortechITSolutions.ca
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Zenloadbalancer-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support