On 5/23/2015 10:23 AM, PGNd wrote:
> I'm setting up a multiISP server
>
> SW configs includes
>
>       /params
>               BORDER_EXT0_IF=eth0
>               BORDER_EXT1_IF=eth1
>               BORDER_EXT2_IF=eth2
>               BORDER_EXT3_IF=eth3
>               BORDER_INT_IF=eth4
>               ...
>
>       /interfaces
>               ?FORMAT 2
>               #ZONE     INTERFACE     OPTIONS
>               net       EXT0_IF       optional,physical=$BORDER_EXT0_IF,...
>               net1      EXT1_IF       optional,physical=$BORDER_EXT1_IF,...
>               net2      EXT2_IF       optional,physical=$BORDER_EXT2_IF,...
>               net3      EXT3_IF       optional,physical=$BORDER_EXT3_IF,...
>               -         INT_IF        physical=$BORDER_INT_IF,...
>
>       /providers
>               ISP00    1        0x100    main        EXT0_IF     detect       
>   track,balance        INT_IF
>               ISP01    2        0x200    main        EXT1_IF     detect       
>   track,balance        INT_IF
>               ISP02    3        0x300    main        EXT2_IF     detect       
>   track,balance        INT_IF
>               ISP03    4        0x400    main        EXT3_IF     detect       
>   track,balance        INT_IF
>
> Am I correct that the Gateway addresses for each of the three providers will
>
> (1) be populated due to the presence of the 'detect'
> (2) be assigned to vars named
>
>       $SW_<INFC>_GATEWAY
>
> where <INTFC> is the *uppercased* name of the actual physical interface?
>
> I.e., in this ^^ case,
>
>       provider ISP00's GW == $SW_ETH0_GATEWAY
>       provider ISP01's GW == $SW_ETH1_GATEWAY
>       provider ISP02's GW == $SW_ETH2_GATEWAY
>       provider ISP03's GW == $SW_ETH3_GATEWAY
>
> ?
>
> To my read, it appears to be the case, but I've not yet managed to 
> definitively convince myself of the naming convention from docs or code.
Yes -- for simple interface names composed only of letters and numbers,
that is the case.

-Tom

-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to