id like to know if its possible, here's a backgrounder.
ip gateway firewall
a) 192.168.22.2 192.168.22.20 fw1
b) 192.168.22.50 192.168.22.10 fw2
-my pc has 1 nic but 2 ip's bound to it.
-both ip's are connected to the internet via its
respective firewall (NAT) and
-FW1 can only accept from x.x.x.2 and FW2 can only
accept from x.x.x.50.
-the routing table is below:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.22.10 192.168.22.2 10
0.0.0.0 0.0.0.0 192.168.22.20 192.168.22.2 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.22.0 255.255.255.0 192.168.22.2 192.168.22.2 1
192.168.22.2 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.22.50 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.22.255 255.255.255.255 192.168.22.2 192.168.22.2 1
224.0.0.0 224.0.0.0 192.168.22.2 192.168.22.2 1
255.255.255.255 255.255.255.255 192.168.22.2 192.168.22.2 1
* what id like to do is to make both internet
connections active. something like :
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.22.10 192.168.22.50 2
0.0.0.0 0.0.0.0 192.168.22.20 192.168.22.2 1
so that when one the default connection is interrupted,
it can take the other connection.
how do i use the route command to do this?
ip gateway firewall
a) 192.168.22.2 192.168.22.20 fw1
b) 192.168.22.50 192.168.22.10 fw2
-my pc has 1 nic but 2 ip's bound to it.
-both ip's are connected to the internet via its
respective firewall (NAT) and
-FW1 can only accept from x.x.x.2 and FW2 can only
accept from x.x.x.50.
-the routing table is below:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.22.10 192.168.22.2 10
0.0.0.0 0.0.0.0 192.168.22.20 192.168.22.2 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.22.0 255.255.255.0 192.168.22.2 192.168.22.2 1
192.168.22.2 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.22.50 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.22.255 255.255.255.255 192.168.22.2 192.168.22.2 1
224.0.0.0 224.0.0.0 192.168.22.2 192.168.22.2 1
255.255.255.255 255.255.255.255 192.168.22.2 192.168.22.2 1
* what id like to do is to make both internet
connections active. something like :
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.22.10 192.168.22.50 2
0.0.0.0 0.0.0.0 192.168.22.20 192.168.22.2 1
so that when one the default connection is interrupted,
it can take the other connection.
how do i use the route command to do this?