Networking Forums

Networking Forums > Computer Networking > Linux Networking > Firewall, Bridge, QoS + routing in 2 interface

Reply
Thread Tools Display Modes

Firewall, Bridge, QoS + routing in 2 interface

 
 
Dako Oten
Guest
Posts: n/a

 
      11-11-2004, 05:53 PM
Hello friends,

I have this setup, and I'd like to implement bandwidth limiting
in my Linux firewall for my local LAN by either using a cbq or
htb QoS. Also, a few netfilter rules, a local DNS caching server
and a http proxy that filters accordingly, appropriate for any of
my kids

The ISP had already provided a router along with the DSL, so I
inserted my Linux firewall between the DSL-router and the switch.

This is my problem: What's the best setup for this? In terms of
the firewall's performance and easier to implement?

I've read a few about ebtables, but I feel much comfortable
with iptables(well documented), and googling about bandwidth
limiting/QoS on a bridge returned a few hits

A. do I need to use my Linux as a bridge, with an IP attached
to it?
br0 ip: 192.168.0.2 w/ default gw 192.168.0.1
all box behind the switch / default gw 192.168.0.1

B. or as a regular firewall with two interface?
eth0 ip: 192.168.0.2 w/ default gw 192.168.0.1
eth1 ip: 192.168.0.3 w/ default gw 192.168.0.2
all box behind the switch / default gw 192.168.0.3
Is this the right routing pattern for th 2 interfaces?


A. internet
xxx.xxx.xxx.xxx (static)
-----|------
|DSL router|
-----|------
192.168.0.1
|
|
eth0
----|----
LINUX | |
FILTER | br0 - 192.168.0.2
| |
----|----
eth1
|
|
----|-----
192.168.0.x --| switch |--192.168.0.x
----|-----
|
192.168.0.x

---------------------------------------------
B.
----|-----
| router |
----|-----
192.168.0.1
|
|
192.168.0.2
----|----
FILTER |eth0|
| |
|eth1|
----|----
192.168.0.3
|
|
----|-----
192.168.0.x --| switch |--192.168.0.x
----|-----
|
192.168.0.x



Thank you for your time,
and God Bless,

--
- Dako

 
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
Firewall with more than one External interface Mauroreggio@gmail.com Linux Networking 2 06-14-2008 01:14 PM
IP Tables, SNAT, and routing: selecting the outgoing interface galionlibrary@gmail.com Linux Networking 0 03-30-2007 08:58 PM
I have 4 NIC cards on Linux PC, can I assign Ip address to bridge interface? GS Linux Networking 2 02-11-2007 09:57 PM
I not find the NAT/Basic Firewall under Routing\IP Routing mtczx232@yahoo.com Windows Networking 2 12-16-2006 04:08 PM
How to do L2 switching/bridging + routing on same interface. P Mattsson Linux Networking 0 07-14-2005 10:53 AM



1 2 3 4 5 6 7 8 9 10 11