Skip to contentSkip to conversation

Sharing bandwith between multiple interfaces

LARTC Kristof Verniers 2 participants 2 messages Apr 26, 2001 – Apr 27, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

Although this topic seems to have been discussed before on this list, I would like to raise it again as I couldn't find a solution to the problem on this list.

We have the following setup:

1MBit
Internet --------- Cisco --------- eth0 Linux eth1 --------- Subnet 1

			                      eth2 --------- Subnet 2
				              eth3 --------- Subnet 3
                                              eth4 --------- Subnet 4

The Linux (2.4.3 kernel) uses iptables for firewalling. On top of the firewalling, we would like to use the Linux to divide the bandwidth (1MBit) amongst the four subnets.

Limiting the downstream bandwith (from the viewpoint of an Internet user connecting to one of the subnets) can be easily done on eth0.

The difficult part is to limit the total bandwidth on the interfaces eth1 -> eth4 to 1MBit and still allow these four interfaces to borrow bandwidth from each other. Maybe it's not difficult but I'm just missing something.

Can anyone offer some advice?

thanks in advance,
Kristof Verniers

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

#1 lore raw

Dne 26 Apr 2001, v 22:58, Kristof Verniers napsal(a):

Quoted 4 lines

The difficult part is to limit the total bandwidth on the interfaces eth1 -> eth4 to 1MBit and still allow these four interfaces to borrow bandwidth from each other. Maybe it's not difficult but I'm just missing something.

I need the same. But after looking around internet I think that the best solution is to add one computer before the linux router and to limit/borrow bandwidth there.

Zdravim/Regards

Vladimir Smelhaus

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