IP Broadband dial-up access based on ADSL Technology in LAN

Source: Internet
Author: User
Tags get ip

1 Introduction

In recent years, with the rapid development of Internet and Intranet, the demand for high-speed user lines with fixed connections has become increasingly urgent. xDSL technology based on twisted pair wires is emerging because it achieves high-speed user lines at a low cost, this breaks the situation where high-speed communication is exclusively controlled by optical fibers. Adslasyuncrical Digital Subscriber Line, asymmetric Digital user Ring Line) uses a pair of telephone lines to install an ADSL modem at both ends of the user Line. This modem uses the frequency division multiplexing (OFDM) technology, with a high transmission rate, a high-speed downlink rate of up to 10 Mbit/s is provided on a general telephone line, which is much higher than the ISDN speed. The uplink rate is 1 Mbit/s, the transmission distance is between 3 km and 5 km.
Here we will explain the installation of ADSL dial-up software based on three operating systems: WINNT, WIN2000, and Linux, and propose the best method to connect to ADSL under each system.

2. Install the NT software on the WinNT 4.0 operating system.

Assume that the network card of the NT operating system is properly installed. The network, such as TCP/IP, has been installed. The adsl modem has been correctly connected to telephone lines and computers.
On the NT 4.0 operating system, we recommend that you use Enternet300 virtual dialing. installation steps:
1) Click setup.exe for installation. Select "Next"> "Yes"> "Next ".
2) The "network" dialog box is displayed. Select the "adapter" tab and select "add ".
3) Select "Network TeleSystems PPPoE Adapter" in the Network Adapter list, and then click "OK ".
4) The "NT installation" dialog box is displayed. The system prompts you to enter the path to copy the file. Click "continue.
5) Select the "bind" tab and change the "show bound to" drop-down list to "all adapters ". Find the "Network TeleSystems PPPoE Adapter" project and click "+" to expand it.
6) if the "NetBEUI" protocol is displayed, click "NetBEUI" and select "Disable ".
7) "Microsoft TCP/IP properties" is displayed ". Select "Network TeleSystems PPPoE Adapter" in the Adapter list ".
8) Select "Get IP address from DHCP server ". Select "yes" when confirming that DHCP is enabled ".
9) Click "OK" to close the dialog box and restart the computer.
10) After restarting the computer, the "EnterNet 300" icon appears on the desktop. Click the icon and then click "Create New Profile ". Complete the configuration of the ADSL dialing software according to the wizard.
11) Click the dial-up connection icon to display the "EnterNet 300" dialog box and click "Connect ". After the dial-up is passed, you can access the Internet. After the connection is successful, two flashing icons will appear in the lower-right corner of the computer screen, indicating that you have successfully dialed!

3. Install PPPoE dialing software on the Win2000 Operating System

Installing EnterNet 300 in Win2000 is simple, and you do not need to restart it. Dialing is smooth, but the following problems often occur:
1) I did not respond when I opened the IE browser on the server side. I further pinged the Sohu website and the screen prompts "request time out ";
2) web pages can be viewed on the server side, but ADSL Internet access cannot be shared on the client side;
3) When "Internet Connection Sharing" is used, the client can use the connection software such as OICQ for point-to-point communication, but cannot browse the Web page.

Cause analysis:
1) the IIS service may be installed on the server and should be uninstalled;
2) DNS services may be installed on the server and should be uninstalled;
3) If two NICs are installed on the server, set their IP addresses to different network segments;
4) "Internet Connection Sharing" and third-party shared software such as Sygate and WinGate) only select one of them;
5) The compatibility between EnterNet 300 and Win2000 is not ideal.

After installing the PPPoE driver software Enternet300, the ADSL device is virtualized into a network card and a built-in dialing tool is used. When dialing, a remote Dynamic IP address is assigned to the network card, however, in the Win2000 system, this virtual network card is considered as a new "network connection", and the IP address of the local network is allocated like other network cards, which leads to unexpected problems. RasPPPoE uses the original Win2000 dial-up network to support the PPPoEPoint-to-Point Protocol Over Ethernet communication Protocol, which improves its compatibility, especially in combination with Windows's "Internet Connection Sharing.
We recommend that users of the Win2000 operating system select RASPPPOE, a very small PPPOE dialing software. The installation method is as follows:
1) decompress the compressed installation file in the RASPPPOE folder.
2) Click Properties of network neighbors, click "add" in the Properties window, select "protocol", and then click "add ";
3) Click "Install from disk" in the select Network Protocol window, and select the raspppoe. inf file from the raspppoe decompression folder to start installation;
4) after the network solution is successfully installed, run raspppoe.exe IN the raspppoedecompression folder. Then, click the Query AvailableServices bar, and then click Create a Dial-up Connection for the selected Adapter, A dial-up shortcut is automatically created in the "Network Connection" of your computer. Now you can use this new dial-up connection to enter your username xxx @ xxxxx) and password for ADSL dialing!

