ADD ROUTE HELP

Discussion in 'Cisco' started by Guest, Dec 27, 2003.

  1. Guest

    Guest Guest

    I am trying to add a route

    Interface List
    0x1 ........................... MS TCP Loopback interface
    0x20004 ...00 00 e8 48 dd cf ...... Realtek RTL8029(AS) PCI Ethernet Adapter
    0x40003 ...00 05 5d 96 bc 38 ...... D-Link Air DWL-520 Wireless PCI
    Adapter(rev.
    D)
    ===========================================================================
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface
    Metric
    0.0.0.0 0.0.0.0 68.225.208.1 68.225.211.80
    3 0
    0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100
    30
    68.225.208.0 255.255.248.0 68.225.211.80 68.225.211.80
    30
    68.225.211.80 255.255.255.255 127.0.0.1 127.0.0.1
    30
    68.255.255.255 255.255.255.255 68.225.211.80 68.225.211.80
    30
    127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
    1
    192.168.1.0 255.255.255.0 192.168.1.100 192.168.1.100
    30
    192.168.1.100 255.255.255.255 127.0.0.1 127.0.0.1
    30
    192.168.1.255 255.255.255.255 192.168.1.100 192.168.1.100
    30
    224.0.0.0 240.0.0.0 68.225.211.80 68.225.211.80
    30
    224.0.0.0 240.0.0.0 192.168.1.100 192.168.1.100
    30
    255.255.255.255 255.255.255.255 68.225.211.80 68.225.211.80
    1
    255.255.255.255 255.255.255.255 192.168.1.100 192.168.1.100
    1
    Default Gateway: 192.168.1.1
    ===========================================================================
    Persistent Routes:
    None

    I need to add 192.168.0.2 255.255.255.0 192.168.0.1
    this is the nic i am trying to add to D-Link Air DWL-520 Wireless PCI
    Adapter

    This is what i get when i try to add

    C:\Documents and Settings\Boss>route ADD 192.168.0.2 MASK 255.255.255.0
    192.168.
    0.1 METRIC 3 IF 2
    The route addition failed: The specified mask parameter is invalid.
    (Destination
    & Mask) != Destination.

    I am very very new to networking, Help what would i enter for route add
    Guest, Dec 27, 2003
    #1
    1. Advertising

  2. Guest

    Jeroen Guest

    <> schreef in bericht
    news:2%fHb.73920$pY.45782@fed1read04...
    > I am trying to add a route
    >
    > Interface List
    > 0x1 ........................... MS TCP Loopback interface
    > 0x20004 ...00 00 e8 48 dd cf ...... Realtek RTL8029(AS) PCI Ethernet

    Adapter
    > 0x40003 ...00 05 5d 96 bc 38 ...... D-Link Air DWL-520 Wireless PCI
    > Adapter(rev.
    > D)
    >

    ===========================================================================
    >

    ===========================================================================
    > Active Routes:
    > Network Destination Netmask Gateway Interface
    > Metric
    > 0.0.0.0 0.0.0.0 68.225.208.1 68.225.211.80
    > 3 0
    > 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100
    > 30
    > 68.225.208.0 255.255.248.0 68.225.211.80 68.225.211.80
    > 30
    > 68.225.211.80 255.255.255.255 127.0.0.1 127.0.0.1
    > 30
    > 68.255.255.255 255.255.255.255 68.225.211.80 68.225.211.80
    > 30
    > 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
    > 1
    > 192.168.1.0 255.255.255.0 192.168.1.100 192.168.1.100
    > 30
    > 192.168.1.100 255.255.255.255 127.0.0.1 127.0.0.1
    > 30
    > 192.168.1.255 255.255.255.255 192.168.1.100 192.168.1.100
    > 30
    > 224.0.0.0 240.0.0.0 68.225.211.80 68.225.211.80
    > 30
    > 224.0.0.0 240.0.0.0 192.168.1.100 192.168.1.100
    > 30
    > 255.255.255.255 255.255.255.255 68.225.211.80 68.225.211.80
    > 1
    > 255.255.255.255 255.255.255.255 192.168.1.100 192.168.1.100
    > 1
    > Default Gateway: 192.168.1.1
    >

    ===========================================================================
    > Persistent Routes:
    > None
    >
    > I need to add 192.168.0.2 255.255.255.0 192.168.0.1
    > this is the nic i am trying to add to D-Link Air DWL-520 Wireless PCI
    > Adapter
    >
    > This is what i get when i try to add
    >
    > C:\Documents and Settings\Boss>route ADD 192.168.0.2 MASK 255.255.255.0
    > 192.168.
    > 0.1 METRIC 3 IF 2
    > The route addition failed: The specified mask parameter is invalid.
    > (Destination
    > & Mask) != Destination.
    >
    > I am very very new to networking, Help what would i enter for route add
    >
    >
    >



    try MS newgroup but

    (mind the zero in 192.168.0.0, not 192.168.0.2)
    route ADD 192.168.0.0 MASK 255.255.255.0 192.168. 0.1
    Jeroen, Dec 27, 2003
    #2
    1. Advertising

  3. Guest

    PES Guest

    <SNIP>

    > I need to add 192.168.0.2 255.255.255.0 192.168.0.1
    > this is the nic i am trying to add to D-Link Air DWL-520 Wireless PCI
    > Adapter
    >
    > This is what i get when i try to add
    >
    > C:\Documents and Settings\Boss>route ADD 192.168.0.2 MASK 255.255.255.0
    > 192.168.
    > 0.1 METRIC 3 IF 2
    > The route addition failed: The specified mask parameter is invalid.
    > (Destination
    > & Mask) != Destination.


    Your ip address suggest you would like to add a host route. However, your
    mask suggest a class "c" subnet. If you want a host router, change the mask
    to 255.255.255.255. If you want a subnet, change the ip address to
    192.168.0.0. You also probably do not need the IF 2, and likely don't need
    metric three.
    PES, Dec 27, 2003
    #3
  4. Guest

    Guest Guest

    Ok i tried the change this is what i get

    C:\Documents and Settings\Boss>route ADD 192.168.0.0 MASK 255.255.255.0
    192.168.
    0.1
    The route addition failed: Either the interface index is wrong or the
    gateway do
    es not lie on the same network as the interface. Check the IP Address Table
    for
    the machine.

    now what do i do
    Guest, Dec 27, 2003
    #4
  5. Guest

    Guest Guest

    Ok i tried the change this is what i get

    C:\Documents and Settings\Boss>route ADD 192.168.0.0 MASK 255.255.255.0
    192.168.
    0.1
    The route addition failed: Either the interface index is wrong or the
    gateway do
    es not lie on the same network as the interface. Check the IP Address Table
    for
    the machine.

    now what do i do
    Guest, Dec 27, 2003
    #5
  6. Guest

    Jeroen Guest

    <> schreef in bericht
    news:QhgHb.74033$pY.49657@fed1read04...
    > Ok i tried the change this is what i get
    >
    > C:\Documents and Settings\Boss>route ADD 192.168.0.0 MASK 255.255.255.0
    > 192.168.
    > 0.1
    > The route addition failed: Either the interface index is wrong or the
    > gateway do
    > es not lie on the same network as the interface. Check the IP Address

    Table
    > for
    > the machine.
    >
    > now what do i do
    >
    >
    >

    192.168.1.100 seems to be your ehternet ip-adress? isn't it..
    so tell your routing table to route all 192.168.0.0 255.255.255.0 to your
    ethernet interface

    route ADD 192.168.0.0 MASK 255.255.255.0 192.168.1.100

    (do not forget to do the same thing with the ip-route back from 192.168.0.2
    to this machine)
    something like
    route add 192.168.1.0 mask 255.255.255.0 192.168.0.2
    Jeroen, Dec 27, 2003
    #6
  7. Guest

    Guest Guest

    Thanks you for your help but no luck getting it to work

    <> wrote in message
    news:2%fHb.73920$pY.45782@fed1read04...
    > I am trying to add a route
    >
    > Interface List
    > 0x1 ........................... MS TCP Loopback interface
    > 0x20004 ...00 00 e8 48 dd cf ...... Realtek RTL8029(AS) PCI Ethernet

    Adapter
    > 0x40003 ...00 05 5d 96 bc 38 ...... D-Link Air DWL-520 Wireless PCI
    > Adapter(rev.
    > D)
    >

    ===========================================================================
    >

    ===========================================================================
    > Active Routes:
    > Network Destination Netmask Gateway Interface
    > Metric
    > 0.0.0.0 0.0.0.0 68.225.208.1 68.225.211.80
    > 3 0
    > 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100
    > 30
    > 68.225.208.0 255.255.248.0 68.225.211.80 68.225.211.80
    > 30
    > 68.225.211.80 255.255.255.255 127.0.0.1 127.0.0.1
    > 30
    > 68.255.255.255 255.255.255.255 68.225.211.80 68.225.211.80
    > 30
    > 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
    > 1
    > 192.168.1.0 255.255.255.0 192.168.1.100 192.168.1.100
    > 30
    > 192.168.1.100 255.255.255.255 127.0.0.1 127.0.0.1
    > 30
    > 192.168.1.255 255.255.255.255 192.168.1.100 192.168.1.100
    > 30
    > 224.0.0.0 240.0.0.0 68.225.211.80 68.225.211.80
    > 30
    > 224.0.0.0 240.0.0.0 192.168.1.100 192.168.1.100
    > 30
    > 255.255.255.255 255.255.255.255 68.225.211.80 68.225.211.80
    > 1
    > 255.255.255.255 255.255.255.255 192.168.1.100 192.168.1.100
    > 1
    > Default Gateway: 192.168.1.1
    >

    ===========================================================================
    > Persistent Routes:
    > None
    >
    > I need to add 192.168.0.2 255.255.255.0 192.168.0.1
    > this is the nic i am trying to add to D-Link Air DWL-520 Wireless PCI
    > Adapter
    >
    > This is what i get when i try to add
    >
    > C:\Documents and Settings\Boss>route ADD 192.168.0.2 MASK 255.255.255.0
    > 192.168.
    > 0.1 METRIC 3 IF 2
    > The route addition failed: The specified mask parameter is invalid.
    > (Destination
    > & Mask) != Destination.
    >
    > I am very very new to networking, Help what would i enter for route add
    >
    >
    >
    Guest, Dec 27, 2003
    #7
  8. Guest

    PES Guest

    <> wrote in message
    news:QhgHb.74033$pY.49657@fed1read04...
    > Ok i tried the change this is what i get
    >
    > C:\Documents and Settings\Boss>route ADD 192.168.0.0 MASK 255.255.255.0
    > 192.168.
    > 0.1
    > The route addition failed: Either the interface index is wrong or the
    > gateway do
    > es not lie on the same network as the interface. Check the IP Address

    Table
    > for
    > the machine.
    >
    > now what do i do
    >
    >

    Sorry, I didn't look at your routing table also. I don't think you can add
    a gateway, when the gateway itself is not in the tabel or local. Since you
    are are on 192.168.0 and the gw you are trying to add is on 192.168.1 it is
    failing. So from your machine how do you get to the gw on 192.168.1.x? Can
    you ping it? If you don't know how to get to the gw, you cannot add it to
    the table. If you could it would fail anyway.
    PES, Dec 27, 2003
    #8
  9. Guest

    Guest Guest

    This is my problem



    I have two nic cards the first one goes to the internet

    The second one is a wireless nic the goes to a wireless router and the
    router is hooked up to my xbox.



    My problem is, on the first card when I enable internet share it changes the
    ip setting on my second card which in turn will not let me access the xbox
    or router. I am trying to use the over the internet
    Guest, Dec 27, 2003
    #9
  10. Guest

    PES Guest

    <> wrote in message
    news:21hHb.74322$pY.68205@fed1read04...
    > This is my problem
    >
    >
    >
    > I have two nic cards the first one goes to the internet
    >
    > The second one is a wireless nic the goes to a wireless router and the
    > router is hooked up to my xbox.
    >
    >
    >
    > My problem is, on the first card when I enable internet share it changes

    the
    > ip setting on my second card which in turn will not let me access the xbox
    > or router. I am trying to use the over the internet
    >

    Okay first of all this is a Cisco newsgroup. IIRC Internet connection
    sharing will not allow for port redirection and does nat. I am not familiar
    with the XBox and how it operates on the internet. However, I would
    redisign this a bit if it were me. I would use my router to connect to the
    internet and use a Linksys WET11 to connect the XBox to the wireless
    network. I would use either ethernet or wireless to connect the pc to the
    router. See http://www.linksys.com/splash/wetxbox.asp .
    PES, Dec 27, 2003
    #10
  11. Guest

    ashley Guest

    you need to use the g/w address 192.168.1.1 if this is the g/w for the
    wireless NIC

    e.g. route ADD 192.168.0.0 MASK 255.255.255.0 192.168.1.1



    <> wrote in message
    news:QhgHb.74033$pY.49657@fed1read04...
    > Ok i tried the change this is what i get
    >
    > C:\Documents and Settings\Boss>route ADD 192.168.0.0 MASK 255.255.255.0
    > 192.168.
    > 0.1
    > The route addition failed: Either the interface index is wrong or the
    > gateway do
    > es not lie on the same network as the interface. Check the IP Address

    Table
    > for
    > the machine.
    >
    > now what do i do
    >
    >
    >
    ashley, Dec 27, 2003
    #11
    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. AM
    Replies:
    3
    Views:
    596
  2. Replies:
    1
    Views:
    5,133
    Barry Margolin
    Aug 13, 2005
  3. Bruce Cao
    Replies:
    3
    Views:
    4,460
    Barry Margolin
    Dec 6, 2005
  4. Karnov
    Replies:
    3
    Views:
    6,423
    Walter Roberson
    Feb 2, 2006
  5. Replies:
    9
    Views:
    4,844
    Scott Perry
    Aug 7, 2008
Loading...

Share This Page