Re: [LARTC] Htb on trunked line

2003-10-06 Thread Ryan Goldberg
On Mon, 2003-10-06 at 01:14, Kristiadi Himawan wrote:
> So you already succeed on bridging per vlan,
> could you tell me how to make such kind of configuration

I'll see if I can remember to grab the config from work today.  But
there shouldn't be much do it.  For instance our linux box sits between
a router and a 2924.  We trunk on port 24, and bridge 23 vlans across
into ports 1 - 23.  The linux box has eth0 and eth1, and interfaces
eth0.1, eth1.1 through eth0.23, eth1.23 are configured (vlans), and then
we create 23 bridges br1 through br23 and apply shaping to eth0.x and
eth1.x.

Ryan

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Htb on trunked line

2003-10-01 Thread Ryan Goldberg
On Wed, 2003-10-01 at 15:39, Kristiadi Himawan wrote:
> About your first option to plug the linux box to the switch and create vlan
> interfaces on it, i have try that before and the result some network can't
> reach because of arp uncomplete.

Are A and C on different IP networks?  With routes to each other via the
IPs on the subinterfaces on the linux box and they can arp for those
IPs, I don't see where the arp issue would come from.

> And the second option to put linux box between router and switch is the
> better choice but i face new problem on it.
> I already create transparent bridge (using eth0 and eth1) on the linux box
> and it's work.
> But the problem occur when i try to shape the link using HTB or CBQ, the
> filter always miss.
> I will try your suggestion to bridge every vlan interfaces in the linux box.
> I hope this is the solution.

Yeah we do this it works fine.  That is, with a bridge per VLAN.  If you
want to share bandwidth amond the interfaces though, you need to set up
IMQ, which I have not done.

> > On Wed, 2003-10-01 at 13:41, Kristiadi Himawan wrote:
> > > Dear All,
> > >
> > > I have configuration like this :
> > >
> > > DVB Modem
> > > || ___Link A
> > > \   / trunk/
> > > CiscoRouter CiscoSwitch---Link B
> > >  \___Link C
> >
> > Ryan Goldberg wrote:
> > Plug the linux box into the switch, set the link to dot1q, add
> > subinterfaces on the linux box, set As and Cs routes to each other via
> > the IPs on those subinterfaces, and do the shaping on those
> > subinterfaces.  Should work no problem.
> >
> > Or are you trying to put the linux box in between the switch and
> > router?  Then you'd have to talk dot1q to both devices and bridge each
> > corresponding valn to each othter (e.g eth0.3 bridged with eth1.3) and
> > do the shaping on those interfaces.  That should also work.


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] sending paket from non primary ip

2003-09-12 Thread Ryan Goldberg

Sending packets from secondary IP:

ip route add  via  src 

check with:

ip route get 


Ryan

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/