* Re: [LARTC] virtual interface
2004-01-04 20:17 [LARTC] virtual interface alen sarkinovic
@ 2004-01-04 20:36 ` Stef Coene
2004-01-04 20:40 ` Martin A. Brown
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Stef Coene @ 2004-01-04 20:36 UTC (permalink / raw)
To: lartc
On Monday 05 January 2004 05:55, alen sarkinovic wrote:
> can i add HTB rule on virtual interface\
> example: eth0:0
No.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [LARTC] virtual interface
2004-01-04 20:17 [LARTC] virtual interface alen sarkinovic
2004-01-04 20:36 ` Stef Coene
@ 2004-01-04 20:40 ` Martin A. Brown
2004-01-05 9:14 ` Aron Brand
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Martin A. Brown @ 2004-01-04 20:40 UTC (permalink / raw)
To: lartc
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/
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread* RE: [LARTC] virtual interface
2004-01-04 20:17 [LARTC] virtual interface alen sarkinovic
2004-01-04 20:36 ` Stef Coene
2004-01-04 20:40 ` Martin A. Brown
@ 2004-01-05 9:14 ` Aron Brand
2004-01-05 14:29 ` Roy
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Aron Brand @ 2004-01-05 9:14 UTC (permalink / raw)
To: lartc
>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".
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [LARTC] virtual interface
2004-01-04 20:17 [LARTC] virtual interface alen sarkinovic
` (2 preceding siblings ...)
2004-01-05 9:14 ` Aron Brand
@ 2004-01-05 14:29 ` Roy
2006-02-02 12:33 ` [LARTC] Virtual Interface Roger Singh
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Roy @ 2004-01-05 14:29 UTC (permalink / raw)
To: lartc
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 10+ messages in thread* [LARTC] Virtual Interface
2004-01-04 20:17 [LARTC] virtual interface alen sarkinovic
` (3 preceding siblings ...)
2004-01-05 14:29 ` Roy
@ 2006-02-02 12:33 ` Roger Singh
2006-02-02 18:08 ` Ryan Castellucci
2006-02-03 15:17 ` Roger Singh
6 siblings, 0 replies; 10+ messages in thread
From: Roger Singh @ 2006-02-02 12:33 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 331 bytes --]
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.
Thanks a lot.
R. Singh
[-- Attachment #1.2: Type: text/html, Size: 452 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 10+ messages in thread* [LARTC] Virtual Interface
2004-01-04 20:17 [LARTC] virtual interface alen sarkinovic
` (4 preceding siblings ...)
2006-02-02 12:33 ` [LARTC] Virtual Interface Roger Singh
@ 2006-02-02 18:08 ` Ryan Castellucci
2006-02-03 15:17 ` Roger Singh
6 siblings, 0 replies; 10+ messages in thread
From: Ryan Castellucci @ 2006-02-02 18:08 UTC (permalink / raw)
To: lartc
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.
On 2/2/06, Roger Singh <rogerindia@gmail.com> wrote:
> 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.
>
> Thanks a lot.
>
> R. Singh
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
>
--
Ryan Castellucci http://ryanc.org/
--
Ryan Castellucci http://ryanc.org/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [LARTC] Virtual Interface
2004-01-04 20:17 [LARTC] virtual interface alen sarkinovic
` (5 preceding siblings ...)
2006-02-02 18:08 ` Ryan Castellucci
@ 2006-02-03 15:17 ` Roger Singh
6 siblings, 0 replies; 10+ messages in thread
From: Roger Singh @ 2006-02-03 15:17 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 1579 bytes --]
Thanks 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
On 2/2/06, Ryan Castellucci <ryan.castellucci@gmail.com> wrote:
>
> 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.
>
> On 2/2/06, Roger Singh <rogerindia@gmail.com> wrote:
> > 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.
> >
> > Thanks a lot.
> >
> > R. Singh
> > _______________________________________________
> > LARTC mailing list
> > LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> >
> >
> >
>
>
> --
> Ryan Castellucci http://ryanc.org/
>
>
> --
> Ryan Castellucci http://ryanc.org/
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
[-- Attachment #1.2: Type: text/html, Size: 2357 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 10+ messages in thread