2011年9月8日 星期四

HOW TO set up a RASPPPoE Server ( for Windows )


This document describes how the free RASPPPoE driver can be used on Windows 2000 and higher as a PPPoE Server, allowing client PPPoE configurations to be tested and traced, and also providing Internet connectivity to the client.
Installation and Configuration
  1. Install the RASPPPoE driver on the Windows system.
  2. Click StartSettingsNetwork and Dial-up ConnectionsMake New Connection
  3. In the Network Connection Wizard, click the "Accept incoming connections" radio button.
  4. Select the LAN Adapter to which your RASPPPoE driver is bound.
  5. Select "Do not allow virtual private connection".
  6. Specify the "Allowed Users" details.
  7. Select the "PPPoE Protocol" Networking Component.
  8. Click Finish.
The Network Connection Wizard will then create a new Connection called "Incoming Connections" in the Network and Dial-up Connections folder. You should now view the Properties of that connection and examine the Properties of the TCP/IP Protocol bound to that connection. This is where you specify the IP address assigned to the connection end-points.
If you have access to registered IP addresses managed by a DHCP Server on your enterprise LAN, you should allow address assignment to be done via DHCP.
If you have no spare registered IP addresses, simply use a private IP address like 172.16.1.1 for the Server end of the connection and 172.16.1.2 for the Client end of the connection. To test the client's access to the Internet, simply run NAT32 Build 1036 or later, binding it to your Internet connection and to your RASPPPoE adapter (private interface).
Router Configuration
If you have a router that uses the PPPoE protocol to connect to the Internet, you need to configure it to connect to the RASPPPoE Server. This is usually done by specifying a usercode and password and then letting the router search for a PPPoE server on the network to which it connects. The usercode and password will of course have to match the values you specified when you configured the RASPPPoE Incoming Connection under Windows.
Once you have connected the router to the server, it will then have Internet access via NAT32, and all private machines connected to the router will be able to access the Internet.
You may have to set the MTU that the router uses to 1472 bytes, but the standard PPPoE MTU of 1492 usually works correctly.
Windows Client Configuration
To connect a Windows machine to the NAT32 RASPPPoE Server, open Control PanelNetwork and select the Properties of the RASPPoE Protocol. You may need to set the MTU to 1472 bytes, but the standard PPPoE MTU of 1492 usually works correctly.
Now "dial" the connection by clicking the Shortcut that the RASPPPOE.EXE program will have placed on your Desktop.
The client machine (98/SE/ME/2000/XP) will then have Internet Connectivity via the PPPoE protocol.
To trace network traffic, simply click the NAT32 Trace Icon.
Limitations
Windows 2000 Professional allows only two such connections to be in place simultaneously. Windows 2000 Server (and higher) supports more than two simultaneous RASPPPoE connections.
NAT32 supports up to 8 such connections.

沒有留言:

張貼留言

How to use simple speedtest in RaspberryPi CLI

  pi@ChunchaiRPI2:/tmp $  wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --2023-06-26 10:4...