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

Discussion in 'Cisco' started by batmon, Dec 19, 2003.

  1. batmon

    batmon Guest

    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.
    batmon, Dec 19, 2003
    #1
    1. Advertising

  2. batmon

    Brian V Guest

    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" <> wrote in message
    news:...
    > 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.
    Brian V, Dec 19, 2003
    #2
    1. Advertising

  3. In article <>,
    batmon <> 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!
    Walter Roberson, Dec 19, 2003
    #3
  4. batmon

    Rick Guest

    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" <> wrote in message
    news:...
    > 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.
    Rick, Dec 19, 2003
    #4
  5. batmon

    Rick Guest

    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" <> wrote in message
    news:zOLEb.1037$...
    > 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" <> wrote in message
    > news:...
    > > 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.

    >
    >
    Rick, Dec 19, 2003
    #5
  6. batmon

    Brian V Guest

    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" <> 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" <> wrote in message
    > news:...
    > > 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.

    >
    >
    Brian V, Dec 20, 2003
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ste

    Subnet Mask Help

    Ste, Nov 2, 2003, in forum: Cisco
    Replies:
    16
    Views:
    4,367
    Sam Wilson
    Nov 3, 2003
  2. jonnah
    Replies:
    5
    Views:
    908
    Walter Roberson
    May 19, 2004
  3. Woon
    Replies:
    8
    Views:
    8,339
    NeverOutofTune
    Aug 28, 2007
  4. Vass

    Subnet a subnet mask?

    Vass, Aug 26, 2005, in forum: Computer Support
    Replies:
    1
    Views:
    721
  5. Giuen
    Replies:
    0
    Views:
    864
    Giuen
    Sep 12, 2008
Loading...

Share This Page