01-06-2007 01:00 AM - edited 03-03-2019 03:16 PM
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
01-08-2007 12:13 AM
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
01-08-2007 12:46 AM
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.
01-08-2007 02:11 AM
01-08-2007 06:23 PM
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.
01-08-2007 08:33 PM
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 ?
01-08-2007 09:51 PM
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.
01-08-2007 10:06 PM
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 ?
01-08-2007 10:52 PM
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.
01-08-2007 11:22 PM
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.
01-09-2007 12:00 AM
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.
01-09-2007 12:45 AM
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 ???
01-09-2007 01:56 AM
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)
01-09-2007 02:17 AM
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.
01-09-2007 02:37 AM
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
01-09-2007 04:45 PM
It is fine for this config. Did you test it and meet the customer expectation ?
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: