Subscribe to Windows IT Pro
March 01, 1996 12:00 AM

IP Routing with NT

Windows IT Pro
InstantDoc ID #2465
Rating: (1)
How to Turn NT Server into an IP Router

Last month, I talked about the basics of Internet Protocol (IP) addressing. The reason that anyone cares about IP is because it makes building large networks relatively simple. The strength of IP lies in its routing ability. But in order to use IP for this purpose, you need a piece of hardware called an IP router.

There are several kinds of IP routers: One connects your network to the Internet over a WAN connection. Another connects LANs to LANs directly with no WAN connections.

The first kind of router you'll need to install is the network-to-WAN router, but as your network grows, you'll also need the LAN-to-LAN type. The problem with network-to-network routers is that they cost about $3000+. But for simple routing, you don't need to spend a dime: You can use Windows NT Server. This month, I'll show you how.

LAN-to-WAN Routers
My firm uses about 50 IP addresses for its computers (most of which need one IP address each), our Integrated Services Digital Network (ISDN) bridges (again, one IP address each), and our routers. A few years ago, we put our network on the Internet. To do that, we needed a LAN-to-WAN IP router and an Internet Service Provider (ISP).

A router is basically a box that sets between two networks. It allows each network to communicate with the other by relaying messages between them. For example, on my network, I'm allowed to use the range of addresses from 199.34.57.0 through 199.34.57.255--I have a C-class network.

You may recall from last month that I cannot use two of those addresses: 199.34.57.0 and 199.34.57.255. The ".0" is the network number, a generic way of saying "all addresses from 199.34.57.1 through 199.34.57.254." The ".255" is the broadcast address, a single address used to send a message to all the computers on my network. (Last month I also noted that I couldn't use the 199.34.57.1 and 199.34.57.2 addresses. That's not a carved-in-stone Internet rule, but rather an artifact of how I run my network.)

My network resembles the network shown in figure 1. It has a LAN-to-WAN IP router with a set of instructions that tells it how to route the packets it receives. The routing table has an absurdly simple mission: If there's a message for 199.34.57.0--in other words, if there's a message for any address on my C-class network--send it to the Ethernet. If there's a message for any other address, send it via the serial port to the modem, which then puts the message on the Internet.

The router in figure 1 is not the one I recommend you use with Windows NT Server. It's not usually a good idea to use Windows NT as a LAN-to-WAN router, although it can be done.

For my network, I use a Compatible Systems Microrouter 900i. It's one of the best purchases I ever made for my network. It cost about $850, which is quite reasonable, but that's not the only reason it's a good deal. Although it's possible to use an NT machine as an Internet-to-Ethernet-via-WAN-connection router, my tests show that the Compatible box routes packets more than twice as fast as an NT machine does.

Building an NT LAN-to-LAN Router
If my network becomes larger and I get another C-class network, for example, 223.200.200.0, or if I decide to divide my network into smaller subnets, I will have multiple network segments--it's the same story whether you use Ethernet or Token Ring--and I will need a router (see figure 2).

The LAN-to-WAN router now has a more difficult job. For a machine on 199.34.57.2 to send a packet to any machine on 223.200.200.0, it must send the packet to the router at 199.34.57.2. That's where it sends all packets that need routing. Now that router must be smart enough to know not to send the packet over the WAN but to send it to the router for 223.200.200.0. You also need a LAN-to-LAN router between 199.34.57.0 and 223.200.200.0.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Jan 04, 2005

    my router is connected to my Lan.i want to know my router ip address.

    how can i go about this?

    send a mail to-->pmuralikannan@rediffmail.com

  • Rob Hillard
    11 years ago
    Nov 06, 2001

    If you have multiple routers on your network, use OSPF it works great. It works great with ISA server too.

  • andre
    11 years ago
    Oct 15, 2001

    How can I enable routing on windows 2000 ??????

  • Rob Hillard
    12 years ago
    Oct 10, 2000

    Has anyone used 2000as as a router? If so how. We have several nt 4.0 routers but need to upgrade them to 2000.
    email me @ rhillard@hotmail.com

  • Pawel N.
    12 years ago
    Aug 24, 2000

    This article save my life in my current company. The details and the knowledge of the author is impressive. I will never find out that gateways should be blank in a second card. This is truly
    "essential to the recipe" and its works perfectly. Thank you.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.