Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is route command and default gateway the same thing?

0 views
Skip to first unread message

Peter Fleischer

unread,
Jun 14, 2001, 4:29:09 AM6/14/01
to
If I want to connect two subnets with a router I can use a multihomed
NT pc as a router.

If my subnets are 194.182.146.0 and 194.182.147.0 I can set up the
"Default gateway" addresses on the pc's on both sides of the router.
"Default gateway" addresses are the multihomed pc NIC TCP/IP
addresses. All this works fine.

BUT: If I use the route command like:
"route add 194.182.146.0 194.182.147.2"
and
"route add 194.182.147.0 194.182.146.1"
on the pc's on both sides of the router (not both commands on one pc),
it dosn't work at all.

Isn't "Default gateway" and route command more or less the same?

Thanks in advance
Peter F

Gav

unread,
Jun 15, 2001, 6:53:55 AM6/15/01
to
they dont mean the same thing
>route add 194.182.146.0 194.182.147.2

hmm this looks like you are tying to route traffic to 194.182.146.whatever
over the gateway 194.182.47.2 - is that what you want? if so I think you
need to specify the mask too, something *like*:

route add 194.182.146.0 MASK 255.255.255.0 194.182.147.2

Not to sure what you are trying to do but the "route" command lets you
specify WHICH gateway to send data over based on the IP range of the
destination.

"Peter Fleischer" <pe...@fleischer.dk> wrote in message
news:9ac0bbee.01061...@posting.google.com...

0 new messages