4. Install PPPoE dialing software on Linux

Taking Redhat Linux7.2 as an example, there are many PPPoE client software in Linux. We recommend using the rp-pppoe software package. Slave.
The installation of source code is also applicable to Linux on other platforms.
1) download the source code package
Http://www.roaringpenguin.com/pppoe/rp-pppoe-3.2.tar.gz
2) decompress the compressed files from the floppy disk.
# Tar/mnt/floppy/xvfz rp-pppoe-3.2.tar.gz
# Cd rp-pppoe-3.2
3) Compile and install
#./Go
The system will automatically compile and install the SDK. Finally, it will automatically call/usr/sbin/adsl-setup for configuration.
4) configure the PPPoE client software
After installing the software package, you must configure the PPPoE configuration file/etc/ppp/pppoe. conf so that PPPoE can use the username, password, and other parameters in the configuration file during dial-up. You do not have to manually modify this file. You can use the adsl-setup tool to automatically call/usr/sbin/adsl-setup ):

When
>>> Enter your PPPoE user name:
Enter the username of your ADSL account, for example, xxx @ xxxxx ).
When
>>> Enter the Ethernet interface connected to the ADSL modem For Solaris,
This is likely to be something like/dev/hme0.
For Linux, it will be ethn, where
'N' is a number. (default eth0 ):
Enter eth0, which is the name of the NIC connected to the man.
When
>>> Enter the demand value (default no ):
Enter no
When
>>> Enter the DNS information here:
Enter the server, which indicates the IP address of the DNS server automatically obtained by using PPPoE dialing.
You can bind a DNS server address here to ask the ISP service provider)
When
>>> Please enter your PPPoE password:
Enter your account password twice in a row.
When
>>> Choose a type of firewall (0-2 ):
Enter 0, no firewall
When
>>> Accept these settings and adjust configuration files (y/n )?
If the entered information is correct, enter y to complete the configuration. Otherwise, enter n to enter again.

5) Start the PPPoE client software
Run the following command:
/Usr/sbin/adsl-start
Start the PPPoE client software for connection. If the connection is successful, Connected will appear;
If it fails, check the network cable, network card, and other physical devices to view the information in/var/log/messages.

/Usr/sbin/adsl-stop disconnect from ISP
Killing pppd <17226>
Killing adsl-connect <17208>
/Usr/sbin/adsl-status to view the current connection status

If you want to automatically start the Netcom PPPoE connection when Linux is started, enter the following command:
# Chkconfig -- add adsl to add a self-starting script.
If you find that the Connected information has appeared, but you cannot Ping the domain name, that is, the webpage does not respond, you should use the ifconfig command to check it.
# Ifconfig-
The output should contain a bunch of information about ppp0, and an IP address is bound to it. This indicates that the IP address has been obtained from the dial and the displayed Nic IP address (inet addr) is displayed)

eth0 Link encap:Ethernet Hwaddr 00:40:05:68:12:48
inet addr:10.0.0.10  Bcast: 10.0.0.255  Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
…  …  …

The above inet addr shows that the eth0 IP address is incorrect because Configure using DHCP is used when Redhat Linux is installed to Configure network parameters. The system defaults to IP addresses such as 10.0.0.10. Ifconfig can be used to set the IP address of the NIC:
# Ifconfig eth0 192.168.0.2 sets its local IP address to 192.168.0.2 and uses the default subnet mask)
View the IP address again:

# ifconfig –a 
eth0 Link encap:Ethernet Hwaddr 00:40:05:68:12:48
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
…  …  …

Now you can browse the Web page.

5 conclusion

How the server accesses ADSL is the first key step for LAN access. It is directly related to the network scalability, security, and manageability of the LAN. Therefore, we should carefully select the network operating system of the server based on the specific requirements of the LAN, and provide the most appropriate ADSL Broadband Access Method.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.