04-27-2007 05:16 AM
Hello,
I have a Cisco CSS11501 Content Switch.
I am attempting to Load Balance SIP traffic, (the CSS support SIP according to data sheet)
The idea being that the content switches ammend the IP headers BUT ALSO look deep into the packet and also ammend the SIP headers (to match)
** SIP LOAD BALANCING **
TO keep things simple.
I am using Bridging Mode,
vip: 111.222.333.230
real Server 1: 111.222.333.231
real Server 2: 111.222.333.232
I use the following config :
!************************** CIRCUIT **************************
circuit VLAN1
ip address 111.222.333.237 255.255.255.240
!************************** SERVICE **************************
service Ser1
ip address 111.222.333.231
port 5060
protocol udp
active
sservice Ser2
ip address 111.222.333.232
port 5060
protocol udp
active
!*************************** OWNER ***************************
owner callserve
content LOADBAL
vip address 111.222.333.230
port 5060
protocol udp
add service OpenSer1
add service OpenSer2
application sip
advanced-balance sip-call-id
active
I see traffic flowing through the CSS and hitting the servers.
However, when I look at a ethereal trace on Server1, I see that the CSS has changed the IP headers as expected.
(great stuff .... we have Layer3 Load Balancing)
HOWEVER, when I look at the SIP stuff, withing the SIP REGISTER packet, the CSS has NOT changed (or masked) the IP information.
I would expect the CSS to look into the packet and change SIP IP address to the "real" address (aswell)
The Content Switches are "supposed" to be SIP aware ... ?
Is this the case ? uhhmm ...
Any help would be massively appreciated.
thanks for reading ..
Cheers
matt
04-27-2007 03:49 PM
Dear Matt,
The CSS would look the information of the SIP header for balancing purposes, but it would not do any type of rewrite. Thanks!
Regards,
Jose Quesada.
05-16-2007 06:58 AM
Jose,
Many Thanks for the reply.
Uhhmm, I understand that the CSS will not "re-write" the SIP Headers or content. However, surelly this causes problems ?
For example, I am using CSS Routed Mode. SIP proxies sit on PRIVATE IPs behind the CSS....When subsequent signalling (such as the ACK to a 200OK) is sent from SIP Clients (SIP-UAs) to the VIRTUAL IP address (VIP), the content switch re-writes the IP header and forwards to the approcpriate SIP-SERVER......
However, the SIP SERVER looks at the ROUTE_HEADER in the packet to find the OUTSIDE/PUBLIC VIP address and NOT the Local IP ... and sais "this is not for me" ... and forwards it back to the CSS.
Therefore, LOOP !
I would expect a "SIP aware" device to rewrite this IP. I am awfully confused.
Any suggestions ?
Thank you for reading.
Cheers
Matt
05-16-2007 08:38 PM
Dear Matt,
I think you are missing a group on your configuration, which it should look like this:
group LOADBAL
vip address 111.222.333.230
add destination service OpenSer1
add destiantion service OpenSer2
active
Try it and let me know how it goes. Thanks!
Regards,
Jose.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide