Re: Routing with windows 2000

From: Gerry Voras (gerry.voras_at_nextaction.com)
Date: 06/08/04


Date: Mon, 7 Jun 2004 20:00:15 -0600

Not true... you can use any version of an Microsoft OS for routing purposes
as long as ROUTE.EXE is installed as part of the TCP/IP stack (you could
probably do this with DOS and LanMan if you wanted to). However, you won't
get any of the good MMC or GUI config stuff, no port or ACL filtering, and
you'll have to become very proficient at configuring manual routing tables.

See the following:

Z:\>route

Manipulates network routing tables.

ROUTE [-f] [-p] [command [destination]
                  [MASK netmask] [gateway] [METRIC metric] [IF interface]

  -f Clears the routing tables of all gateway entries. If this is
               used in conjunction with one of the commands, the tables are
               cleared prior to running the command.
  -p When used with the ADD command, makes a route persistent
across
               boots of the system. By default, routes are not preserved
               when the system is restarted. Ignored for all other commands,
               which always affect the appropriate persistent routes. This
               option is not supported in Windows 95.
  command One of these:
                 PRINT Prints a route
                 ADD Adds a route
                 DELETE Deletes a route
                 CHANGE Modifies an existing route
  destination Specifies the host.
  MASK Specifies that the next parameter is the 'netmask' value.
  netmask Specifies a subnet mask value for this route entry.
               If not specified, it defaults to 255.255.255.255.
  gateway Specifies gateway.
  interface the interface number for the specified route.
  METRIC specifies the metric, ie. cost for the destination.

All symbolic names used for destination are looked up in the network
database
file NETWORKS. The symbolic names for gateway are looked up in the host name
database file HOSTS.

If the command is PRINT or DELETE. Destination or gateway can be a wildcard,
(wildcard is specified as a star '*'), or the gateway argument may be
omitted.

If Dest contains a * or ?, it is treated as a shell pattern, and only
matching destination routes are printed. The '*' matches any string,
and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*.
Diagnostic Notes:
    Invalid MASK generates an error, that is when (DEST & MASK) != DEST.
    Example> route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1
             The route addition failed: The specified mask parameter is
invalid

Examples:

> route PRINT
> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2
             destination^ ^mask ^gateway metric^ ^
                                                         Interface^
      If IF is not given, it tries to find the best interface for a given
      gateway.
> route PRINT
> route PRINT 157* .... Only prints those matching 157*
> route DELETE 157.0.0.0
> route PRINT

"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:OFTaApPTEHA.1272@TK2MSFTNGP10.phx.gbl...
>
> "Adam Thornton" <Adam.Thornton@lifeworksweb.org> wrote in message
> news:1A9D06BB-FA3D-4687-8532-1AE487460798@microsoft.com...
> > I have posted on here about using a dummy computer as a firewall by
> placing 2 NICs in it. We are going to purchase some software to act as a
> firewall and filter for email content and spamming etc. What needs to be
> done for this to work? We have the computer with both NICs in it and are
> running Win 2K on it. The first NIC receives the internet signal, the
second
> sends the signal to the router where it is sent to all the other computers
> on the network. By placing the two NICs in the machine, does it
> automatically scan the data or is there a setting that needs to be changed
> or a program run or anything like that. Any help is much appreciated!
>
> =======================
>
> AFAIR, only Win2000 Servers can be configured as routers.
>
>



Relevant Pages

  • Re: Keep routing table
    ... netmask Specifies a subnet mask value for this route entry. ... gateway Specifies gateway. ... > route PRINT ...
    (microsoft.public.win2000.networking)
  • Re: Setting the default gateway..???
    ... I'm not all that familiar with AIX, but I tried running that command from the command line ... method also calls the route command to change any static routes. ... Specifies the name of the host. ... Specifies the default gateway. ...
    (comp.unix.aix)
  • Re: Setting the default gateway..???
    ... The chginet method reconfigures the Internet instance, ... method also calls the route command to change any static routes. ... Specifies the name of the host. ... Specifies the default gateway. ...
    (comp.unix.aix)
  • Re: Setting the default gateway..???
    ... > I'm not all that familiar with AIX, but I tried running that command from ... > method also calls the route command to change any static routes. ... > Specifies the name of the host. ... > Specifies the default gateway. ...
    (comp.unix.aix)
  • Re: how to interpret route command
    ... That *IS* my gateway. ... Column 1 (Destination) is where you want to get. ... matches anything and is called the "default" route. ... generally because it is on the same network segment ...
    (comp.os.linux.networking)