virtual interface
can i add HTB rule on virtual interface\
example: eth0:0
alens
----- Original Message -----
From: "Stef Coene" <[email protected]>
To: "jayesh rathod" <[email protected]>; <[email protected]>
Sent: Sunday, January 04, 2004 10:41 AM
Subject: Re: [LARTC] HTB filters - pls help me
Quoted 6 lines · jayesh rathod
Quoted 5 lines
Hi,
we r using HTB algorithm,for traffic shaping, we are facing a problem.
we are able to create multiple classes,filters. But when we delete 1
filter
Quoted 16 lines
Quoted 3 lines
all filter gets deleted. how do we avoid that.
waiting for you reply
What I do, is creating a script that delets the root qdisc and re-add everything. Deleting the root qdisc delets all classes and filters. So I never delete a filter.
Anyway, can you post your commands ?Stef
--
[email protected]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
Quoted 5 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 2 lines · alen sarkinovic
can i add HTB rule on virtual interface\
example: eth0:0
No.
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Alen,
: can i add HTB rule on virtual interface?
: example: eth0:0
First, it's not really a virtual interface--it's just a convention from the old days of IP aliasing to have names like eth0:0. The IP exists and is active on an interface, eth0 in your case.
The short answer is "no". Traffic control occurs just prior to the release of the packet for transmission by the hardware driver. See the KPTD [0].
You can however select packets based on many characteristics, so you may be able to accomplish what you need. You'll use characteristics other than the label "eth0:0".
-Martin
[0] http://www.docum.org/stef.coene/qos/kptd/
Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 6 lines
Alen,
: can i add HTB rule on virtual interface?
: example: eth0:0First, it's not really a virtual interface--it's just a convention from
the old days of IP aliasing to have names like eth0:0.
Quoted 2 lines
The IP exists and is active on an interface, eth0 in your case. The short answer is "no". Traffic control occurs just prior to the
release of the packet for transmission by the hardware driver. See the KPTD [0].
Quoted 2 lines
You can however select packets based on many characteristics, so you
may be able to accomplish what you need. You'll use characteristics other than the
Quoted 1 line
label "eth0:0".
Hi guys,
I have this problem too. I have two Internet routers connected to the same Ethernet interface (using a hub). And each one obviously needs to be shaped seperately. It seems like a very common and logical scenario and this issue seems like a design problem.
Any Ideas on a workaround? Perhaps IMQ can be used somehow (although I hear it has serious stability problems...)?
Aron
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
There is no need to use imq ant everything is easy to do anyway interface name is usefull only to attach qdisc to something and that all you need to clasify packets by source or destination ip antway
if you have idea how to use imq there then just use your interface instead. also why it is so obvious that they must be shaped separately, ususly it is much better to shape everything in one einterface
Hi guys,
I have this problem too. I have two Internet routers connected to the same Ethernet interface (using a hub). And each one obviously needs to be shaped seperately. It seems like a very common and logical scenario and this issue seems like a design problem.
Any Ideas on a workaround? Perhaps IMQ can be used somehow (although I hear it has serious stability problems...)?
Aron
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] Virtual Interface
In reply to alen sarkinovicHi Guys,
I want to create multiple virtual interfaces on a system running linux 2.6. The main requirment being, to assign unique MAC address fo each of the virtual interfaces.
I need to know, if this is possible and will really appriciate if someone can provide me pointer in this direction.
Thanks a lot.
R. Singh
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[LARTC] Virtual Interface
In reply to alen sarkinovicYou can do this with vlans, but this may not be a suitable solution, as if you want to make them work normaly, you will need to tie this to a vlan capable switch. I don't belive that alias interfaces support setting seperate mac addresses, however, you might want to look at ebtables, it has some mac address rewriting functionality which may meet your needs.
Quoted 9 lines · Roger Singh
Hi Guys,
I want to create multiple virtual interfaces on a system running linux 2.6. The main requirment being, to assign unique MAC address fo each of the virtual interfaces.
I need to know, if this is possible and will really appriciate if someone can provide me pointer in this direction.
Quoted 10 lines
Thanks a lot.
R. Singh
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
--
Ryan Castellucci http://ryanc.org/
--
Ryan Castellucci http://ryanc.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Re: [LARTC] Virtual Interface
In reply to alen sarkinovicThanks Ryan.
VLAN will not for for me, I will check ebtables.
BTW, I was thinking more on lines of MAC-VLAN. I could not find much information about it. I will really appriciate if someone can provide me some direction one this.
Thanks
R
Quoted 36 lines · Ryan Castellucci
You can do this with vlans, but this may not be a suitable solution, as if you want to make them work normaly, you will need to tie this to a vlan capable switch. I don't belive that alias interfaces support setting seperate mac addresses, however, you might want to look at ebtables, it has some mac address rewriting functionality which may meet your needs.
Quoted 3 lines · Roger Singh
Hi Guys,
I want to create multiple virtual interfaces on a system running linux
2.6.
Quoted 4 lines
The main requirment being, to assign unique MAC address fo each of the virtual interfaces.
I need to know, if this is possible and will really appriciate if
someone
Quoted 12 lines
can provide me pointer in this direction.
Thanks a lot.
R. Singh
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc--
Ryan Castellucci http://ryanc.org/
Quoted 7 lines
--
Ryan Castellucci http://ryanc.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc