Это - достаточно беспорядочный архив сообщений конференций сети fidonet, которые на момент их прочтения мной
показались полезными или интересными. Многие устарели, многие узкоспецифичны и малоинтересны, но может оказаться и что-то новое...
- __techs (2:5015/42) ----------------------------------------------- __techs - Msg : 524 of 1000 Scn From : Oleg Krivoshatkin 2:5067/3 27 Oct 97 14:32:20 To : Sergey Y Kazakov 29 Oct 97 19:56:18 Subj : Re: И снова routing ------------------------------------------------------------------------------- @AREA:RU.WINDOWS.NT.CHAINIK @RealName: Олег Кривошаткин Пламенный привет, Sergey! Чет Окт 23 1997 11:22, Sergey Y Kazakov написал All: SK> Имеется локалка a.b.c.160 netmask 255.255.255.224 на 32 адресса. SK> Сервер NT40 a.b.c.162, на нем модем a.b.c.161 SK> Hа сервере secondary DNS. SK> До коннекта с провайдером имеем (route print): [...Digger сгрыз...] SK> Все OK. Все друг друга видят по IP и по имени. SK> После дозвона к провайдеру: [...Digger сгрыз...] SK> Внутри ничего не работает. С сервера нормально в и-нет хожу. [...Digger сгрыз...] SK> Как организовать нормальный роутинг? >------------ Файл route.txt. Кусать отсель --------------< 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 configu ration, 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 sele cted, 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, RAS sends all 17.x.x.x packets using the RAS connection. If the parameter is set, RAS sends 17.2.x.x packe ts 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-1Default: 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. >------------------ .... и досель --------------------< С уважением, Oleg. ... Чтобы правильно задать вопрос, надо знать половину ответа. --- Оголтелый старикан 2.50+ * Origin: -= Judgement Station =- (2:5067/3)