CEF and per-packet load balancing

We have four OC3 links across the atlantic and I was looking for a solution which would allow load balacing across the four links on a per-packet basis (not session). The objective is both resiliency i.e. being able to handle link failures transparently & balancing the load across all the links. BGP multptah looked like the ideal soultion. However, I was told that the CEF packet based load balancing is no longer supported by CISCO. Is this correct ? Is it applicable for all models ? Are there any other potential solutions?
Appreciate a response from the experts.

Hello Rittick,
an MPLS pseudowire will use only one link of the 4 links based on inner MPLS label, it cannot be spread over multiple parallel links.
The MPLS pseudowire can travel within an MPLS TE LSP that can be protected by FRR.
per packet load balancing does not apply to your scenario.
You need to mark traffic of the critical application with an appropriate EXP settings. The EXP bits are copied to the outer (external) label.
On the OC-3 physical interfaces you will configure a CBWFQ scheduler providing 100 Mbps of bandwidth to traffic with specific EXP marking. This is elastic and over unused links bandwidth will be left available to other traffic.
On the LAN interface you need to mark the EXP bits in received packets using a policy-map
access-list 101 permit tcp host x.x.x.x host y,y,y,y
class CLASSIFY-BACKUP
match access-group 101
policy-map MARKER
class CLASSIFY-BACKUP
set mpls exp 3
class class-default
set mpls exp 0
int gex/y/z
service-policy in MARKER
class-map BACKUP
match mpls exp 3
policy-map SCHED-OC3
class BACKUP
bandwidth 100000
class class-default
fair-queue
int posx/y/z
service-policy out SCHED-OC3
applied on all pos interfaces.  The MPLS pseudowire will use one link only. Different pseudowires can use different OC-3 links. Load balancing of MPLS traffic is based on internal label (the VC label of the pseudowire)
Note:
you should check if it is possible to mark traffic received on the incoming interface of the pseudowire otherwise you need to mark IP precedence nearer to the host.
Hope to help
Giuseppe

