If I have one LAN interface and 2 gateways. Can I have 2 IP addresses on the LAN interface and to do nat (masquerade) and load balancing.
If I have the following config will it work:
[admin@X] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.1.2/24 192.168.1.0 192.168.1.255 DSL
1 192.168.2.2/24 192.168.2.0 192.168.2.255 DSL
2 172.16.1.1/30 172.16.1.0 172.16.1.3 Inside
[admin@X] > ip firewall src-nat print
Flags: X - disabled, I - invalid, D - dynamic
0 src-address=10.0.0.0/8 out-interface=DSL action=masquerade
[admin@X] > ip route print
Flags: X - disabled, I - invalid, D - dynamic, J - rejected, C - connect, S - static, r - rip, o - ospf, b - bgp
# DST-ADDRESS G GATEWAY DISTANCE INTERFACE
0 S 0.0.0.0/0 r 192.168.1.1 1 DSL
---------------- r 192.168.2.1 DSL
1 S 10.0.0.0/8 r 172.16.1.2 1 Inside