From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thad Marsh" Date: Tue, 10 Sep 2002 16:02:44 +0000 Subject: [LARTC] 4 nic advanced routing question MIME-Version: 1 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C258E3.801CD380" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C258E3.801CD380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have scoured the net, gotten a few pointers from several people and = looked at several books and still have not come up with a satisfactory = solution. =20 =20 I know someone has done it! =20 =20 Can some one point me to a reference for how to route two wan nics and = two internal nics on the same box. =20 =20 I have tried using ip add to setup two separate lookup tables and route = tables but to know avail. Any help greatly appreciated! =20 This is what I have=20 =20 66.92.114.46 66.92.114.46 = 209.141.2.194 | | xxxxxxxxxxxxxxxx RedHat 7.3 will run ShoreWall xxxxxxxxxxxxxxxx 192.168.119.101 192.168.120.101 | | = each network will have servers running here 192.168.119.100 192.168.119.100 = 192.168.120.100 xxxxxxxxxxxxxxxxx failover box xxxxxxxxxxxxxxxxx 192.168.121.101 internal mail server =20 ip ru 0: from all lookup local 32766: from all lookup main 32767: from all lookup 253 =20 =20 ip ro 66.92.114.32/28 dev eth0 scope link 209.141.2.192/27 dev eth1 scope link 192.168.119.0/24 dev eth2 scope link 192.168.120.0/24 dev eth3 scope link 127.0.0.0/8 dev lo scope link default via 66.92.114.33 dev eth0 =20 ------_=_NextPart_001_01C258E3.801CD380 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I = have scoured the net, gotten a few pointers from several people and looked at several books and still have not come up with a satisfactory = solution.  <= /p>

 <= /p>

I = know someone has done it!  = <= /p>

 <= /p>

Can some one point me to a reference for how to route two wan nics and two internal = nics on the same box.  = <= /p>

 <= /p>

I = have tried using ip add to setup two separate lookup tables and route tables but to = know avail. Any help greatly appreciated!<= /p>

 <= /p>

This is what I have

 <= /p>

66.92.114.46           = ;            =        66.92.114.46      = ;            =             209.141.2.194<= /p>

|        = ;            =    |<= /p>

xxxxxxxxxxxxxxxx<= /p>

RedHat 7.3 will run ShoreWall

xxxxxxxxxxxxxxxx<= /p>

192.168.119.101        = ; 192.168.120.101<= /p>

        = ;    |        = ;            =             &= nbsp;  |        = ;            =             &= nbsp;  each network will have servers running here<= /p>

192.168.119.100           = ;       192.168.119.100      = ;            192.168.120.100<= /p>

xxxxxxxxxxxxxxxxx<= /p>

failover box<= /p>

xxxxxxxxxxxxxxxxx<= /p>

192.168.121.101<= /p>

internal mail server

 

ip = ru

0:      from = all lookup local

32766:  from all lookup = main

32767:  from all lookup = 253

 

 

ip = ro<= /p>

66.92.114.32/28 dev eth0  scope = link<= /p>

209.141.2.192/27 dev eth1  scope = link<= /p>

192.168.119.0/24 dev eth2  scope = link<= /p>

192.168.120.0/24 dev eth3  scope = link<= /p>

127.0.0.0/8 dev lo  scope = link<= /p>

default via 66.92.114.33 dev eth0

 <= /p>

------_=_NextPart_001_01C258E3.801CD380-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/