add route help

G

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
 
J

James Egan

If 255.255.255.0 is the netmask then 192.168.0.2 is a valid address on
the network whose number is 192.168.0.0

so a valid command might be

route add 192.168.0.0 mask 255.255.255.0 "gateway_address"

which is telling your machine to forward traffic for network
192.168.0.0 (ie all machines from 192.168.0.1 to 254) via the machine
or device on you local network whose number is "gateway_address"

It looks like the gateway address should be something on the network
192.168.1.0 (ie 192.168.1.1 to 254)


Jim.
 
L

lk

I have a home wireless network set up between 2 winXP pro
laptops, but it gives me a strange set of errors.

One of the laptops is a gateway and I can control its
internet connection from the other one, and I can do
remote desktop from the other one, but I can't share
files between them! Isn't that wierd?

Also, remote desktop didn't work until I added a login
on the host computer (the gateway) using the same name
and passwd that I use to logon to the client computer all
the time. But that logon doesn't show up on the host
computer, and if I try to set up another account using
that name on the host, it won't let me, saying that that
account already exists, but it doesn't show up as anything
I can login as or change.

Anyone ever heard of this? What happened to that logon
that I needed to get remote desktop to work? Why can't
I log in as that user now? How the heck can it be that I
can have two computers on a network but not share files
from one?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top