Re: Re :Re: Static Route

From: Radioactive Frog (pbhatkoti@gmail.com)
Date: Sun Apr 01 2007 - 11:30:55 ART


XOR the 3rd ocatate and put tha tin the ACL
Similar to below and I believe that you can squeeze your routes/ACL's in 3
lines.

128 64 32 16 8 4 2 1

103= 01100111
104= 01101000
105= 01101001
------------------------
     = 0000111 = 4+2+1 = 5
-----------------------
10.10.103.0 255.255.5.0 <-----------Your 3 routes squeezed your ACL/ROutes
down to 1 line

1) Go to config t

router#config t
router#(config) ip route 10.10.103.0 255.255.255.0 10.10.13.1
router#(config) ip route 10.10.104.0 255.255.255.0 10.10.13.1
router#(config) ip route 10.10.105.0 255.255.255.0 10.10.13.1

2)

router#config t
router#(config) ip route 200.200.101.0 255.255.255.0 10.10.12.1
router#(config) ip route 200.200.102.0 255.255.255.0 10.10.12.1
router#(config) ip route 200.200.106.0 255.255.255.0 10.10.12.1

HTH,
Frog

On 1 Apr 2007 11:40:25 -0000, daniel <danyccie@rediffmail.com> wrote:
>
>
> Hi,
>
> Thank you for your reply. My problem is I'm allowed to use only 4
> access-lists to acheive the same. Please tell me how to do this.
> Thanks,
>
> Dany.
>
>
>
> On Sun, 1 Apr 2007 19:28:13 +1000 "Radioactive Frog" wrote Hi Daniel, It's
> preety much very simple. Assuming you've cisco router. Otherwise every
> router have their different interface to configure. 1) Go to config t
> router#config t router#(config) ip route 10.10.103.0 255.255.255.0
> 10.10.13.1 router#(config) ip route 10.10.104.0 255.255.255.0 10.10.13.1router#(config) ip route
> 10.10.105.0 255.255.255.0 10.10.13.1 2) router#config t router#(config) ip
> route 200.200.101.0 255.255.255.0 10.10.12.1 router#(config) ip route
> 200.200.102.0 255.255.255.0 10.10.12.1 router#(config) ip route
> 200.200.106.0 255.255.255.0 10.10.12.1 HTH, Frog
>
> Regards,
> Dany



This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:34 ART