alex_admin

Рейтинг
0
Регистрация
11.03.2013

надо делать через source routing. пример:

#eth0

ip route add default via $Pgw_eth0} table 101

ip rule add from ${ip_eth0} table 101

#eth1

ip route add default via ${gw_eth1} table 102

ip rule add from ${ip_eth1} table 102

или через конфиги:

cat /etc/sysconfig/network-scripts/rule-ethX

from ${ip_ethX} table 101

cat /etc/sysconfig/network-scripts/route-ethX

default via ${gw_ethX} table 101