[CentOS] Centos7 and Vlan

Tue Jun 16 14:07:34 UTC 2020
John Pierce <jhn.pierce at gmail.com>

Did you setup outbound NAT for both vlans via iptables?

Policy routing to multiple wan interfaces is a bit tricky,.  It's been
years since I did it, what I remember was using ip rules to categorize and
tag the traffic, then alternate named ip route tables to direct the
different tags at different gateways.

On Tue, Jun 16, 2020, 1:57 AM Alfredo De Luca <alfredo.deluca at gmail.com>
wrote:

> Hi all.
> I wonder if you can help me here.
>
> I have centos7 with 1 network interface and on that IFwe have 2 vlan.
> From both vlan we'd like to reach the internet independently so basically
> with 2 different gateways.
>
> we tried with all the routes,rules etc but only on one vlan we are able to
> ping 8.8.8.8 for instance.
>
> Any suggestions/ideas?
> Cheers
>
>
> --
> */Alfredo*
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>