Special route for specified destination
Posted: Thu Sep 13, 2007 11:58 pm
Hi,
there is a MT box with 2 uplink interfaces to different ISPs. And subnets with users using pppoe connetctions.
2 gateways, policy routing, some traffic goes thru one gateway some thru other.
I'm trying to make one internet site (host) *always* go thru specified gateway (ISP) only.
Added this
to ip > route
But tracert show that traffic to xx.xx.xx.xx still goes thru first gateway, not yy.yy.yy.yy
Any ideas?
there is a MT box with 2 uplink interfaces to different ISPs. And subnets with users using pppoe connetctions.
2 gateways, policy routing, some traffic goes thru one gateway some thru other.
I'm trying to make one internet site (host) *always* go thru specified gateway (ISP) only.
Added this
Code: Select all
add dst-address=xx.xx.xx.xx/32 prefsrc=0.0.0.0 gateway=yy.yy.yy.yy scope=255 target-scope=10 comment="Special route for site xx.xx.xx.xx" disabled=no
But tracert show that traffic to xx.xx.xx.xx still goes thru first gateway, not yy.yy.yy.yy
Any ideas?