Date: Wed, 9 Jun 1999 21:20:33 -0400 From: "Adam Breaux" <adam@idomains.net> To: <freebsd-questions@FreeBSD.ORG> Subject: Firewall With 2 Gateways Message-ID: <000f01beb2df$7027cbe0$1e01a8c0@altronics.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_000C_01BEB2BD.E8E0C400 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I need to setup a machine with the ability to switch between 2 different = gateways automatically. The system would need 3 nics ( I assume ). LAN Interface:=20 ip: 192.168.1.1=20 nm: 255.255.255.0 Cable Interface:=20 ip: 24.x.x.x=20 nm: 255.255.255.0 gw: 24.x.x.254 Frame Interface: ip: 205.x.x.x nm: 255.255.255.224 gw: 205.x.x.161 Some sort of script that pings a remote host...cable provider's router = maybe... When it loses connect, change default gateway to frame. When cable comes back up, change default gateway to cable. Any ideas on this? I have a pretty good idea of what is needed but a = good how-to is=20 certainly in order. Thanks in advance. Adam Breaux ------=_NextPart_000_000C_01BEB2BD.E8E0C400 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I need to setup a machine with the = ability to=20 switch between 2 different gateways automatically.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>The system would need 3 nics ( I assume = ).</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>LAN Interface: </FONT></DIV> <DIV><FONT face=3DArial size=3D2> ip: 192.168.1.1 = </FONT></DIV> <DIV><FONT face=3DArial size=3D2> nm: = 255.255.255.0</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Cable Interface: </FONT></DIV> <DIV><FONT face=3DArial size=3D2> ip: 24.x.x.x = </FONT></DIV> <DIV><FONT face=3DArial size=3D2> nm: = 255.255.255.0</FONT></DIV> <DIV><FONT face=3DArial size=3D2> gw: = 24.x.x.254</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Frame Interface:</FONT></DIV> <DIV><FONT face=3DArial size=3D2> ip: = 205.x.x.x</FONT></DIV> <DIV><FONT face=3DArial size=3D2> nm: = 255.255.255.224</FONT></DIV> <DIV><FONT face=3DArial size=3D2> gw: = 205.x.x.161</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Some sort of script that pings a = remote=20 host...cable provider's router maybe...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>When it loses connect, change = </FONT><FONT=20 face=3DArial size=3D2>default gateway to frame.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>When cable comes back up, change = default gateway to=20 cable.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Any ideas on this? I have a pretty good = idea of=20 what is needed but a good how-to is </FONT></DIV> <DIV><FONT face=3DArial size=3D2>certainly in order. Thanks in = advance.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Adam Breaux</FONT></DIV></BODY></HTML> ------=_NextPart_000_000C_01BEB2BD.E8E0C400-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01beb2df$7027cbe0$1e01a8c0>