BW using CBQ/tc for VPN Ipsec i/f?
Hi all,
I want to allocate bandwidth for ipsec interface using CBQ/tc. Suppose the conf. file is like this,
DEVICE=ipsec0,10Mbit,1Mbit
RATE8Kbit
WEIGHTKbit
PRIO=5
RULE2.128.1.0/24
Does it work
or
What else options need to be taken care like ipsec packets/protocol/port # etc.?
C'd anybody suggest please?
regds,
Srikanth.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
How about, if i shall use tc / iproute2 ?
Thanks for the quickest response.
Srikanth.
Quoted 43 lines · hare ram
if you are using the cbq.init script yes it works
hare
----- Original Message -----
From: "Srikanth" <[email protected]>
To: <[email protected]>
Sent: Monday, April 07, 2003 2:45 PM
Subject: [LARTC] BW using CBQ/tc for VPN Ipsec i/f?Quoted 26 lines
Hi all,
I want to allocate bandwidth for ipsec interface using CBQ/tc. Suppose the conf. file is like this,
DEVICE=ipsec0,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.128.1.0/24Does it work
or
What else options need to be taken care like ipsec packets/protocol/port # etc.? C'd anybody suggest please?regds,
Srikanth._______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 1 line · Srikanth
How about, if i shall use tc / iproute2 ?
cbq.init uses tc But it makes configuring tc more easy because you can use simple config files.
Stef
Quoted 39 lines
Srikanth.
Quoted 4 lines · hare ram
if you are using the cbq.init script yes it works
hare
----- Original Message -----From: "Srikanth" <[email protected]>
Quoted 28 lines
To: <[email protected]>
Sent: Monday, April 07, 2003 2:45 PM
Subject: [LARTC] BW using CBQ/tc for VPN Ipsec i/f?Quoted 24 lines
Hi all,
I want to allocate bandwidth for ipsec interface using CBQ/tc. Suppose the conf. file is like this,
DEVICE=ipsec0,10Mbit,1Mbit
RATE8Kbit
WEIGHTKbit
PRIO=5
RULE2.128.1.0/24Does it work
or
What else options need to be taken care like ipsec packets/protocol/port # etc.?
C'd anybody suggest please?regds,
Srikanth._______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 11 lines · Stef Coene
Quoted 3 lines · Srikanth
How about, if i shall use tc / iproute2 ?
cbq.init uses tc But it makes configuring tc more easy because you can use simple config files.
Stef
It's OK., my question was about, if i use tc, shall i need to pass ipsec protocol / port number as arguments? i mean, Is there any mechanism to recognize ipsec packets / VPN tunnels.
Srikanth.
Quoted 52 lines
Quoted 49 lines
Srikanth.
Quoted 6 lines · hare ram
if you are using the cbq.init script yes it works
hare
----- Original Message -----From: "Srikanth" <[email protected]>
Quoted 32 lines
To: <[email protected]>
Sent: Monday, April 07, 2003 2:45 PM
Subject: [LARTC] BW using CBQ/tc for VPN Ipsec i/f?Quoted 26 lines
Hi all,
I want to allocate bandwidth for ipsec interface using CBQ/tc. Suppose the conf. file is like this,
DEVICE=ipsec0,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.128.1.0/24Does it work
or
What else options need to be taken care like ipsec packets/protocol/port # etc.?
C'd anybody suggest please?regds,
Srikanth._______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · Srikanth
It's OK., my question was about, if i use tc, shall i need to pass ipsec protocol / port number as arguments?
i mean, Is there any mechanism to recognize ipsec packets / VPN tunnels.
Once the IPsec tunnel is set up, you can recognize tunneled traffic
easily: (in tunnel mode) source and destination IP addresses will be that of the two endpoints, and IP packets will have a "protocol" field with values "decimal 50" (esp) or "decimal 51" (ah).
While the tunnel is being stablished, and if using IKE, both endpoints exchange packets with their own IP, UDP transport protocol, and both source and destination ports set to "decimal 500".
At least that is what I recall, check FreeS/WAN website (www.freeswan.org) for complete information on traffic generated by an IPsec tunnel.
Hope it helps.
Signature · 5 lines
Jose Luis Domingo Lopez Linux Registered User #189436 Debian Linux Sid (Linux 2.4.20-xfsip) _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/