Hi - I have a router with two interfaces, each one to a different carrier. At the router, my default gateway is to carrier #1. Well, the router is connected directly to a Linux firewall box and I need, depending on the source information of a packet, to route the packet to carrier #2. I think that I can use the 'ip rule' and 'ip route' commands. As the firewall default gateway is the router box, I think that I could set the 'nexthop' parameter at the 'ip route' command to do the correct output interface routing when the packet arrives the router, using a command like this: ip route add default via *router-ip* nexthop via *router-device-2-ip* But I get the following error: *RTNETLINK answers: Invalid argument* What this could be? Thanks, Eduardo mailto:sombrabr@ig.com.br - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html