Skip to contentSkip to conversation

Three ethernet cards?

LARTC Jaco van der Schyff 3 participants 5 messages May 21, 2001 – May 22, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I have a slight problem, is it possible to shape bandwidth over more than one interface.

I have a linux box with eth0 going to a cisco router, I want to shape bandwith to eth1 and eth2 eth1 goes to the lan, and eth2 to a DMZ.

How can I accomplish this, so that I can shape the same bandwith to the DMZ and the lan? (their bandwith should be shared) ?

                            /eth1 (to local LAN)
                           /
                          /
                         /
          |-------------|
eth0      |             |
-----------             |
to        |             |
internet  |-------------| 
                        \
                         \
                          \
                           \ eth2 (to DMZ)

btw. Thanks for all the help on my previous posts

- Jaco van der Schyff
[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw
Quoted 2 lines · Jaco van der Schyff

I have a slight problem, is it possible to shape bandwidth over more than one interface.

Yes.

Quoted 9 lines

I have a linux box with eth0 going to a cisco router, I want to shape bandwith to eth1 and eth2 eth1 goes to the lan, and eth2 to a DMZ.

How can I accomplish this, so that I can shape the same bandwith to the DMZ and the lan? (their bandwith should be shared) ?

Quoted 14 lines
                            /eth1 (to local LAN)
                           /
                          /
                         /
          |-------------|
eth0      |             |
-----------             |
to        |             |
internet  |-------------|
                        \
                         \
                          \
                           \ eth2 (to DMZ)

Just create seperate classes and queueing disciplines for each interface. And please read the example in the HOWTO, and try to ask more specific questions.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#2 lore raw
In reply to Jaco van der Schyff

Ya !! sure it is possible to shape bandwidth on more than one interface. For e.g. in CBQ whenever u shape bandwidth i.e. when we apply the rules we also specify to what interface these rules are applied . So for each interface u have , u specify the bandwidth policy to be applied.

Deepak

----- Original Message -----
From: "Jaco van der Schyff" <[email protected]>
To: <[email protected]>
Sent: Monday, May 21, 2001 6:52 PM
Subject: [LARTC] Three ethernet cards?

Quoted 33 lines

Hi,

I have a slight problem, is it possible to shape bandwidth over more than one interface.

I have a linux box with eth0 going to a cisco router, I want to shape bandwith to eth1 and eth2 eth1 goes to the lan, and eth2 to a DMZ.

How can I accomplish this, so that I can shape the same bandwith to the DMZ and the lan? (their bandwith should be shared) ?

                            /eth1 (to local LAN)
                           /
                          /
                         /
          |-------------|
eth0      |             |
-----------             |
to        |             |
internet  |-------------|
                        \
                         \
                          \
                           \ eth2 (to DMZ)
Quoted 8 lines

btw. Thanks for all the help on my previous posts

- Jaco van der Schyff
[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:

http://ds9a.nl/2.4Routing/

Quoted 1 line

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#3 lore raw
In reply to Jaco van der Schyff

----- Original Message -----
From: "Vladimir Smelhaus" <[email protected]>
To: "Deepak singhal" <[email protected]>
Sent: Tuesday, May 22, 2001 10:58 AM
Subject: Re: [LARTC] Three ethernet cards?

Quoted 9 lines

Dne 22 May 2001, v 10:18, Deepak singhal napsal(a):

Quoted 5 lines

Ya !! sure it is possible to shape bandwidth on more than one interface. For e.g. in CBQ whenever u shape bandwidth i.e. when we apply the rules we also specify to what interface these rules are applied . So for each interface u have , u specify the bandwidth policy to be applied.

And what about to borrow bandwidth between three cards ?

As per my knowledge borrowing bandwidth between cards is not possible as a seperate Hierarchy would exist for each interface. Within a hierarchy borrowing/sharing bandwidth between classes is possible.

Deepak

Quoted 5 lines

Zdravim/Regards

Vladimir Smelhaus

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#4 lore raw
In reply to Jaco van der Schyff
Quoted 4 lines

As per my knowledge borrowing bandwidth between cards is not possible as a seperate Hierarchy would exist for each interface. Within a hierarchy borrowing/sharing bandwidth between classes is possible.

iow, It is not possible, to shape the incoming bandwith out to two networks on sperate NICs?

- Jaco

Quoted 15 lines · Deepak singhal

----- Original Message -----
From: "Vladimir Smelhaus" <[email protected]>
To: "Deepak singhal" <[email protected]>
Sent: Tuesday, May 22, 2001 10:58 AM
Subject: Re: [LARTC] Three ethernet cards?

Quoted 8 lines

Dne 22 May 2001, v 10:18, Deepak singhal napsal(a):

Quoted 5 lines

Ya !! sure it is possible to shape bandwidth on more than one interface. For e.g. in CBQ whenever u shape bandwidth i.e. when we apply the rules we also specify to what interface these rules are applied . So for each interface u have , u specify the bandwidth policy to be applied.

Quoted 13 lines
Quoted 1 line

And what about to borrow bandwidth between three cards ?

As per my knowledge borrowing bandwidth between cards is not possible as a seperate Hierarchy would exist for each interface. Within a hierarchy borrowing/sharing bandwidth between classes is possible.

Deepak

Quoted 5 lines

Zdravim/Regards

Vladimir Smelhaus

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/