I have 2 ISP:

NET     eth0, eth0:0, eth0:1, eth0:2 - gateway 201.41.93.209
NET     eth1 with 1 IP address and gateway 200.41.183.21
eth2 DMZ 172.16.0.0/24


eth0:201.41.93.210     openvpn and others services IP
eth0:201.41.93.211     mailserver, smtp, pop, imap, etc
eth0:201.41.93.212     outgoing web and other traffic
eth0:201.41.93.213     webserver ip
eth1:200.41.183.22     is other webserver and failover outgoing web traffic



I would like to handle rt_tables from shorewall, but everything always
comes out the IP address of eth0:201.41.93.210



I specify in my RULES file the permision, but does not work, because I
believe that shorewall not driving routing tables...

ACCEPT                  dmz:172.16.0.253        all                     all
            -               -       200.51.93.213










2015-06-11 20:51 GMT-03:00 Tom Eastep <[email protected]>:

>  On 6/11/2015 2:12 PM, OddieX wrote:
>
> Guys a simple question...
>
> When I have multiple IP over one interface, which I put in the gateway
> part of providers file??
>
> #NAME           NUMBER  MARK    DUPLICATE       INTERFACE       GATEWAY
>       OPTIONS         COPY
> TELEF01                1       1          main
>  eth0:201.41.93.210      201.41.93.209   track,balance=1     eth3
> TELEF02                2       2          main
>  eth0:201.41.93.211      201.41.93.209   track,balance=0     eth3
> TELEF03                3       3          main
>  eth0:201.41.93.212      201.41.93.209   track,balance=0     eth3
> TELEF04                4       4          main
>  eth0:201.41.93.213      201.41.93.209   track,balance=0     eth3
> IPLAN01                 5       5          main            eth1
>                 200.41.183.22   track,balance=2     eth3
>
>
> Tonight will try to configure this again!
>
>   What exactly are you trying to do here? You don't need to use the
> providers file just because you have multiple IP addresses on your external
> interface. See
> http://www.shorewall.org/Shorewall_and_Aliased_Interfaces.html.
>
> -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 carhttp://shorewall.net 
> \________________________________________________
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to