[CentOS] routing with 2 public ips

Sun Dec 27 20:49:06 UTC 2015
Gordon Messmer <gordon.messmer at gmail.com>

On 12/26/2015 08:16 PM, Eliezer Croitoru wrote:
> you could use some iptables rules to mark a connection for example by 
> the source MAC address per new connections which would be a specific 
> router and by that mark the connection, then in the routing level 
> decide which default gateway to use for this specific connection. 

While that's true, you still have to select the default route using "ip 
rule".  And since you can do that using the source address for outgoing 
packets, there's no reason to mark them.  It's completely redundant.