Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1 nic, 2 ip's, 2 firewalls, the internet.....possible?

Status
Not open for further replies.

erwinee

Programmer
May 5, 2002
2
PH
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?
 
Cisco has a setup using eg 2 Cisco 7206 using a hot-standby-protocol and if one router fails the other will tage over.
This will handle the situation when the router goes offline.

If what you want is to protect yourself from the situation where you loose the internet connection you can do something else.
Get a Cisco 7206 with a lot of ram (256MB or 512MB)and use BGP4 on the router. BGP4 will handle the routing when one line goes down.
This is the best way to handle more then one connection to the internet.

But this will cost a lot so if the network you wrote about is your privat network it will cost too much.

/johnny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top