| Author |
load balancing question
|
|
| ciscoguy2001 2001-03-21, 9:52 pm |
| A smaller metric indicates a preferred path ,if two or more paths have an equal lowest metric, then all those paths will be equally shared---load balancing.
All I want to know that data packet will be forwarded through two devices ---or --- somebody can explain me how load balancing takes place in physical world
Thanks | |
|
| quote: Originally posted by ciscoguy2001
All I want to know that data packet will be forwarded through two devices ---or --- somebody can explain me how load balancing takes place in physical world
Yup, same destination/mask, different next hops. | |
|
| quote: Originally posted by dmaftei
Yup, same destination/mask, different next hops.
I CANNOT GET IT PROPERLY I KNOW OUTLINE OF THIS BUT WHAT EXACTLY IS LOAD BALANCING IF EXPLIAN ME THANKS IN ADVANCE
AND THANKS DEMAFTEI FOR SPARING TIME | |
|
| Ciscoguy2001. IF your Talking about load sharing if two or more paths have the same tick value. Rip compares the hop count, if two or more paths have the same hop count it shares the load evenly with two or more routers. This is true for IPX network.
This is best of my knowledge correct if Wrong.
yours truly, sharky | |
|
| Say you want to reach network 222.222.222.0/24 (which is remote), and you know that you can go there through 2 routers that are on a common network with your router (11.0.0.0); you are 11.0.0.1, and the other two routers are 11.0.0.2 and 11.0.0.3. To load balance your traffic for 222.222.222.0 you can do:
ip route 222.222.222.0 255.255.255.0 11.0.0.2
ip route 222.222.222.0 255.255.255.0 11.0.0.3
Once you do this your routing table will show:
S 222.222.222.0/24 [1/0] via 11.0.0.2
(spaces here )[1/0] via 11.0.0.3
This means that your traffic for 222.222.222.0 will go (probably round robin) through 11.0.0.2 and 11.0.0.3.
If you want to do this with some dynamic protocol, you'll need to arrange for the dynamic protocol to learn equal metric paths to the destination.
HTH
PS
Turn off the "Caps Lock"; it's like you're shouting.  | |
|
| quote: Originally posted by dmaftei
Say you want to reach network 222.222.222.0/24 (which is remote), and you know that you can go there through 2 routers that are on a common network with your router (11.0.0.0); you are 11.0.0.1, and the other two routers are 11.0.0.2 and 11.0.0.3. To load balance your traffic for 222.222.222.0 you can do:
ip route 222.222.222.0 255.255.255.0 11.0.0.2
ip route 222.222.222.0 255.255.255.0 11.0.0.3
Once you do this your routing table will show:
S 222.222.222.0/24 [1/0] via 11.0.0.2
(spaces here )[1/0] via 11.0.0.3
This means that your traffic for 222.222.222.0 will go (probably round robin) through 11.0.0.2 and 11.0.0.3.
If you want to do this with some dynamic protocol, you'll need to arrange for the dynamic protocol to learn equal metric paths to the destination.
HTH
PS
Turn off the "Caps Lock"; it's like you're shouting.
THANKS DEMAFTIE, NOW I UNDERSTOOD IT CLEARLY
YOU ARE VERY GOOD IN EXPLAINATION I WAS CONFUSED AND EVEN I DIDN'T KNOW WHERE I WAS CONFUSED BUT I JUST KNEW ONE THING THIS THING WAS NOT CLEAR BUT NOW THANKS A LOT ,AND YEAH NOW THIS TIME I PUT MY CAPSLOCK ON TO SHOUT TO SAY THANK YOU
So why dont you give me your email or any messenger id so if any time for any problem i can chat with you
thanks again | |
|
| quote: Originally posted by ciscoguy2001
So why dont you give me your email or any messenger id so if any time for any problem i can chat with you
I prefer to keep my email private. As for chatting, I consider it a waste of time (and no, I don't have a messenger id). If you have a problem, post it here; sooner or later you'll get an answer.
quote: thanks again
You're welcome! | |
|
| I would like to also add to posting about load balancing.When I first started out in IT field my first employer was in NOC with BGPv4 as the main routing protocol for our backbone routing and ISIS(magical protocol) on our border routers.Customer would call complaining that the path the data is taking is less preferred and that were statically connected to ISP carrier using /30 address or point to point.So I would go into the core routing table and show ip route and customer would have two network being advertise one via static which is always being preferred first and the route bgp has.So stop this IT person who has the senior position on his office but doesn't understand how to load balance over the internet I would add weights to static route making bgp route more preferred.... | |
|
| lcooper,
Is it floating static routes you're talking about? And who's the IT person who has the senior position anyway?!
Cheers! | |
|
| Yes it is also called a floating static route,however the proper name would be static route with admin weight added.To ensure the route is the less preferred and I have among my experience notice this is easy yet the most efficient way of loading balancing without putting extra cpu processes on the router.The senior IT I was preferring was just a imaginary scene that I used didn't mean any damage to any one... | |
|
| Not that I know too much about floating static routes (or static route with admin weight added, if you prefer it this way), but I learned from a previous thread (http://www.examnotes.net/forums/sho...?threadid=14576) that they're good as backups, not for load balancing.
quote: The senior IT I was preferring was just a imaginary scene that I used didn't mean any damage to any one...
I didn't mean you meant that. You sort of lost me at the end of your story, so I asked for a clarification. 
Cheers! | |
|
| Please try to understand the question of ciscoguy2001
I faced this problem in field work
------------------------------------------------
A smaller metric indicates a preferred path ,if two or more paths have an equal lowest metric, then all those paths will be equally shared---load balancing.
All I want to know that data packet will be forwarded through two devices ---or --- somebody can explain me "how load balancing takes place in physical world"
Thanks
---------------------------------------------
In my previous office I involved in project in which I am providing suppor on X.25 network spread across countrywide using x.25 routers we are using two routes from each branch office to central office. but how can you deploy load balancing when you have an 128kbps X.25 link and one 56k pstn link however they both are terminating at a same point on the other end. | |
|
| quote: Originally posted by 1networker1
Please try to understand the question of ciscoguy2001
He seems to be pleased with the answers he got. I don't see what's your point.  | |
|
| when you have different data rates of physical links then obviously you have different cost for each link to define for a routing protocol. | |
|
| Not necessarily so.
!
interface Serial0
ip address 192.168.1.0 255.255.255.0
ip ospf cost 100
!
interface FastEthernet0
ip address 192.168.1.0 255.255.255.0
ip ospf cost 100
!
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 0
!
The two physical interfaces' data rates differ by almost two orders of magnitude. Assuming the two interfaces connect to two other routers that advertise 10.0.0.0/8 with the same cost, you'll end up load balancing over the two completely different physical links.
Cheers! |
|
|
|