I found two methods, using a route, and using a router to allow both computers to access the Internet using an ADSL account at the same time. method 1
How to crack the CIDR Block
There are two ways for ADSL to share the Internet. One is proxy and the other is address translation (NAT). Generally, the routing method is actually Nat, in fact, the principle of routing and Nat is still different. We will not discuss it here. Currently, ADSL cats generally have Nat functions. It is more economical and convenient to use its own functions to achieve Internet sharing, this article mainly discusses this method.
If you want to block more than one computer from accessing the internet, you must find that there are more than one machine behind the sharing, as shown in Nat working principle 1, after Nat translation, the addresses of computers accessing the Internet over the Intranet are all changed to 192.168.0.1, And the MAC address is also converted to the MAC address of ADSL. That is to say, in principle, you cannot find several machines accessing the internet by directly capturing nat-converted packets at the ADSL egress. How did we find it? After research, it is found that it uses a variety of methods to detect whether users use the Internet sharing mode, thus limiting, the following are cracked:
Figure 1. How Nat works
1. check whether there are different MAC addresses in the packets with the same IP address. If so, determine that the user shares the internet. The solution is to change the MAC address of each server to the same one. The modification method is as follows:
First, obtain the MAC address of the Local Machine: the MAC address is the physical address that is fixed in the serial EEPROM on the NIC, usually with 48-bit length. The ethernet switch implements packet switching and Transmission Based on the Mac source address and Mac destination address in a packet header.
(1) In Windows 98/Me, choose Start> RUN> enter winipcfg> enter.
(2) in Windows 2000/XP, click Start → run → Enter cmd → press ENTER → enter ipconfig/All → press Enter.
Alternatively, right-click the local connection icon, select the status, and click the support tab. "details" contains Mac and other important network parameters.
1. if your NIC Driver directly provides the clone MAC address function, such as the rtl8139 chip from RealTek, congratulations! Click "Start> set> Control Panel ", double-click "network and dial-up connections", right-click the NIC icon to modify the MAC address, and select "properties ". On the "General" tab, click the "configuration" button and click the "advanced" tab. In the "attribute" area, you should see a project called "network address" or "locally administered address", click it, and under the "value" on the right, enter the MAC address value you want to specify. You must enter 12 numbers or letters consecutively. Do not enter "-". After the system is restarted, the setting will take effect (Windows 98 and Windows 2000/XP user operations are slightly different, please refer to the System Instructions)
2. If your NIC driver does not provide the clone MAC address function, here are some methods to find a suitable one.
Win98:
A. right-click the "Network Neighbor" icon and select "properties". A "network" dialog box is displayed. In the "configuration" box, double-click the NIC you want to modify and a NIC attribute dialog box is displayed. In the "advanced" option, click "network address" under the "attribute" identifier, and select the preceding one from the two single options on the right, enter the MAC address of the network adapter you want to modify in the box, and click "OK", the system will prompt you to restart. After restarting, your NIC address will be modified !!
B. Click "Start> Run", type "winipcfg", select the NIC you want to modify, and record the MAC address value. Click "Start> Run" and enter "Regedit" to run the Registry Editor (you must back up the registry before modifying the registry). Based on the registry tree structure, find "HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ class \ net" in sequence, and you will see subkeys like "0000", "0001", and "0002. Click the "0000" sub-key and search for the content of the "driverdesc" key under the sub-key until you find the NIC registry information that is exactly the same as the target.
After finding the correct Nic, click "Edit> New> string" in the drop-down menu, and the name of the string is "networkaddress". Double-click the name of the newly created "networkaddress" string, you can enter a value. Enter the new MAC address value you specified. The new MAC address should be a 12-digit number or letter with no "-", similar to "00c095ecb761.
There are two ways to activate a new MAC address:
If you are using a common built-in Nic, you must restart the computer to make the change take effect.
If you are using a PCMCIA card, follow these steps without restarting the operating system: Run winipcfg, select and release DHCP settings, and disable winipcfg. Open the control panel or System Tray "PC Card (PCMCIA)", stop and bring up the pcmcia Nic. Re-insert the pcmcia Nic, open winipcfg, select and refresh DHCP settings, run winipcfg, and confirm that the modified MAC address has taken effect.
Win2000 :.
A. right-click the "Network neighbors" icon on the desktop and select "properties". In the "Network and dial-up connections" window, there are usually two icons. One is the "New Connection" icon, one is the "my connections" icon. If your machine has two NICs, there will be three icons. If you only have one Nic, right-click the "my connections" icon and select "properties". A "My Connection Properties" window is displayed. In the upper part of the graph port, there is a "Connect with:" icon. The following figure shows the NIC model on your machine. There is a "configuration" button below. Click this button to enter the NIC Properties dialog box. This dialog box contains five properties pages. Click the second "advanced" page, there are two items under the "attribute" identifier: one is "link speed/duplex mode", which is used to set the NIC working rate. We need to change the following "network address ", click this item. There are two single options under the "value" icon on the right of the dialog box. The default value is "no". We only need to select the single option above, enter the MAC address of the network card you want to change in the box on the right, and click "OK". Wait a moment, the network card address will be changed. You don't even need to disable the network card!
You can also open the NIC properties page in "Settings manager" to modify the settings.
B .1. in "HKEY_LOCAL_MACHINE \ sys
TEM \ CurrentControlSet \ Control \ class \ 4d36
E972-E325-11CE-BFC1-08002BE10318 \ 0000, 0001, 0002 "and other primary keys, because you may have installed more than one network card, therefore, the primary key contains multiple primary keys similar to "0000, 0001". In this case, you can find the primary key with which the driverdesc content matches the description of the ENI you want to modify, for example, 0000 ".
2. In the primary key mentioned above, add a string named "networkaddress" and set its value to the MAC address you want. It must be written continuously as "001010101010 ".
3. then add a primary key value "networkaddress" to "NDI \ Params" under the primary key, add a string named "default" under the primary key, and write the value to the MAC address to be set, continuous writing, such as "001010101010 ".
[Note] In fact, this is only the "Initial Value" in the advanced attribute mentioned later. The actual MAC address is determined by the "networkaddress" parameter mentioned in, in the future, the Intermediate Value of the advanced attribute is the value given by "networkaddress" instead of the value given by "default.
4. add a string named "paramdesc" under the primary key of "networkaddress". The function is to specify the description of the "networkaddress" primary key. The value can be "MAC address" (you can also set it as needed, this is only a description. It doesn't matter. This value will appear as a description when you directly modify the MAC address in the future). In this way, the attributes of network neighbors will be opened after the restart, double-click the corresponding Nic item and you will find an advanced setting with the MAC address (paramdesc, (^ 29041103a ^) 1 that you set earlier) under it, this is the new "networkaddress" that you add in the Registry in step 2. You only need to modify the MAC address here.
5. Close Registry Editor and restart. Your NIC address has been changed. Open the properties of the network neighbor. Double-click the corresponding Nic item and you will find an advanced setting item for MAC address. It is used to directly modify the MAC address, and can be changed at any time without restarting.
In WINXP
Most NICs can change their MAC addresses by modifying the NIC attributes in the control panel. In Device Manager, right-click the NIC icon to modify the MAC address and select the properties/Advanced tab. In the "properties" area, you can see a project called "network address" or another similar name. Click it and click it at the bottom of the "value" on the right, enter the MAC address to be specified. You must enter 12 hexadecimal numbers or letters consecutively. Do not enter "-".
Other software that can modify Mac can be run in XP/w2k. You can search for it online.
In Linux:
You need to use # ifconfig eth0 down to disable the NIC first, and then use ifconfig eth0 HW ether 1234567890ab, so that the change can be successful.
To change it permanently, add these three sentences to/etc/rc. d/rc. Local (you can also add the following three lines to/etc/init. d/network)
Ifconfig eth0 down
Ifconfig eth0 HW ether 1234567890ab
Ifconfig eth0 up
If you want to restore the MAC address of the network card to its original state, you only need to set the single option on the right of the "Network Address" item to "not displayed" and restart the network card. In Win2000, select "no". Of course, you do not need to restart it.
Ii. SNMP (Simple Network Management Protocol) is used to discover multi-host internet access. Some routers and ADSL cats have built-in SNMP services through scanning software (ipscan, superscan ......) after scanning, we found that port 161 is open and port 161 is the service port of SNMP (Simple Network Management Protocol). Is it the number of hosts found through the SNMP protocol, and xscan is used to scan the cat for vulnerabilities, there is a default password, which is logged on to the management interface of the cat but cannot be found to close the SNMP service. It seems that it is a backdoor, and it can be concluded that it is the number of hosts found through the SNMP protocol. In order to further confirm that an SNMP management software, activesnmp, is used to view the connection status of the ADSL cat, 2 shows that the SNMP protocol can clearly identify the number of hosts accessing the Internet at the same time.
Solution:
1. if the cat can disable the SNMP protocol, disable port 161 for SNMP. if you use a vro or enable the ADSL Cat's route mode to share the Internet, you can go to the management interface and turn it off with the SNMP option. If the management interface of the cat has no options to disable SNMP had to buy a router without SNMP service, such as TP-LINK TL-R400, put in the middle of ADSL Moden and hub, such. create a NAT service in the vro so that an address is entered into the ADSL cat, which solves the problem of shared Internet access. Disable the SNMP protocol in the vro.
2. to modify the configuration file, you can convert the configuration into a file, use the binary editing tool to change the default password, and then load it into the cat. This is just a way of thinking and has not been tried.
3. Monitor the number of concurrent ports. If the number of concurrent ports exceeds the set number, it is determined to be shared.
This is an unpleasant setting. "Network Vanguard" constantly scans the number of ports opened by users. If it is more than the set value, it will be shared, sometimes, when you press the F5 key several times, it is considered to be shared, and a single user is also affected to access the Internet. This cannot be cracked (unless you have hacked the network ), the solution here is to pretend to be an innocent user to call the ISP's customer service, and declare that if it is not good, it will change to the ISP. Then the network will be normal.
4. "Network Vanguard" also uses an unknown method to test shared information from the shared computer. The solution is to install a firewall on all shared clients, set the security level to the highest, due to limited conditions, only tried several firewalls, found Kingsoft network router V (http://www.gz-pet.com/Soft_Show.asp? Softid = 10) useful: do not allow all rules in the IP configuration rule to allow others to access the local machine, allow ping to the local machine, and prevent ICMP attacks. also select this option. If it is WINXP, open the network firewall of the NIC.
After the above method is used, the local machine cannot be seen in the local area network, and after WINXP opens the network firewall of the NIC, files cannot be transmitted on QQ, and the network speed slows down, but we can finally share it again. If you have a good solution, please let us know.
In general, "Network Vanguard" is still an immature product, mainly because it also has an impact on individual users accessing the internet. Browsing webpages often needs to be refreshed several times, and some webpages are complicated, when you want to call several server files, it is also shared, so that the webpage part cannot be displayed. Moreover, the "Network Vanguard" constantly scans user ports for bandwidth usage, resulting in slow network speeds.
Method 2
Resolve Telecom restricted routes
If China Telecom restricts user routing by binding the account to the MAC of the network card, I can solve it here!
If we change the MAC address of the adsl lan to the MAC address of the user's Nic, the problem will be solved. Of course,
You have to change the MAC of the user's Nic. Otherwise, the Mac conflict occurs. There are two ways to change the MAC address of a user's NIC:
Solution: first, modify the MAC of the NIC through the software, and then change the NIC!
View the MAC of your network card: run the ipconfig/all command at the prompt.
Shown as follows:
Physical address ......: 00-0e-a6-53-5e-95.
Next we will look at the user's ADSL chip.
There are two common ADSL types: conexant and Globespan.
The ADSL series corresponding to the star network are conexant 3. * series, and Globespan 4. * series.
The corresponding omnidirectional series are 1680 and 1880 respectively.
3. * The early versions of the series are better solved. You can set them on the web,
Because it has a special function called Mac spoofing, it finds Mac Spoofing
Enter the address of the bound MAC address and then set the route.
3. * This item is not available in later versions of the Series Web. You can use the Telnet command to complete this.
In the prompt, enter the address of Telnet 192.168.10.1 192.168.10.1 to ADSL,
Enter your password. This will be displayed as follows:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
Main Menu
0. Select VC adaptor
1. Display firmware version
2. Password setup
3. Connection status
4. network setup
5. ADSL setup
6. System Maintenance
S. Save settings and reset Unit
R. Reset without saving changes
Q. Quit session
Enter your selection below:
Select as follows. Press 4 to see the following:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
Network Setup menu
1. display network settings
2. lan ip Address Configuration
3. subnet mask Address Configuration
4. Lan DHCP server configuration
5. Lan DHCP address pool selection
6. Lan DHCP server pool Configuration
7. NAT (p) T Configuration
8. 802.1d bridge configuration
9. IGMP Configuration
0. MAC Address Spoofing
A. Wan Configuration
Press 'B' to go back
Press 'M' to go to Main Menu
Enter your selection below
Then press 0 to see the following:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
MAC Address Spoofing
1. Disable/enable Spoofing
2. Set MAC address
Press 'B' to go back
Press 'M' to go to Main Menu
Enter your selection below
As shown in the following figure:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
Disable/enable Spoofing
* 1. Disable
2. Enable
Press 2 to enable the spoofing function and return to the following screen:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
MAC Address Spoofing
1. Disable/enable Spoofing
2. Set MAC address
Set Mac as follows:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
Set MAC address
Input MAC address as format XX: xx
Enter the MAC address in the format above and press Enter. Then press m to return to the main screen as follows:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
Main Menu
0. Select VC adaptor
1. Display firmware version
2. Password setup
3. Connection status
4. network setup
5. ADSL setup
6. System Maintenance
S. Save settings and reset Unit
R. Reset without saving changes
Q. Quit session
Enter your selection below:
Then press s to save the settings and restart the settings, as shown below:
Conexant Systems, Inc.
Access runner ADSL Console port 3.27
Save settings and reset Unit
This will save all the settings and reboot!
Press 'y' to continue
Press 'B' to go back, 'M' for Main Menu
Press Y to save the settings and restart.
In this way, the Mac spoofing settings are complete, and you can configure routes in the Web mode.
Of course, you can also set it in Telnet mode.
Opposite to xingwang 4. * Version, also completed through Telnet.
Enter Telnet 192.168.10.1 at the prompt.
Enter the user name and password. After OK, the prompt $:
In the following format, enter the do serialize XX-xx command.
XX-XX is the bound MAC address.
Do serialize 00-d0-f8-51-99-cd and press Enter,
ADSL is restarted directly, and then the routing settings are OK.
The solution is complete now. Remember to change the MAC address of another network card or change the MAC address of the network card through the software,
Here we will not introduce how to change the MAC of the user's Nic through software. I have verified the above methods,
The method is also applicable to omnidirectional ADSL.
China Telecom later bound the account to the MAC of the NIC, So I solved the routing problem.