CN1713601A - On-line method for IP configuration of set-free network - Google Patents
On-line method for IP configuration of set-free network Download PDFInfo
- Publication number
- CN1713601A CN1713601A CN 200410048186 CN200410048186A CN1713601A CN 1713601 A CN1713601 A CN 1713601A CN 200410048186 CN200410048186 CN 200410048186 CN 200410048186 A CN200410048186 A CN 200410048186A CN 1713601 A CN1713601 A CN 1713601A
- Authority
- CN
- China
- Prior art keywords
- network
- computer
- address
- configuration
- data packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000013519 translation Methods 0.000 claims description 10
- 101150012579 ADSL gene Proteins 0.000 claims description 7
- 102100020775 Adenylosuccinate lyase Human genes 0.000 claims description 7
- 108700040193 Adenylosuccinate lyases Proteins 0.000 claims description 7
- 238000012546 transfer Methods 0.000 claims description 4
- 241000452734 Eudoraea Species 0.000 claims 1
- 238000000151 deposition Methods 0.000 claims 1
- 230000003044 adaptive effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000012141 concentrate Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Abstract
The method can make at least one computer access to network through a network unit. It includes following steps: the computer sends out a data packet containing destination IP address; after the network unit receives the data packet, decides if it is a query packet of Address Resolution Protocol, if yes, then asks if the address of gateway preset by computer exists; if no, the address of adaptive card of network unit itself is returned to computer, and the network unit becomes the gateway of the computer in order to reach purpose of accessing to network without changing IP configuration.
Description
Technical field
The present invention is a kind of connecting method of exempting from setting network IP configuration, particularly about a kind of use network equipment (as modulator-demodulator, router, gateway or wireless network base stations ... Deng) allow computer network-connectable all under the setting of any network IP configuration automatically, and need not change the method for network IP configuration in the computer.
Background technology
Because popularizing of computer and network, make and utilize computer to pass through the some that transmission data in internet (Internet) have become people's daily life, yet the network connections of computer must be set its network IP configuration (Configure) and just can finish, on the network architecture of TCP/IP, every computer all must have its unique IP address, so the IP addressing becomes every most important mechanism of computer of identification on the network.Different network IP configurations can be set according to the difference of LAN (LAN) or Wide Area Network (WAN) in the IP address.
If two identical network IP configurations are arranged in the network, perhaps the network IP configuration and setting of computer is incorrect, or when the computer in the network moved to other different network, just must reset the network IP configuration in the computer, considerably trouble.
Especially at present mostly set up wireless network card (Wireless LAN Card) on the new-type mobile computer, can with a wireless network base stations (Wireless Access Point, WAP) carry out wireless link, by wireless network base stations can with the computer interconnection in other LAN, or connect the internet, therefore wireless network emerges, and more allows calculate that function is unrestraint within the specific limits to connect to the internet.
Yet the convenience of above-mentioned wireless network linking but is subject to the restriction on the network IP configuration and setting, therefore when computer moves to other heterogeneous networks, understand difference, and need reset the network IP configuration of computer because of its network ip address, so could connected network or online surfing the Internet.
For example, the network ip address of one office is 192.168.10.X, and employed network ip address is 192.168.1.1 in the family, when the computer that uses in office as the user is taken home and is used, just the IP address of computer must be changed to 192.168.1.1 can connect to the internet at home, when taking back office again, 192.168.10.X must be changed into again, company's network could be linked.
In summary, computer network is handy with right convenience, but the online setting of network IP configuration is not simple, no matter network IP configuration with regard to computer, or the online configuration of network equipment, be not that general user can finish setting easily, as long as any setting mistake is arranged, will cause can't online awkward situation.
To sum up, the inventor is to solve has inconvenience and shortcoming on the online configuration and setting of above-mentioned existing network, and computer is when moving to heterogeneous networks, the trouble that needs changed network IP configuration, be that the spy concentrates on studies and cooperates the utilization of scientific principle, a kind of connecting method of exempting from setting network IP configuration is proposed, can make computer under any network IP configuration, all can carry out network automatically by network equipment connects, and need not change any network IP configuration and setting, so be one reasonable in design and can effectively improve the invention of above-mentioned shortcoming.
Summary of the invention
The purpose of this invention is to provide a kind of connecting method of exempting from setting network IP configuration, can make arbitrary computer under any network IP configuration, all can carry out network automatically and connect, and not change any network IP configuration and setting by network equipment of the present invention.
For reaching above-mentioned purpose, the present invention mainly provides a kind of whole connecting method of exempting from setting network IP configuration, can allow at least one computer be online to a network by a network equipment, this method is at first sent a data packet that contains IP address, order ground by this computer, after this network equipment receives this data packet, judge whether to be an address translation agreement (Address ResolutionProtocol, ARP) inquiry package, if whether then confirm the default network gateway of this computer address again deposits, if do not exist then represent this computer transferred the networking place, and make the network gateway address incorrect, so this network equipment is back to this computer with the adapting card address (MACAddress) of itself, make this network equipment become the network gateway of this computer, be responsible for handling external transmission of data packets and the exchange of this computer, need do not revise the effect that the IP configuration is carried out transmission of data packets and exchange to finish.
Preferably, the present invention more provides above-mentioned whole connecting method of exempting from setting network IP configuration, wherein this network equipment is if judge the inquiry package that this data packet is not this address translation agreement (ARP), then represent not switching network more of this computer, so be to use the network gateway address that is preset in originally in the computer, carry out the transmission and the exchange of data packet by original network gateway.
Preferably, the present invention more provides above-mentioned whole connecting method of exempting from setting network IP configuration, wherein this network equipment is if judge the inquiry package of this data packet for this address translation agreement (ARP), but when confirming that the default network gateway of this computer exists, though representing this computer is to change online place, is to use the network gateway of presetting with computer to carry out the transmission and the exchange of data packet.
Description of drawings
Fig. 1 is a user mode schematic diagram of the present invention.
Fig. 2 is an automatically connect schematic flow sheet of the present invention.
Fig. 3 is an online detecting schematic flow sheet of the present invention.
Fig. 4 checks the schematic diagram of network port state for browser display.
Fig. 5 is the schematic diagram of browser display automatically connect ISP state.
The schematic diagram that Fig. 6 seeks to assist to the ISP dealer for browser display.And
Fig. 7 requires to re-enter the schematic diagram of number of the account, password for browser display.
10 computers
100 LAN
Network in 200 families
20 network gateways
300 Wide Area Networks
30 ADSL Modem
Embodiment
Reach technology, means and the effect that predetermined purpose is taked in order to make your juror can further understand the present invention, see also following about detailed description of the present invention and accompanying drawing, believe purpose of the present invention, feature and characteristics, go deep into and concrete understanding when getting one thus, yet appended graphic reference and the explanation usefulness of only providing not is to be used for the present invention is limited.
See also shown in Figure 1ly, be user mode schematic diagram of the present invention.The present invention solves computer 10 when first network moves to second network, need reset the trouble of the network IP configuration on the computer, and use a kind of connecting method of exempting from setting network IP configuration, and the invention process is that corporate local area network 100, the second networks are that network 200 is illustrated for example in the family with first network.
Being generally used in in-company LAN 100 is made up of the multi-section computer, and the IP address of sharing one or more groups, by a dynamic address communications protocol (Dynamic HostConfiguration Protocol, DHCP) the static IP address of distributing each computer in the LAN 100 automatically, or by manually setting the IP address, and all can be online to Wide Area Network 300 by in-company network gateway 20 or router, as the internet, when therefore this computer 10 uses in company, suppose that the IP address that the network gateway 20 of the said firm is made is 192.168.10.X, and the IP configuration of this computer is assumed to be 192.168.10.1.
When the user moves to this computer 10 in the family network 200, network 200 may use the ADSL that dials and connects in the family, be online to this Wide Area Network 300 by an ADSL Modem (ATU-R) 30, as the internet, therefore suppose that the network gateway IP address of this ADSL Modem 30 in the family should be 192.168.1.X, if the user sets up the IP address on their own, be not the network IP configuration that obtains with regard to this computer 10 of required change by DHCP be 192.168.1.1.
See also shown in Figure 2ly, be automatically connect schematic flow sheet of the present invention.The present invention has one zero configuration on-line programs (Zero configure connecting) for design in a network equipment, can make at least one computer 10 needn't changed network IP configuration and automatically connect in a network, this network equipment can for an ADSL Modem (ADSL Modem), cable modem (Cable Modem), router (Router), gateway (Gateway), hub (HUB), IP Wireless Router (Sharing) or wireless network base stations (Access Point, AP) ... or the like.
And this network can be a LAN (LAN) 100 or a Wide Area Network (WAN) 300, when the user will move in the family at this computer 10 that company uses, after the cable network card of this computer 10 is connected to this network equipment with grid line, perhaps this computer 10 uses wireless network card and this network equipment to carry out online, this network equipment automatically connect can be passed through to this network, and the IP configuration on this computer 10 needn't be changed.
The present invention's this zero employed mode of configuration on-line program in this network equipment at first user can be opened a browser (Browser) software, an Email (E-Mail) software on this computer 10, the software (step S100) of perhaps arbitrary tool network on-line function, at this moment, this computer 10 can be sent a data packet that contains IP address, order ground and go out (step S102), and this IP address, order ground can be the IP address of arbitrary server on the internet, as the network address of Yahoo, or be the IP address of arbitrary computer in the LAN.
After this network equipment receives the data packet that contains IP address, order ground that this computer 10 sent, then earlier judge whether this data packet is an address translation agreement (AddressResolution Protocol, ARP) inquiry package, and be not the adapting card address (MAC Address) (step S104) of inquiry network equipment itself.
When if this data packet is the inquiry package of this address translation agreement (ARP), then this network equipment can confirm whether default network gateway 20 addresses exist (step S106) in this computer 10, is 192.168.10.X as this computer 10 in default these network gateway 20 addresses of company, and this computer 10 moved in the family and when for the first time online, the network gateway address of this 192.168.10.X necessarily can't respond, that is does not exist.
At this moment, this network equipment can be given computer 10 (step S108) with adapting card address (MAC Address) passback of itself, allow this computer 10 data packet can be sent to the adapting card address (MAC Address) of this network equipment, make this network equipment become the network gateway (step S110) of this computer 10, be responsible for handling the data packet that this computer 10 is sent, become this computer 10 by this network equipment emulation again, the transmission and the exchange (step S112) of data packet are carried out in direct and this IP address, order ground.
Because each adapting card address (MAC Address) is unique in the network, as long as just can carry out online so the computer in the network is known the adapting card address (MACAddress) of this network gateway 20, therefore know the adapting card address (MAC Address) of this network equipment when this computer, can be directly carry out the transmission and the exchange of data packet according to this network adapting card address (MAC Address) and network equipment, so this computer 10 promptly can any IP configuration and the computer of IP address, arbitrary order ground carry out the transmission and the exchange of data packet.
Yet, if the received data packet of this network equipment is not the inquiry package (step S104) of this address translation agreement (ARP), then transmit data packet to this network gateway 20 according to default network gateway 20 addresses in this computer 10, transfer to this IP address, order ground (step S112) again through this network gateway 20, as in the network of company employed computer 10 be by this network gateway and outside Wide Area Network transmission data packet.
Again, if the received data packet of this network equipment is the inquiry package (step S104) of this address translation agreement (ARP), and also confirm that default network gateway 20 addresses are (the step S106) that exist in this computer 10, then transmit data packet to this network gateway 20 with default network gateway 20 addresses in this computer 10, transfer to this IP address, order ground (step S112) again through this network gateway 20, when the company that for example once more the computer that uses in the family moved to again is for the first time online.
And above-mentioned all be in the online all normal situation of all-network, when if this computer uses network equipment for the first time, when perhaps this network equipment can't connect network, the present invention has also designed the Auto-Sensing machine and has put, allowing user's setting network configuration again, is online detecting schematic flow sheet of the present invention as Fig. 3
Eds machine in network equipment of the present invention is put, in the time of at first can't transmitting or exchange this data packet (step S200) as if this computer 10, then this network equipment is sent an information to this computer 10, make display requirement user on the browser of this computer 10 check the on line state (step S202) of the network port of this network equipment, as shown in Figure 4.
This moment is after if the user checks that the network port connection of network equipment is errorless, when this computer 10 still can't transmit or exchange this data packet (step S204), this network equipment can be checked the on line state with local side, as the ISP dealer, and reconnect automatically, and the information of sending requires the user to wait for for a moment (step S206), as shown in Figure 5 to the browser of this computer.
If reconnect when still failing automatically, the information of then sending is to the browser of this computer, and demonstrating the user should seek to assist to the ISP dealer, as shown in Figure 6.
Or after reconnecting successfully automatically, still can't on-line network (step S208), then this network equipment can be checked number of the account under the PPPoE operator scheme and password whether wrong (step S210), when if PPPoE replys number of the account and password mistake, the information of then sending requires the user to re-enter number of the account, password (step S212), as shown in Figure 7 to the browser of this computer, and store number of the account and the password that the user inputed, to finish the purpose of automatically connect.
To sum up, the present invention really can provide a kind of far different in known person's design by above-mentioned disclosed technology, may be able to improve whole use value, do not see publication or public use before its application again, really met the important document of patent of invention, propose application for a patent for invention in accordance with the law.
But above-mentioned disclosed graphic, explanation only be embodiments of the invention, all be skillful in this skill person ought be able to do other all improvement according to above-mentioned explanation, and these changes still belong in invention spirit of the present invention and the scope.
Claims (10)
1. a connecting method of exempting from setting network IP configuration can allow at least one computer be online to a network by a network equipment, and this method comprises:
A. this computer is sent a data packet that contains IP address, order ground:
B. after this network equipment receives this data packet, judge whether this data packet is the inquiry package of an address translation agreement;
If c. this address translation agreement inquiry package confirms then whether is depositing default network gateway address in this computer: reach
D. if this network gateway does not exist, the adapting card address of then transmitting this network equipment makes this network equipment become the network gateway of this computer to this computer, is responsible for this computer of transmission and this internetwork transmission of data packets and exchange.
2. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, this network equipment is an ADSL Modem, cable modem, router, gateway, hub, IP Wireless Router or wireless network base stations.
3. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, this network is a LAN or a Wide Area Network.
4. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, before this a. step, more comprises:
On this computer, open the software of a browser software, an EUDORA or arbitrary tool network on-line function.
5. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, in this a. step, this IP address, order ground is the IP address of arbitrary server on the internet, or is the IP address of arbitrary computer in the LAN
6. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, in this a. step, this computer is undertaken online by at least one cable network card or at least one wireless network card and this network equipment.
7. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, after this b. step, more comprises:
If this data packet is not the inquiry package of this address translation agreement, then transmit data packet to this network gateway according to default network gateway address in this computer, transfer to this IP address, order ground again through this network gateway.
8. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, after the d. step, more comprises:
If this network gateway exists, then transmit data packet to this network gateway according to default network gateway address in this computer, transfer to this IP address, order ground again through this network gateway.
9. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, more comprises after the d. step:
If in the time of can't transmitting or receive this data packet, the display requirement user checks the on line state of this data set and this network on this computer.
10. connecting method of exempting from setting network IP configuration as claimed in claim 1 is characterized in that, more comprises after the d. step:
If in the time of can't transmitting or receive this data packet, whether this data set is checked with the number of the account and the password of this network on-line correct;
If wrong then on this computer the display requirement user re-enter online number of the account and password; And
Store number of the account and password that the user inputed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410048186 CN1713601A (en) | 2004-06-21 | 2004-06-21 | On-line method for IP configuration of set-free network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410048186 CN1713601A (en) | 2004-06-21 | 2004-06-21 | On-line method for IP configuration of set-free network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1713601A true CN1713601A (en) | 2005-12-28 |
Family
ID=35719044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410048186 Pending CN1713601A (en) | 2004-06-21 | 2004-06-21 | On-line method for IP configuration of set-free network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1713601A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102196055A (en) * | 2010-03-12 | 2011-09-21 | 正文科技股份有限公司 | Network interface selection method and network device |
CN104811329A (en) * | 2014-01-27 | 2015-07-29 | 台达电子工业股份有限公司 | Network card with searching capability, monitoring device and searching method of network card with searching capability |
CN114172672A (en) * | 2020-08-20 | 2022-03-11 | 台众计算机股份有限公司 | Method for blocking network connection for dual-mode switching |
-
2004
- 2004-06-21 CN CN 200410048186 patent/CN1713601A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102196055A (en) * | 2010-03-12 | 2011-09-21 | 正文科技股份有限公司 | Network interface selection method and network device |
CN102196055B (en) * | 2010-03-12 | 2014-02-05 | 正文科技股份有限公司 | Network interface selection method and network device |
CN104811329A (en) * | 2014-01-27 | 2015-07-29 | 台达电子工业股份有限公司 | Network card with searching capability, monitoring device and searching method of network card with searching capability |
CN104811329B (en) * | 2014-01-27 | 2018-11-20 | 台达电子工业股份有限公司 | Have network card, monitoring device and its method for searching of search capability |
CN114172672A (en) * | 2020-08-20 | 2022-03-11 | 台众计算机股份有限公司 | Method for blocking network connection for dual-mode switching |
CN114172672B (en) * | 2020-08-20 | 2024-02-27 | 台众计算机股份有限公司 | Method for blocking network connection by double-mode switching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1232080C (en) | Method of providing internal service apparatus in network for saving IP address | |
US20040243710A1 (en) | Method of user data exchange in the data network and a data network | |
CN102170380B (en) | Method and device for accessing outer network from inner network | |
US8190773B2 (en) | System and method for accessing a web server on a device with a dynamic IP-address residing behind a firewall | |
US20010054101A1 (en) | Server and method to provide access to a network by a computer configured for a different network | |
CN1216657A (en) | Internet protocol filter | |
CN100380902C (en) | Method for connection of data terminal devices to data network | |
WO2001015397A1 (en) | On-demand connection system for internet services | |
US20050229238A1 (en) | Method and device to determine the network environment and configure a network gateway | |
CN1946034A (en) | Method for controlling network appliance and accessing and configuring a network appliance | |
EP1240764B1 (en) | Server and method provide access to a network | |
CN1402466A (en) | Device and method for data communication | |
US20090113041A1 (en) | System and method for providing an intelligent wireless network | |
US20030018814A1 (en) | Method of letting a single LAN port voice over IP device have network address translation function | |
CN1553642A (en) | Method for building special analog network | |
CN1713601A (en) | On-line method for IP configuration of set-free network | |
CN1947455A (en) | Supporting a network behind a wireless station | |
CN104506665B (en) | Distinguish method and system in a kind of IPv4/IPv6 addresses | |
CN106713528A (en) | Home gateway and method of IPv6 host to access network server | |
CN1130879C (en) | Method and system for remote access to LAN | |
CN1230766C (en) | A method of simplified access of internet service provider's portal websites | |
CN1259788C (en) | Radio local network apparatus | |
CN1444363A (en) | Method for implementing Ethernet local area network in public place | |
CN1281031C (en) | Method and device for connecting wide hand network user into Internet | |
Cisco | Configuring Asynchronous SLIP and PPP |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20051228 |