Networking Forums

Networking Forums > Computer Networking > Linux Networking > 2 NICs, same subnet for a 'gateway' that won't block traffic from 'outside' NIC

Reply
Thread Tools Display Modes

2 NICs, same subnet for a 'gateway' that won't block traffic from 'outside' NIC

 
 
freat
Guest
Posts: n/a

 
      02-26-2004, 10:06 PM
Here's my problem,

I need to implement QoS for our servers so that the office can handle
video conferencing (currently video conferencing locks up when
replications start, etc). QoS will work wonderfully for this, but the
issue is that we've invested in hardware firewalls / VPN and these
need to handle the external connection. If I simply put in a linux
router behind the VPN appliance, then I'm preventing VPN access to all
the machines on the network behind the linux router.

One option I was thinking, is if the linux box could have 2 NICs and
function as a gateway then I could point everyone at the gateway to
get out, and it would then talk to the VPN appliance. Let's try a
diagram:

Internet
|
|
-----
|VPN|
-----
|
--------
PC------|SWITCH|-------PC
--------
||
---------
|LINUX |
|QoS |
---------

Another thought... can the router be configured to let traffic through
to the other side? Would strange routes have to be set up for people
coming in from the VPN, or just on the VPN box? This would be ideal as
anything coming in would have to go through the QoS box, so the
outgoing traffic would then be shaped.

Something like this:

Internet
|
|
-----
|VPN|
-----
|
---------
|LINUX |
|QoS |
---------
|
--------
PC------|SWITCH|-------PC
--------


I hope these diagrams help. I hope I don't get too many responses like
"MAKE YOUR FIREWALL LINUX!!" and the like... it simply is not an
option.

TIA! -Ron
 
Reply With Quote
 
 
 
 
Cameron Kerr
Guest
Posts: n/a

 
      02-28-2004, 01:23 AM
freat <(E-Mail Removed)> wrote:

> Something like this:
>
> Internet
> |
> |
> -----
> |VPN|
> -----
> |
> ---------
> |LINUX |
> |QoS |
> ---------
> |
> --------
> PC------|SWITCH|-------PC
> --------


This would be the best way. I think you would also need to do some
traffic shaping on the Linux-QoS box, because (as the Advanced Routing
and Traffic Control HOWTO tells us), we need to "own" the queue (be the
slowest link, so we're the one shaping the traffic.

What would your Linux box be doing exactly?

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
freat
Guest
Posts: n/a

 
      02-28-2004, 03:23 PM
The purpose of this gateway is to use QoS for traffic shaping. We've
started installing video conferencing equipment at all our sites and
these packets need to be given high priority so that email, server
replication, etc don't chop up the connection.

I'm thinking that I would basically be making a bi-directional
gateway. It's just that most of the configurations I've seen have been
firewalls, and I'm not sure where to look to build a linux based
gateway that essentially connects two subnets. Once that is done, I
could install QoS for traffic shaping for the outside facing NIC.
Would I be able to configure Shorewall
(http://shorewall.sourceforge.net/) to do this, or would I be over
complicating things?
 
Reply With Quote
 
freat
Guest
Posts: n/a

 
      02-28-2004, 07:23 PM
After doing some more research, it seems that I should be able to set
up this gateway between the two subnets using IPAliasing. Does that
make sense? Am I heading down the right path?

TIA!
 
Reply With Quote
 
freat
Guest
Posts: n/a

 
      03-01-2004, 01:43 PM
After digging and digging... I think I've found the solution. I need
to make a Linux network bridge. A bridge has no ip and simply passes
traffic through. This is beautiful as it does not change the topology
of our network and therefore doesn't require changing routes on PCs
etc.

Here are some links for those interested:

Linux Advanced Routing & Traffic Control
http://lartc.org/

http://www.docum.org/

Dante - Traffic control and QoS with Linux
http://www.compsci.lyon.edu/mcritch/dante/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
two nics on same subnet vj Linux Networking 1 01-19-2007 04:03 PM
Traffic block by server Nuno Gomex Windows Networking 9 10-03-2006 12:43 AM
how to block incoming traffic Adia Linux Networking 5 09-01-2006 09:10 PM
Multiple NICS on same subnet andrew.bell.ia@gmail.com Linux Networking 4 03-15-2006 06:59 PM
advertise a subnet block Jason Sigurdur Network Routers 2 08-09-2005 10:30 PM



1 2 3 4 5 6 7 8 9 10 11