(PM) Re: Static Ip Address

Thomas C Kinnen (tom@lcp.livingston.com)
Thu, 9 Jul 1998 08:14:11 -0700

[NOTE: I'm CC'ing this to the ML so it will get in the archives as it comes
up every few months.]

>>There is a sample of using NT as a router in the NT on line books.
>>
>>I did that for about a year until I got an OR-U and made all my problems
go
>>away.
>I have looked and looked for the NT on Line books and cannot find them,
>could you point me to them?

In my setup I had a /24 routed. My network was XXX.XXX.32.0, The PM3 was
XXX.XXX.32.3, the modem was assigned XXX.XXX.33.3, and the routed net was
XXX.XXX.35.0. The PM made a rip update to the main router with a /32 route
to the xxx.xxx.33.3 IP. I had the radius entry add XXX.XXX.35.0/24
XXX.XXX.33.3 in the framed route in radius.

You need your CD in the Drive

Start -> Programs -> Books On-Line

Microsoft WindowsNT Server Books On Line
-> Networking Supplement
->Routing in Windows NT
->Windows NT Server Multi-Protocol Routing
->IP Routing
->Installing a Simple Dial Up Router

(There are pictures to go with this)

Windows NT RAS version 3.5 or later was not designed to route packets from a
large LAN over a dial-up link. However, by correctly configuring both the
RAS computer acting as a router and the other computers on your small LAN
with a static network configuration, you can use the computer running
Windows NT RAS as a simple router to the Internet or to an enterprise TCP/IP
network.

Note Your LAN must be small and not require the automatic routing
configuration provided by RIP. (You probably do not need RIP functionality
if you have a small LAN that is not expected to grow or change.)

The following requirements are necessary for using Windows NT RAS as a
dial-up router between your LAN and the Internet:

· A Windows NT computer with a high-speed modem or ISDN line and a network
adapter card
· A Point-to-Point Protocol (PPP) connection to the Internet or enterprise
TCP/IP network
· A valid network or a subnet, different from the subnet of the Internet
service provider
· The proper Registry and Default Gateway configurations on the computer
acting as a router and the LAN clients. The configurations are described
later in this section.

To be identified using names rather than IP addresses, you also need a
domain name. Your Internet service provider can help you obtain a domain
name.
After you have a PPP connection, IP addresses for your subnet (and correct
subnet mask), and (optionally) a domain name, you can configure the RAS and
LAN computers for Internet gateway.

To configure a small LAN for routing to the Internet over a PPP account

1. On the RAS computer acting as a router to the Internet, add the value
DisableOtherSrcPackets to the following Registry path, and then set the
value to 0.

\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services \RasArp\Parameters

DisableOtherSrcPackets REG_DWORD

Range: 0-1Default: 1 (not in Registry)

By default, the header of each packet sent by the RAS computer over the PPP
link uses the IP address of the RAS computer as the source. Since the
packets that come from LAN clients are not originating from the RAS
computer, you must set DisableOtherSrcPacket to 0 so that the packets will
be forwarded over the PPP link.

2. If your subnet is on the same logical IP subnet as your service provider
(which is likely in this scenario), you must also add the value
PriorityBasedOnSubNetwork to the Registry of the RAS computer that routes
packets from the LAN to the Internet, and then set this parameter to 1.

A computer can connect to the LAN by using a network card and a RAS
connection. If the RAS connection and the LAN network adapter card are
assigned addresses with the same network number, and if the Use Default
Gateway On Remote Network check box is selected, then all packets are sent
over the RAS connection, even though the two addresses are in different
subnetworks within the same network.
For example, if the network adapter card has IP address 17.1.1.1 (subnet
mask 255.255.0.0) and the RAS connection is assigned the address 17.2.1.1, R
AS sends all 17.x.x.x packets using the RAS connection. If the parameter is
set, RAS sends 17.2.x.x packets using the RAS connection and 17.1.x.x
packets using the network adapter card.

\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services \RasMan\PPP\IPCP

PriorityBasedOnSubNetwork REG_DWORD

Range: 0-1 Default: 0 (not in registry)

3. Configure the default gateway of all the computers on the LAN using the
Network icon in Control Panel.

The default gateway is set when you configure the TCP/IP protocol.
The default gateway for all computers on the LAN should be the IP address of
the network card in the RAS computer acting as a router to the Internet. The
default gateway for the computer acting as the router to the Internet should
be left blank. The following figure can help you determine the correct
assignment pattern of IP addresses, subnet masks, and default gateways.

Tom

----
Thomas C Kinnen - <tom@lcp.livingston.com>
[Test Engineer - Radius ABM] - LUCENT Technologies RABU
<URL:http://www.livingston.com/> * <URL:http://www.lucent.com/dns/>

-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>