Similar Messages

  • Per Packet load Balancing in Cisco Switches

    Hi Team,
    Can we enable per packet load balancing/sharing in cisco 3560 and 4948 Switches ? I can see two routes are installed in routing table for a destination prefix but for traffic to specific destination is not going across both the link. The option what i am getting  in command line is ip load-sharing per-destination but not  ip load-sharing per-packet.
    Please do let me know is there any option to do per-packet load balancing
    I have tried disabling route-cache, cef etc.. no result.
    Rgds
    Rama

    Hi Ramachandra,
    On both these platforms per packet load balancing is not surpported.  it is a feature mostly seen in routers.
    it can use the following variables for the load sharing hash  (but the per packet is never used)
    Source ip
    Dest ip
    Source tcp port
    Dest tcp port
    so you can configure flow based sharing based on above parameters on both the switches.
    The more random variables going into the hash equation the more likely of an even distribution across links.
    The src/dst ports in the equation gives us this randomization. If the same (static) variables go into the hash, the
    same link is chosen.
    Follow this link for more details:
    http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/25sg/configuration/guide/cef.html#wp1150531
    cheers,
    sandeep

  • How does CEF perform equal and unequal cost load balancing?

    hello
    How does CEF perform equal and unequal cost load balancing?
    thanks

    Hello Wang,
    it is only EIGRP that can perform load balancing over unequal cost links.
    For equal cost links CEF allocates 16 buckets and maps them to the the physical links.
    the result of a binary operation is used to associated a packet to an outgoing interface:
    Source IP address EXOR DEstination IP Address EXOR hash
    the hash is a seed that changes only at every reload.
    Actually the last 4 bits are used so that each flow can be classified in one bucket.
    then the outgoing interface is the one asscociated to the result of the exor operation.
    Another way to see is that m bits are used so that 2^m is equal to N number of links (if N is even)
    the rule is simple and pre-established
    Hope to help
    Giuseppe

  • Packet per packet load sharing

    hi, my question:
    i have two routers which are connected over two links (same type, same speed).
    now i want to change from per destination to per packet load-sharing.
    i know there is the command "ip load-shar per packet" but my question:
    must i use this command on all 4 interfaces (2 interfaces - two router),
    or must i only configure this on one interface per router ??
    thanks for answer !

    hi there. I have one doubt pertaining to per-packet load-sharing. In order to connect my two remote sites- A & B, Site A is having two WAN links and Site B is having two WAN links - one from ISP1 (30Mbps link) and the other from ISP2 (50Mbps link). I am doing static route load balancing using same AD values for both the ISPs. I have configured "ip load-sharing per-packet" on both the outgoing interfaces.
    The load is getting distributed equally across both the links but total bandwidth utilization across both the links is not going beyond 30Mbps. The combined bandwidth of both links is 80Mbps (50+30). However links are not getting fully utilized even though heavy load is there on the links. Can you please tell me how to make full use of both the wan links at both the ends?

  • Client side load balancing and server side load balancing

    Hello Team,
    I need to know how to set up client and server side load balancing in oracle rac.  What all things to be implemented like creating a service, tnsnames.ora settings etc.
    And also if i used SCAN ip instead of VIP. how the settings will change.
    Regards,

    Hi,
    please find here an Whitepaper with the information
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
    kind regards

  • Problem with WLIOTimeoutSecs in weblogic and apche  CSS load balancer

    Hi,
    We are using Weblogic 11g, apache 2.2 and CSS load balancer for load balancing.
    we have huge reports which take minutes to generate and hence we need higher value for WLIOTimeoutSecs. This works fine when we use server url but WLIOTimeoutSecs is not working when we use CSS load balancer.
    We checked with our load balancing team they said CSS load balancer will not repost the request.
    Here is the plugin configuration
    <Location /*****>
    SetHandler weblogic-handler
    PathTrim /
    WebLogicHost 'serevrip'
    WebLogicPort 'port'
    WLIOTimeoutSecs 3600
    Idempotent OFF
    WLProxySSL ON
    DefaultFileName /***/***/index.jsp
    Debug On
    WLLogFile /***/***/***/***.log
    </Location>
    Could some please help me on this.
    Thanks in advance
    Regards,
    Venkat

    Hi Tarun,
    The problem occurs when the SSL is enabled on apache. If I access the same URL over HTTP, the parameter WLIOTimeOut works fine.
    Also I observed that, none of the parameters are getting applied to the plugin. I had switched on 'DebugConfigInfo'. With this the HTTP URL with ?__WebLogicBridgeConfig as query parameter returned the complete configuration. However when accessed with HTTPS the server did not return the configuration.
    Is there a specific configuration to be applied when apache is used with SSL?
    Thanks for your help,
    Shashi

  • Questions on replication and h/w load balancer

              Why does h/w load balancer have to support passive cookies and inspect them to
              dispatch the request to the primary server first? If we have in-memory replication
              and if h/w loadbalancer just dispatches the http request from the client to any
              of the weblogic servers in the cluster wouldnt this work?
              Is it to pin the session to the creator server to minimize the chance of replication
              misses due to n/w issues, member server slow speed, buffer overwrite etc.
              -Shiraz
              

    Yes, and previous to 6.1 (?) if the request showed up at the wrong server it
              would fail.
              Peace,
              Cameron Purdy
              Tangosol Inc.
              Tangosol Coherence: Clustered Coherent Cache for J2EE
              Information at http://www.tangosol.com/
              "Shiraz Zaidi" <[email protected]> wrote in message
              news:3c15aa10$[email protected]..
              >
              > Why does h/w load balancer have to support passive cookies and inspect
              them to
              > dispatch the request to the primary server first? If we have in-memory
              replication
              > and if h/w loadbalancer just dispatches the http request from the client
              to any
              > of the weblogic servers in the cluster wouldnt this work?
              >
              > Is it to pin the session to the creator server to minimize the chance of
              replication
              > misses due to n/w issues, member server slow speed, buffer overwrite etc.
              >
              > -Shiraz
              

  • Deploy Forms and Reports with Load Balancing

    I am trying to determine what we need to install here. I have read OracleAS, Web Cache, Application Server, and
    Forms documents and have no answer still.
    We are currently run 9iAS with Forms and Reports 6i only.
    I did not do any of those installs. We are migrating to
    Forms and Reports 10g. I need to setup an OracleAS 10g
    Forms and Reports application server with the ability to
    do Load Balancing over 2 windows Web servers to handle
    4,000+ users. The application database will be on its own
    Windows server.
    Do I need to install the Infastructure, BI, and Web cache?
    Or just Oracle 10g Application Server option? Or other?
    Do I need to install it on both web servers and do
    something like clustering? Do I need to install Web
    cache? I just took the 10g AS class and basically did not learn anything about deploying Forms and Reports.
    Can anyone give me a place to find the things I need to
    install and setup?
    Thanks.
    Kim

    I am a DBA and have not done an iAS or AS installation
    before but am now required to learn it. We will be using
    SSL and no load balancing hardware. We setup for other
    customer sites and setting Windows servers in the past.
    We have not done load balancing before.
    I am just confused with all the 10gAS options there are to
    install to just run 10g Forms and Reports and setup
    OracleAS 10g with the load balancing features.
    So I just need to install OracleAS Forms and Reports
    Server if I am just installing Forms and Reports with SSL.
    But if for Load Balancing Oracle 10g I need to cluster
    just Reports 10g? I thought I would need OracleAS10g
    installed on my two Windows servers and somehow cluster
    or let the two know they are the same web page handling
    the incoming requests? I do know about Apache redirct. Is
    that an Apache feature and is it covered in an Oracle
    documentation? They did not cover it in class either.

  • JMS cluster and distributed destination load balancing question

              Hi All
              Scenario: 2 WL 7 servers in cluster with distributed queue in both of them and
              both the servers have an MDB deployed for the queue. Now if a producer in server
              #1 writes to the Queue - he will write to the local queue - right?
              In that case will the local MDB pick up the message or that can be load balanced?
              OR the write it self can be load balanced?
              I really want either the write or the read to be load balanced - but I suspect
              server affinity will play a mess here. Can anyone pls clarify.
              thanks
              Anamitra
              

              Hi All
              Scenario: 2 WL 7 servers in cluster with distributed queue in both of them and
              both the servers have an MDB deployed for the queue. Now if a producer in server
              #1 writes to the Queue - he will write to the local queue - right?
              In that case will the local MDB pick up the message or that can be load balanced?
              OR the write it self can be load balanced?
              I really want either the write or the read to be load balanced - but I suspect
              server affinity will play a mess here. Can anyone pls clarify.
              thanks
              Anamitra
              

  • CSS: BoxToBox and Global Server Load Balancing

    Hi,
    I'm going to setup a CSS based Global Load Balancing architecture in two different sites with 2xCSS11503 in each site.
    I need DNS Sticky but I'm not going to configure a Global Sticky Database since I would like to configure the two CSS in each site in Box To Box redunancy.
    Is it possible to configure on a CSS two app session, one for the Zone-based DNS with remote site and the other one for local Box-to-Box redund?
    Thank you
    Kind Regards
    Fulvio

    Hi Fulvio,
    Take a look at the NOTE on the below link
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20_v8.10/configuration/gslb/guide/DNS.html#wp1170057
    Box to box should be at part of the caveat
    Thanks
    Venky

  • Two 2911 routers and 3560 switches (load balancing and redundancy)

    Good day, Sir !
    I have a model with hierarchical model. Two routers 2911 and two core switches 3560, two providers.
    I want to design redundancy scheme. Can you advice me how is better to do it ? here you can find image with topology, can you say is it good idea to connect with devices in this way ?
    Hope on you help ! Thank you !!!

    Hi,
    If you want to configure redundancy in your network on LAN you can use HSRP and from the WAN side depending on the connection with the provider you can either use BGP or any IGP.
    If you want to have load balancing as well with redundancy you can define differnt  HSRP group for different  vlan and on the wan with BGP you can use multipath option or with IGP you can manipulate the route matric.
    Thanks & Regards
    Sandeep

  • F5 and Presentation Services Load balancing

    I like to utilize F5 for load balancing 2 presntation services on clustered BI servers on windows Platform
    If any one have set up F5 in a OBIEE clustered environment for load balancing presentation services , can you please share any links
    to articles regarding this setup or any other information that may help understanding the configuration details
    Thanks

    hi,
    try this blog http://bvellinger.blogspot.com/2008/01/obiee-10132-and-multiple-presentation.html
    Regards
    Naresh

  • JMS and MQ series load balancing.

    We have an interface that utilizes the JMS adapter and MQ series from websphere.  From a high level, i wanted to ask , when you have additional cluster instances of the adapter framework running.  How do the communication channels on these (say 2) instances know which one is to process the message. Or in the scenario, say one comm channel is already bottlenecked, how does the adapter engine know to forward the next JMS message to the other adapter.
    I would be most appreciative of any help in this regard. IE docs, website or tools to configure.
    Thanks
    Jeremy Baker

    Hi,
    Your JMS adapter is just like your standalone JMS (java) program that puts and retrieves ur messages from the Queues. So u don't need to create any local Queues and QManagers on XI Server. U need to configure the Parameters as mentioned in ur Sender Adapter( WebsphereMQ (MQSeries) and u will be successfully able to retrieve the messages from MQSeries.
    Make sure u have deployed the necessary jar's on ur XIServer to connect to WebsphereMQ.
    Cheers,
    Siva Maranani.

  • Jdbc urls and when does load balancing and failover work?

    I you use a jdbc url with OracleDriver not OracleDataSource because we use dbcp for our connection pooling. What can we expect by putting in two connection descriptors one for each host when an 11g RAC node goes away?
    I know all about ONS and FCF etc but when you are not using OracleDataSource and friends what benefit is there is having mulitple hosts in the jdbc url?
    What is that recognises the other host in the jdbc url when a RAC node goes away? Is that integral to OracleDataSource or anything outside of OracleDriver?
    right now we only have one HOST = in your jdbc url but I'm not sure how we would benefit by adding the second if we are not using OracleDataSource.

    Best I can suggest - step up and become the expert.
    You are dealing with RAC which most people do not have and do not use (based on postings I have seen) so you already have that advantage.
    The dbcp pool doesn't mean anything since it just acts as a wrapper around the Oracle driver.

  • MPLS Load Balancing/Sharing with TE or CEF or Both?

    So I am just playing around in GNS3 trying to set up multiple ECMP links between to P routers like this;
    CE1 -- PE1 -- P1 == P2 -- PE2 -- CE2
    (There are actually four links between P1 & P2!)
    I have set up a pseudoswire xconnect from PE1 to PE2 so CE1 & 2 can ping each other on the same local subnet range. That works just fine.
    My question is this:
    I have configured "ip load-sharing per-packet" on each of the four interfaces on P1 and P2 that are facing each other (I know per-packet balancing is frowned upon but lets not talk about that right now!) and this works, traffic is distributed across all links (I can see with packet captures in GNS3).
    Where does "ip load-sharing per-packet" fit in to the chain of events with regards to MPLS and CEF etc?; So, with MPLS enabled everywhere the two P routers are forwarding based on labels and not IP address. With MPLS enabled, does this command force the P routers to load-balance each MPLS frame as it comes in, round-robbin'ing the ingress frames across all links, the same as it would if it were a plain IP packet? So the command is ignorate of the kind of traffic being used? Or is the P router looking down into the MPLS frame for the IP in the IP packet?
    Also, in order to get the same sort of performance boost you get from per-packet load balancing, seeing as I am using MPLS here, should I be using some francy MPLE TE to do this instead of that interface sub-command?
    If I remove that command, I seem to always use link 2 for sending traffic towards P2 from P1, and link 3 for receiving the return traffic from P2 to P1. This is presumably because the ICMP packets have nothing to hash on except the source and destination IP addresses, so they always hash to the same physical links. Without using that command how else can I make use of the four links?

    Hello Jwbensley,
    first of all,
    "ip load-sharing per-packet" is not a viable option as it causes out  of order issues.
    Real world devices perform load balancing based on the second (more internal ) label value so to achieve some load balancing for example multiple pseudowires must be defined between the same pair of PE nodes.
    L3 VPN use different internal labels for different customer prefixes of the same VRF site ( unless some special command is used to say use one label per VRF site)
    >> f I remove that command, I seem to always use link 2 for sending traffic towards P2 from P1, and link 3 for receiving the return traffic from P2 to P1
    This is the expected behaviour in this scenario.
    With MPLS TE you can achieve results similar to the use of multiple pseudowires /LSPs : forms of load sharing not true load balancing. In all cases in MPLS world flow based and not per packet
    Hope to help
    Giuseppe

Maybe you are looking for

  • Re: BATTERY ISSUE

    Hi, i am new to forum so excuse me if I'm in the wrong place. My iPad 4 has done the new 7.1 update and the battery life is only half what it was. I see lots are saying the phones have the problem but not so many talking about iPads. Mine is so bad t

  • How di I prevent an automatic computer restart after exe install?

    How do I stop the msi installer from restarting the computer after installing an exe? I have built an installer package of an application using LabView Project.  When running the SetUp.exe the msi installer is automatically restarting the computer af

  • Not able to update

    The app store icon showed # indicating I had software to download. I checked and had 10.8.4, security, printer, airport, camera, iPhoto and iMovie to download. After multiple attempts and all failing on two different networks over a number of days, I

  • Choosing the location to save files

    Can somebody PLEASE tell me a way to get around apples friggin strangle hold over where i can save files in most programs (safari, office { i know i know, infecting my computer with the microsoft virus is stupid but i need it for UNI} and lots of oth

  • Missing linked photos

    Hi! I just completed a DVD and did a preview on the slideshow I added and everything was fine. Now when I play it in the DVD player the photo section doesn't work. In the computer you can start the slideshow, but the first and other slides have the b