09-08-2006 01:35 PM - edited 03-03-2019 01:55 PM
I have a LAN of 48 pc's. The ip's starting from 192.168.0.101 till 192.168.0.148. I also have a 1841 router with 2 ADSL connects and I would like the odd computers to be provited internet through the 1st ADSL and the even computers through the 2nd ADSL.
Can you help me please wiyh config?
Thank you.
Solved! Go to Solution.
09-08-2006 03:50 PM
The config will be exactly the same except that you have to replace the atm0/1 and atm0/2 interfaces that I used as an example with the actual interfaces. Therefore, if you need to use a dialer interface, you will need to use those as the next-hops.
Paresh
09-08-2006 02:49 PM
Hi,
You need policy routing to accomplish this.
Try something like the following:
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.0
ip policy route-map PolRouteMap
!
! ACL for odd IPs
access-list 10 permit 192.168.0.1 0.0.0.254
! ACL for even IPs
access-list 20 permit 192.168.0.0 0.0.0.254
interface atm0/1
ip address .....
!
interace atm0/2
ip address..
!
! send packets matching ACL 10 out atm0/1
route-map PolRouteMap permit 10
match ip address 10
set interface atm0/1
!
! send packets matching ACL 20 out atm0/2
route-map PolRouteMap permit 20
match ip address 20
set interface atm0/2
Hope that helps - pls do rate the post if it does.
Paresh
09-08-2006 03:31 PM
Thank you for your reply.
For example if i have 4 pc's:
192.168.0.1
192.168.0.2
192.168.0.3
192.168.0.4
and i d like 0.1 and 0.3 goes internet from first dsl connection and 0.2. and 0.4 goes internet from the the second how we ll be the config?
I ll not setup dialers for atm0 and atm1?
Thank you.
09-08-2006 03:50 PM
The config will be exactly the same except that you have to replace the atm0/1 and atm0/2 interfaces that I used as an example with the actual interfaces. Therefore, if you need to use a dialer interface, you will need to use those as the next-hops.
Paresh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide