Haha, I've been asked that before... :)
If it's not evident from the config I posted, then I have no idea. I've seen some references to these modes but haven't been able to see concrete config differences.
Main Topics
Browse All TopicsI have an existing network setup and need to implement this load balancer, but this thing is very complex with many modes of operation and features found on switches, routers and firewalls.
After several days of reading through documentation and examples and numerous trials, I've been unable to accomplish this.
My current setup is simple, seen in attached net1.pdf
I need to implement load balancing of two servers in VLAN2 (.21 and .22) and two servers in VLAN3 (.31 and .32)
I've been told that I have to use the one-arm design, but was trying to avoid that since Cisco warns against it due to a significant performance hit:
http://www.cisco.com/en/US
I wired it as seen in the attached net2.pdf file.
My current config below in the Code section.
All servers need to be accessible individually (internally and externally) as well as through the VIPs (externally only). This is already a production environment, so I couldn't do much troubleshooting while services were down when I wired this thing up, but what I found was that interestingly enough, without using any VIP addresses, only existing IPs of the servers, I was able to connect to servers in VLAN3 from outside, but not from servers on VLAN2. At the same time, however, I was able to ping servers on VLAN3 from servers on VLAN2. Servers on VLAN2 have 172.16.2.1 as their gateway and servers on VLAN3 have 172.16.3.1 as theirs.
My intention is to have the CSS balance two servers on each subnet for connections from outside, but do not interfere with any traffic between the internal subnets since the firewall is already set up for that, including ACLs, etc.
Any help appreciated,
Peter.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Well, that does confuse things. You are in routed mode, so the outside interface of the CSS is in vlan 2 and the inside is vlan3? But you have both interfaces connected to the FW, traffic must flow outside to in, internet sourced traffic hits the outside of the CSS, performs NAT, then your service configs specify inside addressing for the physical servers to balance.
The switch in your diagram is the CSS?
looks like to me your outside interface of the CSS must be in the same broadcast domain as the inside interface of the ASA. Then you configure the inside interface of the CSS, there should not be an interface connected to the FW for this, I assume you have dedicated vlans for the servers that are being load balalnced?
You want to force all traffic through the CSS so it can NAT and balance, your setup is confusing, I would not do it that way. I realize you are asking fro help but this really entails a redesign of the entire site.
Did this help?
harbor235 ;}
You are in routed mode, and you have your inside and outside interfaces addressed into the same network. The CSS will never forward the traffic to the servers because the VIP and the physical servers are on the same network as the outside interface. You need to address the physical servers differently, I would use some 10. x.x.x address. The CSS will proxy arp for the VIP, but the translation tells the CSS that the physical server is on the same network as the incoming interface. The CSS cannot do same wire load balancing nor will it forward packets to a different interface if the destination network is the same as the incoming interface, you see?
harbor235 ;}
Yes, I understand what you mean. I had to get at least one subnet running asap, so I am now in "bridged" mode with only the default VLAN1 and one circuit. This was much easier and quicker than re-addressing the network, including ACL on the firewall, static mappings, etc. It is working correctly in this mode.
Question here would be if it's possible to process two different subnets in bridged mode? I ask this because the CSS will take two IP subnets into one circuit, such as:
circuit VLAN1
ip address 172.16.2.3 255.255.255.0
ip address 172.16.3.3 255.255.255.0
This is strange because no other device I've seen before that uses the term VLAN properly would allow this, such as an L2 switch for example. I'm curious why the CSS allows this in the config?
In bridge mode you are manipulating spanning tree to force layer 2 traffic through the CSS for load balancing and NAT. The circuit addressess I beleive are only for connectivity to the CSS, in bridge mode the traffic is forwarded based upon the Layer 2 information only. So, I am sure thats why you are allowed to add additional addresses, it like adding a secondary.
Brdige mode works very well and is more scalable than routed mode, good choice.
harbor235 ;}
If your in bridge mode then you have "bridge state enable" (default) for an interface configured. You can also issue the "show bridging status" command or the "show bridge" command. You should be ID'd as the root bridge, CSS uses MAC address 01-00-0c-cc-cc-cd.
You still need to assign IP addresses to active circuits, which are logical interfaces and are used to connect directly to the CSS.
The difference is that in routed mode you are routing statically or dynamically to get the traffic to pass through the CSS. Bridge mode you are participating in spanning tree, there is also a L2 design piece consideration that enables the traffic to flow through the CSS, without it traffic can flow around the CSS.
harbor235 ;}
I am not sure why you view the answer as cryptic, which part are you having trouble with?
I gave ways to verify if you are in bridge mode
I stated that regardless of mode you still need to assign IP addresses to circuits
I stated the routed mode can use static or dynamic protocols to route traffic between interfaces
I stated that bridge mode requires spannning tree design consideration to get L2 traffic to flow
through the CSS
I gave you the MAC address that the CSS uses to verify if it is root bridge if in bridge mode
Did you run the commands I gave you and look at the output?
The piece of hardware you are trying to configure requires advanced networking knowledge, I am not sure how I can make it simplier. What part am I being unclear on?
harbor235 ;}
I know this is thing is very complex, I said that in my first post. I've never been stumped so much by any networking device before. That's why I'm here :)
The part I thought was unclear/vague was "L2 design piece consideration". Not exactly informative, I thought. But you're right, I don't know enough about layer 2 and STP.
However, when I'm answering a specific question for someone about IP routing for example, I won't just say that they have L3 design considerations to look at to make it work. Unless I'm trying to get a consulting deal out of it :)
The question about how to tell what mode you're in was posted by someone else. However, there is no command "show bridging status" or "show bridge", perhaps I have a newer OS version than you're used to, not sure. There is only "show bridge status", output below. The MAC is also much different than your example, but does seem to belong to the CSS. I couldn't find how to view the MAC of each interface, but "show chassis" does return a "base" MAC address that is just one digit lower than the Root.
Also, in the L2 switch that the CSS and servers connect to:
CST Root MAC Address : 001794-5eb705
CST Root Priority : 32768
CST Root Path Cost : 200000
CST Root Port : 2
So it does seem that the other switch is treating the CSS as the Root. (Btw, why is the CSS using two extra octets for its L2 addresses?)
This is all working just fine. Where I run into trouble is when I try to implement another subnet into the mix. I lose connectivity as soon as I enter an IP address from another subnet into the VLAN1 circuit. That's why I asked if that's even possible and I couldn't make out from your answer if it is or not.
Thanks for all your assistance thus far...
-Peter
I luv doing this , it keeps me current and reinforces my knowledge so no problem here.
The L2 consideration is that you need distinct inside and outside vlans and the CSS must be root so that traffic flows through the CSS to get to the upstream. The CSS passes BPDUs from the inside and outside networks essentially merging them into one vlan. To get the traffic to flow through the CSS The CSS must be root for merged vlan, otherwise, the inside device would arp for the upstream and be L2 forwarded directly to the port residing on the same vlan.
The problem with your question is that you asked to get load balancing working and then we moved to L3 and L2 design issues, from my perspective you are asking multiple questions. So I said L2 considerations because we could be discussing that topic for a very long time. There are less people that really understand L2 relative to L3 so I did not want to get into too far.
The question on how to tell if you are in layer 2 mode was posted by me in my second post, i was unclear which mode you were in initially, believe me it's hard sitting here trying to flush out all the necessary info required. I mistakenly typed show bridging status instead of show bridge status.
Upon some reading the docs do say the CSS uses the MAC I stated when using dot1q trunks and the MACs you see when not using dot1q
http://www.cisco.com/en/US
Another question "So it does seem that the other switch is treating the CSS as the Root. (Btw, why is the CSS using two extra octets for its L2 addresses?)" If the CSS uses extra octets for vlan tagging, dot1q
If you are adding additional subnets then you need to add additional outside interfaces as well. How are you trying to add teh new subnet and how does it difgfer from the other?
harbor235 ;}
Business Accounts
Answer for Membership
by: harbor235Posted on 2009-06-16 at 07:55:45ID: 24638657
Are you in routed or bridged mode?
harbor235 ;}