Thread: [mpls-linux-general] QoS with mpls for linux
Status: Beta
Brought to you by:
jleu
|
From: <gui...@ya...> - 2006-01-26 03:37:12
|
Hello,
I´d like to know if anyone have an example or document
that explains how to use QoS with MPLS.
I saw some commands about diffservice in the mpls
help, but it´s difficult to start only with help
information.
Output of mpls help:
----
INSTR := NH | PUSH | pop | deliver | peek | FWD |
set-dscp <DSCP> | set-exp <EXP> |
set-tcindex <TCINDEX> | set-rx-if <NAME>
forward <KEY> | expfwd <EXP> <KEY> ... |
exp2tc <EXP> <TCINDEX> ... | exp2ds <EXP>
<DSCP> ... |
nffwd <MASK> [ <NFMARK> <KEY> ... ] |
nf2exp <MASK> [ <NFMARK> <EXP> ... ] |
tc2exp <MASK> [ <TCINDEX> <EXP> ... ] |
ds2exp <MASK> [ <DSCP> <EXP> ... ] |
dsfwd <MASK> [ <DSCP> <KEY> ... ]
----
Thanks a lot.
_______________________________________________________
Yahoo! doce lar. Faça do Yahoo! sua homepage.
http://br.yahoo.com/homepageset.html
|
|
From: James R. L. <jl...@mi...> - 2006-01-26 03:59:56
|
Yeah the documentation on the QoS instructions is lacking.
I'd be willing to post a document at:
http://sourceforge.net/docman/?group_id=3D15443
That used the same format as the others and showed how to use these
instructions.
My general response when someone asks howto do QoS with MPLS Linux is to
tell them "the same way you do it with standard IPv4 on linux". Which is
true, there are only minor modifications to make it work with MPLS Linux.
So post the commands that you would use to accomplish your QoS scheme
doing it with just IPv4 and I'll help you convert them to MPLS Linux.
On Thu, Jan 26, 2006 at 03:36:10AM +0000, guilhermemtorresbase-lista@yahoo.=
com.br wrote:
> Hello,
>=20
> I?d like to know if anyone have an example or document
> that explains how to use QoS with MPLS.
>=20
> I saw some commands about diffservice in the mpls
> help, but it?s difficult to start only with help
> information.
>=20
> Output of mpls help:
> ----
> INSTR :=3D NH | PUSH | pop | deliver | peek | FWD |
> set-dscp <DSCP> | set-exp <EXP> |
> set-tcindex <TCINDEX> | set-rx-if <NAME>
> forward <KEY> | expfwd <EXP> <KEY> ... |
> exp2tc <EXP> <TCINDEX> ... | exp2ds <EXP>
> <DSCP> ... |
> nffwd <MASK> [ <NFMARK> <KEY> ... ] |
> nf2exp <MASK> [ <NFMARK> <EXP> ... ] |
> tc2exp <MASK> [ <TCINDEX> <EXP> ... ] |
> ds2exp <MASK> [ <DSCP> <EXP> ... ] |
> dsfwd <MASK> [ <DSCP> <KEY> ... ]
> ----
>=20
> Thanks a lot.
>=20
>=20
>=20
> =09
>=20
>=20
>=20
> =09
> =09
> _______________________________________________________=20
> Yahoo! doce lar. Fa?a do Yahoo! sua homepage.=20
> http://br.yahoo.com/homepageset.html=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--=20
James R. Leu
jl...@mi...
|
|
From: <gui...@ya...> - 2006-03-05 22:01:21
|
Hello,
I'm testing a mpls network at new machines but I have
problems with TCP communications between them.
I'm using the 1.946 version of MPLS in FC2 with kernel
2.6.9 compiled to don't generate debug. The machines
are Intel XEON with 82546EB Gigabit Ethernet
Controllers.
I didn't connect IP HOSTS at LER's yet. My network is
configured like the drawing below:
1000 -> 2000 ->
[LER A] -------- LSR ------- [LER B]
.0.1 .0.2 .1.1 .1.2
<- 1100 <- 2100
-----
LER A
-----
ifconfig eth0 10.0.0.1 netmask 255.255.255.0 broadcast
10.0.0.255
mpls nhlfe add key 0
mpls nhlfe change key 0x2 instructions push gen 1000
nexthop eth0 ipv4 10.0.0.2
ip route add 10.0.1.2/32 via 10.0.0.2 spec_nh 0x8847
0x2
mpls labelspace add dev eth0 labelspace 0
mpls ilm add label gen 1100 labelspace 0
-----
LSR
-----
ifconfig eth0 10.0.0.2 netmask 255.255.255.0 broadcast
10.0.0.255
ifconfig eth1 10.0.1.1 netmask 255.255.255.0 broadcast
10.0.1.255
mpls nhlfe add key 0
mpls nhlfe change key 0x2 instructions push gen 2000
nexthop eth1 ipv4 10.0.1.2
mpls nhlfe add key 0
mpls nhlfe change key 0x3 instructions push gen 1100
nexthop eth0 ipv4 10.0.0.1
mpls labelspace add dev eth0 labelspace 0
mpls ilm add label gen 1000 labelspace 0
mpls labelspace add dev eth1 labelspace 0
mpls ilm add label gen 2100 labelspace 0
mpls xc add ilm_label gen 1000 ilm_labelspace 0
nhlfe_key 0x00000002
mpls xc add ilm_label gen 2100 ilm_labelspace 0
nhlfe_key 0x00000003
-----
LER B
-----
ifconfig eth0 10.0.1.2 netmask 255.255.255.0 broadcast
10.0.1.255
mpls nhlfe add key 0
mpls nhlfe change key 0x2 instructions push gen 2100
nexthop eth0 ipv4 10.0.1.1
ip route add 10.0.0.1/32 via 10.0.1.1 spec_nh 0x8847
0x2
mpls labelspace add dev eth0 labelspace 0
mpls ilm add label gen 2000 labelspace 0
====================================================
The ping and ssh connections between LER1 and LER2 are
ok. I have problems when I try do transfer big files
by scp. The transfer starts for a little and get
stalled.
When I try to measure the traffic with Iperf (server
in LER B and client in LER A) I get the message below:
MPLS: packet exceeded MTU 2944 > 1500 (1496)
Am I doing something wrong?
Best Regards
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com
|