cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1452
Views
0
Helpful
30
Replies

leased line loadblancing + failover overleased line

rohit_agarawal
Level 1
Level 1

hi to all

can any body help me out regarding this problem

i have 1721 router in this router i have two leased line in this.

my requirment

1. some prime users packet should go via Serial0

and rest useres packet should go via serial1

2. if s0 will dwon all prime users all shoul go via s1

can any body tell me configuration for this requirment

30 Replies 30

this is my current configuration plzz check it out wat i need to do

plzz tell me nating statament as well

--More-- !

!

!

!

interface Loopback0

ip address 59.145.X.X 255.255.255.x

shutdown

!

interface FastEthernet0

ip address 192.168.5.100 255.255.255.0

ip nat inside

ip virtual-reassembly

ip route-cache flow

speed auto

half-duplex

!

interface Serial0

ip address 203.101.x.x 255.255.255.252

ip nat outside

ip virtual-reassembly

ip route-cache flow

!

interface Serial1

ip address 202.x.x.x 255.255.255.252

ip nat outside

ip virtual-reassembly

ip route-cache flow

!

interface Virtual-Template1

ip unnumbered FastEthernet0

peer default ip address pool mypool

ppp encrypt mppe auto

ppp authentication ms-chap-v2 pap chap ms-chap callin

!

ip local pool mypool 192.168.5.201 192.168.5.205

ip route 0.0.0.0 0.0.0.0 Serial0

ip route 0.0.0.0 0.0.0.0 serial1

ip flow-export source FastEthernet0

ip flow-export version 5

ip flow-export destination 192.168.5.73 9996

!

no ip http server

no ip http secure-server

ip nat inside source route-map primery interface serial0 overload

ip nat inside source route-map other interface Serial1 overload

logging source-interface Serial0

logging 192.168.5.2

access-list 101 permit ip 192.168.5.6 0.0.0.0 any

Thanks for the config. but you missed to post the route-map section. Please consider to try my suggestion in pervious and test again.

Hope this helps.

plzz check the attachment n telll me wat is the nating statment i shld put

Did you test any suggestions from other Netpro and me ? Referring to the config file, it is the same as the post from you before.

PLEASE check my pervious post, it already indicated the suggestion one-by-one in command format.

What I suggested is to add a new access-list then use it in the nat rule command. Please check below :

access-list 2 permit any

ip nat inside source list 2 overload

Please advise the test result.

Hope this helps.

ya i alredsy tryed this but its not working

can u tell me it is possible that we can do failover + loadblancing togather in single router ?

Yes, our proposal on the solution should work, but it is fail-over instead of load-balancing. According to your requirement, primeuser go to s1 and other go to s0, it is a fail-over requirement. Moreover, if you already specify two groups of users to forward to two different path, how to achieve the load-balancing ? Please advise your latest requirement and we try to help.

Please post the modified config with our suggestion and advise the test result on which area not work. Thx.

thanks i ll send it to u by evening right now iam not in client place

i wana give u exact senario :-

client have two leased line in in 1721 router

leasedline1- s0

leasedline2- s1

clint requirment:-

1.He want two use both leased line at same time means....(loadblancing)

2.if s1 is get down all trafic shd go other interface(leasedline)

can u tell me it is possible ?

Thx. for clarification. This is possible.

The operation like two links will be load-balanced in normal case, if one of the link down, it will forwardf the traffic and the remaining link will continue to carry all traffic.

Your original config of two static route w/ no metric is already carrying this function. It is the normal behaviour of routing.

If this is the case, try to use the NAT config that proposed earlier and test again.

If you still want to let prime user to use one link only, you can also apply the policy-based config but no need the floating-static. However, it will make the other user's traffic to be load-shared in two links and prime user only use one link.

Hope this helps.

thanx jack sorry for this

iam sending u my configuration with attachment can u modified it and send it me back with exact configuration

i wana both links will be load-balanced in normal case, if one of the link down, it will forwardf the traffic and the remaining link will continue to carry all traffic.

I am willing to help but my pervious post already indicated that your static route config is fine to provide the required load-sharing and backup function.

Could you confirm do you require to NAT ALL traffic or only host 192.168.5.6 ? If you will NAT all LAN traffic to remote, I have already proposed in my pervious posts too. I retype it as below, please test it. The idea is to let all traffic from e0 to be NAT at s0 & s1 then forward to remote. So, we have a access-list 2 to include all traffic and setup a NAT rule for both s0. Then remove the original NAT rule.

access-list 2 permit ip any

no ip nat inside source route-map primery interface serial0 overload

no ip nat inside source route-map other interface Serial1 overload

ip nat inside source list 2 overload

Please let me know the problem is you cannot type the command or proposed modification not work.

thanx jack

interface Loopback0

ip address 59.145.X.X 255.255.255.x

shutdown

interface FastEthernet0

ip address 192.168.5.100 255.255.255.0

ip nat inside

interface Serial0

ip address 203.101.x.x 255.255.255.252

ip nat outside

interface Serial1

ip address 202.x.x.x 255.255.255.252

ip nat outside

ip route 0.0.0.0 0.0.0.0 Serial0

ip route 0.0.0.0 0.0.0.0 serial1

( ip nat inside source list 2 overload

or

ip nat inside source list 2 interface s0 overload

ip nat inside source list 2 interface s1 overload )

access-list 101 permit ip 192.168.5.0 0.0.0.255 any

(what exact access-list i need to configure)

any thing els i need to configure ?

and my dought how it will do load blance and failover ???

thanx jack

any thing els i need to configure ?

and my dought how it will do load blance and failover ???

interface Loopback0

ip address 59.145.X.X 255.255.255.x

shutdown

interface FastEthernet0

ip address 192.168.5.100 255.255.255.0

ip nat inside

interface Serial0

ip address 203.101.x.x 255.255.255.252

ip nat outside

interface Serial1

ip address 202.x.x.x 255.255.255.252

ip nat outside

ip route 0.0.0.0 0.0.0.0 Serial0

ip route 0.0.0.0 0.0.0.0 serial1

( ip nat inside source list 2 overload

or

ip nat inside source list 2 interface s0 overload

ip nat inside source list 2 interface s1 overload )

access-list 101 permit ip 192.168.5.0 0.0.0.255 any

(what exact access-list i need to configure)

You are welcome. You have two static route commands that will carry the load-sharing funtion for outgoing traffic. If one of the WAN link down, the route belongs to the down interface will be disappeared and the router will follow the only and remaining route to forward the traffic to remote.

I am sorry for the incorrect syntex of NAT command. Please use your NAT command of "ip nat inside source list 2 interface s0/s1 overload" instead of my pervious suggstion.

And also add an access-list,"access-list 2 permit ip any" to the router. It is for the NAT rule,"list 2".

Wait for your test result.

thanx jack

plzz check this is right :-

interface FastEthernet0

ip address 192.168.5.100 255.255.255.0

ip nat inside

interface Serial0

ip address 203.101.x.x 255.255.255.252

ip nat outside

interface Serial1

ip address 202.x.x.x 255.255.255.252

ip nat outside

ip route 0.0.0.0 0.0.0.0 Serial0

ip route 0.0.0.0 0.0.0.0 serial1

ip nat inside source list 101 interface s0 overload

ip nat inside source list 102 interface s1 overload

access-list 101 permit ip 192.168.5.0 0.0.0.255 any

access-list 102 permit ip 192.168.5.0 0.0.0.255 any

It is fine for this config. Did you test it and meet the customer expectation ?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card