Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > How do I set my subnet mask for this range??

Reply
Thread Tools

How do I set my subnet mask for this range??

 
 
batmon
Guest
Posts: n/a
 
      12-19-2003
Hi,

I need to have two routes, one to connection 1 and one to connection
2. Here is what I want.

10.10.0.0/16 (class B) all go to gateway 1 expect
10.10.200.0/24 ~ 10.10.212.0/24 -> these goes to gateway 2.

How do I do this?? can I do it with length mask or subnet maske? I
can enter more then one entry to make it work, that's fine.

Thank you.
 
Reply With Quote
 
 
 
 
Brian V
Guest
Posts: n/a
 
      12-19-2003
Pretty simple,

Just add 2 routes.
ip route 10.10.200.0 255.255.255.0 x.x.x.x
ip route 10.10.0.0 255.255.0.0 y.y.y.y

Routing will always take best/most match path first.

-Brian
"batmon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Hi,
>
> I need to have two routes, one to connection 1 and one to connection
> 2. Here is what I want.
>
> 10.10.0.0/16 (class B) all go to gateway 1 expect
> 10.10.200.0/24 ~ 10.10.212.0/24 -> these goes to gateway 2.
>
> How do I do this?? can I do it with length mask or subnet maske? I
> can enter more then one entry to make it work, that's fine.
>
> Thank you.



 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      12-19-2003
In article <(E-Mail Removed) >,
batmon <(E-Mail Removed)> wrote:
:I need to have two routes, one to connection 1 and one to connection
:2. Here is what I want.

:10.10.0.0/16 (class B) all go to gateway 1 expect
:10.10.200.0/24 ~ 10.10.212.0/24 -> these goes to gateway 2.

:How do I do this?? can I do it with length mask or subnet maske? I
:can enter more then one entry to make it work, that's fine.

ip route 10.10.200.0 255.255.248.0 gateway2
ip route 10.10.208.0 255.255.252.0 gateway2
ip route 10.10.212.0 255.255.255.0 gateway2
ip route 10.10.0.0 255.255.0.0 gateway1
--
Admit it -- you peeked ahead to find out how this message ends!
 
Reply With Quote
 
Rick
Guest
Posts: n/a
 
      12-19-2003
These 3 lines should cover what you want.

ip route 10.10.200.0 255.255.248.0 x.x.x.x
ip route 10.10.208.0 255.255.252.0 x.x.x.x
ip route 10.10.0.0 255.255.0.0 y.y.y.y


"batmon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Hi,
>
> I need to have two routes, one to connection 1 and one to connection
> 2. Here is what I want.
>
> 10.10.0.0/16 (class B) all go to gateway 1 expect
> 10.10.200.0/24 ~ 10.10.212.0/24 -> these goes to gateway 2.
>
> How do I do this?? can I do it with length mask or subnet maske? I
> can enter more then one entry to make it work, that's fine.
>
> Thank you.



 
Reply With Quote
 
Rick
Guest
Posts: n/a
 
      12-19-2003
OOPS!
These 4 lines should cover what you want.

ip route 10.10.200.0 255.255.248.0 x.x.x.x
ip route 10.10.208.0 255.255.252.0 x.x.x.x
ip route 10.10.212.0 255.255.255.0 x.x.x.x
ip route 10.10.0.0 255.255.0.0 y.y.y.y



"Rick" <(E-Mail Removed)> wrote in message
news:zOLEb.1037$(E-Mail Removed) ...
> These 3 lines should cover what you want.
>
> ip route 10.10.200.0 255.255.248.0 x.x.x.x
> ip route 10.10.208.0 255.255.252.0 x.x.x.x
> ip route 10.10.0.0 255.255.0.0 y.y.y.y
>
>
> "batmon" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
> > Hi,
> >
> > I need to have two routes, one to connection 1 and one to connection
> > 2. Here is what I want.
> >
> > 10.10.0.0/16 (class B) all go to gateway 1 expect
> > 10.10.200.0/24 ~ 10.10.212.0/24 -> these goes to gateway 2.
> >
> > How do I do this?? can I do it with length mask or subnet maske? I
> > can enter more then one entry to make it work, that's fine.
> >
> > Thank you.

>
>



 
Reply With Quote
 
Brian V
Guest
Posts: n/a
 
      12-20-2003
I missed the 10.10.200 thru 212 in your question, took it as only 10.10.200
My bad, Walter and Rick have it right!
-Brian

"Brian V" <(E-Mail Removed)> wrote in message
news:dBLEb.434008$ao4.1386449@attbi_s51...
> Pretty simple,
>
> Just add 2 routes.
> ip route 10.10.200.0 255.255.255.0 x.x.x.x
> ip route 10.10.0.0 255.255.0.0 y.y.y.y
>
> Routing will always take best/most match path first.
>
> -Brian
> "batmon" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
> > Hi,
> >
> > I need to have two routes, one to connection 1 and one to connection
> > 2. Here is what I want.
> >
> > 10.10.0.0/16 (class B) all go to gateway 1 expect
> > 10.10.200.0/24 ~ 10.10.212.0/24 -> these goes to gateway 2.
> >
> > How do I do this?? can I do it with length mask or subnet maske? I
> > can enter more then one entry to make it work, that's fine.
> >
> > Thank you.

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion mask in hex to bit mask Marcin Tyman Ruby 4 05-06-2008 08:15 PM
Subnet a subnet mask? Vass Computer Support 1 08-26-2005 01:02 PM
[networking] Convert subnet mask <=> mask length 187 Perl Misc 2 07-29-2004 10:31 AM
RE: Can anyone point me to some good subnet & subnet mask how tos..... Anonymous MCSA 0 04-02-2004 10:25 AM
Subnet / Subnet Mask ---> IP calculation kielhd Perl Misc 3 11-09-2003 08:34 PM



Advertisments