Hello, as the subject suggests it’s about something like that: I have 2 ISP, for now both getting into the same CentOS 6.4 server in eth0 (ISP1) ip 22.214.171.124 gateway 126.96.36.199 netmask 255.255.255.192 and in eth2 (ISP2) ip 188.8.131.52 gateway 184.108.40.206 netmask 255.255.255.192. By default only one default route works so had to do something about it.
Now, before going Cloudmin PRO, I added in network-scripts 2 files for each eth: route-eth0, rule-eth0, route-eth2, rule-eth2, and created in rt_tables two tables named ISP1 and ISP2. Worked fine.
The files were containing something like:
220.127.116.11/24 dev eth0 src 18.104.22.168 table ISP1
default via 22.214.171.124 dev eth0 table ISP1
from 126.96.36.199/32 table ISP1
to 188.8.131.52/32 table ISP1
Everything was allright until I installed Cloudmin and created a br0 interface, bridged to eth2, and running a KVM machine with IP 184.108.40.206. So how can I achieve the same setup with bridges involved? I mean each ISP using it’s own gateway, both active so I can login and use the other if the main goes down (ISP1 it’s the default for Virtualmin domains), and still using the bridge for VMs with ISP2 (default for Cloudmin’s VMs)? Getting to ping 220.127.116.11, 18.104.22.168 and 22.214.171.124 would be a nice start
Adding a BR0 table and file with the same recipe did not work even if I deleted the ISP2 table and files… Never encountered a situation like this and the Google searches throw garbage at me