KR100259695B1 - Method of managing lan gateway - Google Patents

Method of managing lan gateway Download PDF

Info

Publication number
KR100259695B1
KR100259695B1 KR1019980009430A KR19980009430A KR100259695B1 KR 100259695 B1 KR100259695 B1 KR 100259695B1 KR 1019980009430 A KR1019980009430 A KR 1019980009430A KR 19980009430 A KR19980009430 A KR 19980009430A KR 100259695 B1 KR100259695 B1 KR 100259695B1
Authority
KR
South Korea
Prior art keywords
packet
address
host
lan
lan gateway
Prior art date
Application number
KR1019980009430A
Other languages
Korean (ko)
Other versions
KR19980019456A (en
Inventor
홍재우
Original Assignee
김용만
주식회사텔리맨
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 김용만, 주식회사텔리맨 filed Critical 김용만
Priority to KR1019980009430A priority Critical patent/KR100259695B1/en
Publication of KR19980019456A publication Critical patent/KR19980019456A/en
Application granted granted Critical
Publication of KR100259695B1 publication Critical patent/KR100259695B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

PURPOSE: A method for operating a LAN gateway of a satellite Internet network is provided to be connected to a LAN through IP packet changing of the LAN gateway assigned with a single IP address in a packet data transceiving process using a satellite, and to make each host not-assigned with IP addresses connect with an Internet network. CONSTITUTION: An IP(Internet Protocol) packet relating to a service request from an optional host is detected. The optional host is not assigned with an IP address in a LAN connected with a LAN gateway(20), which is assigned with an IP(Internet Protocol) address. If the IP packet is detected from the optional host, the LAN gateway(20) registers the IP packet in a map table, and changes a source IP address and a port number of the IP packet into a self IP address and a set virtual port number, then routes the changed IP address and the virtual port number to an Internet network(40). An IP packet received through a satellite(80) by being outputted from an optional server is restored to an IP packet of the registered host. The restored IP packet is transmitted to the service requesting host through the LAN.

Description

위성 인터넷 망의 랜 게이트웨이 운용방법LAN Gateway Operation Method of Satellite Internet

본 발명은 위성 인터넷 통신방법에 관한 것으로, 보다 상세하게는 위성(satellite)을 이용한 패킷 데이터의 송수신에서 단일의 IP 어드레스가 할당된 랜 게이트웨이(gateway)의 IP 패킷 변경을 통해 랜망에 접속되며 IP 어드레스가 할당되지 않은 다수개의 호스트 각각이 인터넷 망을 접속하여 IP 패킷의 송수신을 실행할 수 있도록 한 위성 인터넷 망의 랜 게이트웨이 운용방법에 관한 것이다.The present invention relates to a satellite Internet communication method, and more particularly, is connected to a LAN network by changing an IP packet of a LAN gateway to which a single IP address is assigned in the transmission and reception of packet data using a satellite. The present invention relates to a LAN gateway operating method of a satellite Internet network in which a plurality of hosts, each of which is not assigned, can access an Internet network and transmit and receive IP packets.

일반적으로 정보의 "바다"라 하는 인터넷 망에는 자신의 IP 어드레스(internet protocol address)를 갖는 많은 서버들이 접속되어 있어 다양한 정보가 수록되며, 통신망을 통한 서버의 접속으로 필요로 하는 정보를 어느 곳에서나 받아 볼 수 있는데, 인터넷 망을 접속하기 위해서는 호스트 각각은 자신의 IP 어드레스를 할당받아 가지고 있어야 하므로, 공인 기관이 부여한 IP 어드레스를 받지 못한 호스트의 경우 인터넷 망을 접속할 수 없는 문제점이 있으며, 랜망에 접속된 각각의 호스트가 IP 어드레스를 할당받는 경우 그에 따른 비용의 부담이 발생되는 문제점이 있었다.In general, the Internet network, which is called the “sea” of information, is connected to many servers having its own IP address (internet protocol address), and various information is stored therein. In order to access the Internet network, each host must have their own IP address, so in the case of a host that does not receive an IP address assigned by a public authority, the host cannot access the Internet network. When each host is assigned an IP address, there is a problem in that a cost burden occurs.

따라서, 종래의 인터넷 통신에서는 인터넷 망에 접속한 한 대의 컴퓨터를 이용하여 같은 랜망에 연결되어 있는 다수개의 호스트 각각이 별도의 장비 추가나 소프트웨어의 변경을 실행하지 않은 상태에서 인터넷 망을 접속하기 위해서는 대리 서버(proxy sever)를 이용하고 있다.Therefore, in the conventional Internet communication, a surrogate server is used to access the Internet network in which a plurality of hosts connected to the same LAN network using one computer connected to the Internet network do not perform additional equipment or software change. I am using (proxy sever).

상기에서 대리 서버를 구현하는 방법은 인터넷 표준인 SOCKS 프로토콜을 이용하는 방법과 대리 서버가 인터넷 상의 서버로부터 연결 정보를 가져와서 이것이 자신의 대리 서버가 제공하는 것처럼 보이게 하는 소켓 릴레이(socket relay)방법 및 서버상에 특정한 어플리케이션 프로토콜(예를들어 http, ftp, smtp…)을 지원하는 각각의 프로그램을 준비하는 어플리케이션 대리 방법등이 사용되고 있다.The above method of implementing a surrogate server uses the SOCKS protocol, which is an Internet standard, and a socket relay method and server, in which a surrogate server gets connection information from a server on the Internet and makes it appear to be provided by its surrogate server. Application surrogate methods for preparing respective programs supporting specific application protocols (e.g. http, ftp, smtp…) are used.

상기에서 SOCKS 프로토콜의 경우 인터넷의 통신 프로토콜인 TCP/IP(transmission control protocol/internet protocol)를 이용하는 어플리케이션은 SOCKS 프로토콜을 지원하여야 하지만 실질적으로 지원하는 어플리케이션은 그리 많지 않은 상태이며, 운영체계에서 SOCKS 프로토콜을 지원하는 경우에는 어플리케이션이 SOCKS을 지원할 필요가 없지만 이런 운영체계는 거의 없는 실정이다.In the case of the SOCKS protocol, an application using the transmission control protocol / internet protocol (TCP / IP), which is an Internet communication protocol, must support the SOCKS protocol, but there are not many applications that actually support the SOCKS protocol. If it does, the application does not need to support SOCKS, but there are few such operating systems.

또한, 소켓 릴레이 방법의 경우 랜망의 호스트가 어떤 어플리케이션을 수행하면 그에 해당하는 소켓을 대리 서버 상에 동일하게 오픈(open)하고 그 사이에 오가는 데이터들을 서로에게 제공하는데, 이는 서로 다른 IP 어드레스를 가진 각 서버들의 패킷 데이터가 전달되기 때문에 프로토콜의 종류에 따라 동작하지 않는 문제점이 발생한다.In addition, in the case of the socket relay method, when a LAN network host executes an application, the corresponding socket is equally opened on the surrogate server and data to and from each other is provided to each other, which has different IP addresses. Since packet data of each server is transmitted, there is a problem in that it does not work according to the type of protocol.

또한, 어플리케이션 대리 방법의 경우 랜망의 호스트가 인터넷 상의 임의의 서버에 패킷 데이터의 억세스를 위한 요청을 하면 어플리케이션 대리 프로그램은 자신이 마치 서버인 것처럼 그 요청을 받아들인 다음 호스트가 IP 어드레스를 통해 지정하는 원래의 서버에게 데이터의 억세스 요청에 대한 신호를 전송한다.In addition, in the case of the application proxy method, when a LAN network host makes a request for access to packet data to an arbitrary server on the Internet, the application proxy program accepts the request as if it is a server, and then the host designates an IP address. It sends a signal to the original server for a request to access data.

이후, 지정된 서버로부터 랜망의 호스트가 요청한 패킷 데이터가 어플리케이션 대리 프로그램에 전송되면 어플리케이션 대리 프로그램은 서버로부터 전송되어온 패킷 데이터에 지정된 IP 어드레스에 따라 데이터의 억세스를 요청한 랜망의 호스트 측에 전송한다.Thereafter, when the packet data requested by the host of the LAN network from the designated server is transmitted to the application agent program, the application agent program transmits the data to the host side of the LAN network that has requested access to the data according to the IP address specified in the packet data transmitted from the server.

상기와 같은 어플리케이션 대리 프로그램의 경우 오버 헤드(over head)가 많이 발생하지만 프로그램에 각 프로토콜의 특성을 반영하도록 구현함으로써 오버 헤드를 줄일 수 있는 장점이 있다.In the case of the application proxy program as described above, a lot of overhead occurs, but the overhead can be reduced by implementing the program to reflect the characteristics of each protocol.

특히, http 대리의 경우 요청에 대한 http 서버의 응답을 캐시(cash)해 놓으므로써 이후의 동일한 요청에 대해 빠른 응답을 할 수 있는 장점이 있으나, 이 경우 하드웨어의 성능과 용량이 확장되어야 하므로 많은 비용이 요구되며, 프로그램된 프로토콜 이외에는 지원할 수 없는 문제점이 발생한다.Especially, in case of http proxy, the http server's response to the request can be cached, so it is possible to respond quickly to the same request afterwards, but in this case, the hardware performance and capacity must be expanded. This is required and a problem arises that cannot be supported other than the programmed protocol.

본 발명은 전술한 바와 같은 제반적인 문제점을 감안한 것이다. 그 해결을 위한 방법은 첫째, 인터넷 망에 접속된 서버와 랜망에 접속된 임의의 호스트간의 패킷 송수신이 발생하였을 때, 임의의 호스트로부터 인터넷 망의 임의의 서버 접속을 요구하는 IP 패킷이 기본 게이트웨이(default gateway)로 설정된 랜 게이트웨이로 인가된다. 둘째, 그 호스트의 IP 패킷의 소스(source) IP 어드레스는 랜 게이트웨이에 할당된 단일의 IP 어드레스로 변환되고, 또한 IP 패킷의 소스(source) 포트는 랜 게이트웨이가 활용할 수 있는 새로운 포트번호로 변환하여 서버로 보내진다. 셋째, 변환되어 보내질 때 임의의 호스트의 소스 IP 어드레스와 소스 포트 번호를 랜 게이트웨이 내의 테이블에 설정한다. 넷째, 서버로 보내진 패킷은 처리되고, 그 요청에 해당하는 결과 패킷은 위성을 통해 보내진다. 위성으로 보내진 패킷은 위성을 통해 지상으로 보내진다. 다섯째, 지상의 수신기로 수신되는 모든 패킷을 랜 게이트웨이의 맵 테이블에 설정된 호스트 IP 패킷 어드레스와 비교 분석하여 데이터 억세스를 요청한 호스트의 IP 패킷이 검출되는 경우 수신된 IP 패킷의 IP 어드레스와 포트번호를 서비스 접속을 요구한 호스트의 IP 패킷으로 복원시켜 랜망을 통해 해당 호스트 측으로 전송한다. 이런 방법을 통해서 랜망에 위치한 호스트들은 호스트의 하드웨어나 소프트웨어의 변경을 하지 않고 인터넷에 접속할 수 있게 된다. 또한 대리 서버에서 발생하는 문제인 프로토콜의 의존성을 배제할 수 있다.The present invention has been made in view of the above-mentioned general problems. First of all, when packet transmission and reception occurs between a server connected to the Internet network and any host connected to the LAN network, an IP packet requesting access to an arbitrary server on the Internet network from any host is transferred to the default gateway ( It is applied to LAN gateway set as default gateway. Second, the source IP address of the IP packet of the host is converted into a single IP address assigned to the LAN gateway, and the source port of the IP packet is converted into a new port number that the LAN gateway can utilize. Sent to the server. Third, the source IP address and source port number of any host are set in a table in the LAN gateway when converted and sent. Fourth, the packet sent to the server is processed, and the resulting packet corresponding to the request is sent via satellite. Packets sent to the satellite are sent to the ground via the satellite. Fifth, all packets received by the terrestrial receivers are compared and analyzed with the host IP packet address set in the map table of the LAN gateway, and when the IP packet of the host requesting data access is detected, the IP address and port number of the received IP packet are serviced. It restores the IP packet of the host requesting connection and transmits it to the host through LAN. This way, hosts on the LAN can access the Internet without changing the host's hardware or software. You can also rule out protocol dependencies, which are problems with the surrogate server.

또한, 본 발명은 랜망에 접속되며 IP 어드레스를 할당받지 않은 호스트의 데이터 억세스에 대한 IP 패킷이 ISP로 부터 단일 어드레스가 할당된 랜 게이트웨이의 단일 IP 어드레스로 변경되도록 함으로서, 등록없이 사용할 수 있는 서버의 영역을 명시한 RFC 1597 권고안의 전용 어드레스 영역을 사용할 수 있도록 하여 ISP와의 관련이 없이도 랜망에 접속되는 각각의 호스트에 IP 어드레스를 부여할 수 있도록 한 것이다.In addition, the present invention allows the IP packet for data access of a host connected to the LAN network and not assigned an IP address to be changed from a ISP to a single IP address of a LAN gateway to which a single address is assigned, thereby allowing the server to be used without registration. This allows the use of dedicated address spaces in RFC 1597 Recommendations that specify zones so that each host connected to the LAN can be assigned an IP address without the need for an ISP.

도 1은 본 발명에 따른 인터넷 통신망의 구성 및 IP 패킷의 전송 흐름을 보인 일 예시도이고,1 is a diagram illustrating a configuration of an internet communication network and a transmission flow of an IP packet according to the present invention;

도 2는 도 1에서 본 발명의 랜 게이트웨이에 대한 개략적인 구성도이며,FIG. 2 is a schematic diagram of a LAN gateway of the present invention in FIG.

도 3은 도 1의 랜 게이트웨이에서 라우팅 모듈의 IP 패킷의 관리 계통도이며,3 is a schematic diagram illustrating management of an IP packet of a routing module in the LAN gateway of FIG.

도 4의 (a) 내지 (d)는 랜 게이트웨이의 단일 IP 어드레스 할당을 통한 IP 패킷의 송수신 관계를 보인 패킷 구성 일 예시도이다.4 (a) to (d) is an example of a packet configuration showing the transmission and reception of the IP packet through a single IP address allocation of the LAN gateway.

상기한 바와 같은 목적을 달성하기 위한 본 발명은,ISP로 부터 IP 어드레스가 할당된 랜 게이트웨이와 동일 랜망에 접속되며, ISP로 부터 IP 어드레스가 할당되지 않은 임의의 호스트가 인터넷 망의 서버로부터 서비스 억세스가 요구되는 경우 상기 랜 게이트웨이의 IP 어드레스 변경 및 복원을 통한 패킷의 전송으로 상기 호스트가 해당 서버로부터 요구된 패킷을 수신할 수 있도록 하는 것을 특징으로 한다.According to the present invention for achieving the above object, any host that is connected to the same LAN as a LAN gateway to which an IP address is assigned from an ISP, and that any host whose IP address is not assigned from an ISP, accesses a service from a server on the Internet network. Is required, the host may receive the requested packet from the corresponding server by transmitting the packet through the IP address change and restoration of the LAN gateway.

또한, 본 발명은 IP 어드레스를 할당받은 랜 게이트웨이가 접속된 랜망에 IP 어드레스를 할당받지 못한 임의의 호스트로부터 서비스 요청에 대한 IP 패킷을 검출하는 과정과;The present invention also provides a method of detecting an IP packet for a service request from an arbitrary host that has not been assigned an IP address to a LAN to which a LAN gateway to which an IP address has been assigned is connected;

상기 임의의 호스트로부터 IP 패킷이 검출되는 경우 랜 게이트웨이는 검출되는 호스트의 IP 패킷을 맵 테이블에 등록한 다음 상기 IP 패킷의 소오스 IP 어드레스와 포트 번호를 자신의 IP 어드레스 및 설정된 가상의 포트 번호로 변경하여 인터넷 망으로 라우팅 하는 과정과;When an IP packet is detected from any host, the LAN gateway registers the detected IP packet in the map table, and then changes the source IP address and port number of the IP packet to its own IP address and a set virtual port number. Routing to the Internet;

상기의 라우팅을 통해 지정된 임의의 서버로부터 출력되어 위성을 통해 수신되는 IP 패킷을 상기 등록된 호스트의 IP 패킷으로 복원한 다음 랜을 통해 서비스 요청한 호스트측에 전송하는 과정을 포함하는 것을 특징으로 한다.And restoring the IP packet outputted from any server designated through the routing to the IP packet of the registered host, and then transmitting the received IP packet to the host requesting a service through a LAN.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 일 실시예를 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1에서 알 수 있는 바와 같이 본 발명에 따른 인터넷 통신망의 구성은, 복수개의 호스트(10a-10n)와, 랜 게이트웨이(20), 라우터(30)(60), 인터넷 망(40), 복수개의 서버(50a-50n), 업링크 사이트(70) 및 위성(80)으로 이루어지는데, 복수개의 호스트(10a-10n)는 동일 랜망에 접속되며, ISP로 부터 IP 어드레스를 할당 받지 않으나 ISP와 관련없이 자신의 IP 어드레스가 할당되고, 인터넷 망에 접속된 임의의 서버로부터 패킷 억세스를 욕구하는 경우 자신의 IP 어드레스를 이용하여 패킷 서비스의 요청을 실행한다.As can be seen in Figure 1, the configuration of the Internet communication network according to the present invention, a plurality of hosts (10a-10n), LAN gateway 20, router 30 (60), Internet network 40, a plurality of Server 50a-50n, uplink site 70, and satellite 80, where a plurality of hosts 10a-10n are connected to the same LAN and are not assigned an IP address from an ISP, When its own IP address is assigned and a packet access is desired from any server connected to the Internet, a packet service request is executed using its own IP address.

랜 게이트웨이(20)는 ISP로 부터 인터넷 망을 접속할 수 있는 단일의 IP 어드레스를 할당받아 갖고 있으며 임의의 호스트(10a-10n)로 부터 임의의 서버(50a-50n)를 접속하고자 하는 IP 패킷이 검출되는 경우 호스트(10a-10n)의 IP 패킷을 자신의 IP 패킷으로 변경시켜 호스트가 지정한 서버(50a-50n)를 연결함과 동시에 서버의 접속 요구에 대응하는 포트 번호를 저장한다.The LAN gateway 20 has a single IP address assigned to access the Internet network from an ISP and detects an IP packet for accessing an arbitrary server 50a-50n from an arbitrary host 10a-10n. In this case, the IP packet of the host 10a-10n is changed into its own IP packet, and the server 50a-50n designated by the host is connected to the server, and the port number corresponding to the connection request of the server is stored.

또한, 위성(80)으로 부터 수신되는 모든 IP 패킷을 맵 테이블에 설정되어 있는 IP 어스레스 및 포트 번호와 비교한 다음 수신된 IP 패킷의 목적지 IP 어드레스에 해당하는 호스트의 IP 어드레스와 포트 번호가 검출되는 경우 수신된 IP 패킷을 검출된 호스트(10a-10n)의 IP 패킷으로 복원하여 랜망을 통해 해당 호스트(10a-10n)측으로 전송한다.In addition, all IP packets received from the satellite 80 are compared with the IP address and port number set in the map table, and then the IP address and port number of the host corresponding to the destination IP address of the received IP packet are detected. When the received IP packet is restored to the IP packet of the detected host 10a-10n and transmitted to the corresponding host 10a-10n through the LAN.

라우터(30)는 랜 게이트웨이(20)에서 인가되는 IP 패킷의 헤더에 지정된 목적지 IP 어드레스를 분석한 다음 지정된 경로의 라우터 측으로 인가되는 IP 패킷을 전송하고, 라우터(60)는 임의의 서버(50a-50n)로 부터 인터넷 망을 통해 수신되는 IP패킷의 헤더(header)에 지정된 목적지 IP 어드레스를 분석한 다음 인가되는 IP 패킷을 지정된 경로로 전송한다.The router 30 analyzes the destination IP address specified in the header of the IP packet authorized by the LAN gateway 20, and then transmits the IP packet applied to the router side of the designated path, and the router 60 sends an arbitrary server 50a-. 50n) analyzes the destination IP address specified in the header of the IP packet received through the Internet, and then transmits the authorized IP packet to the designated path.

서버(50a-50n)는 자신의 IP 어드레스와 각종 정보를 가지고 인터넷 망(30)에 접속되며, 패킷 데이터의 억세스가 요구되는 경우 해당 데이터를 판독한 다음 IP 패킷으로 형성시켜 지정된 경로의 라우터로 전송한다.The server 50a-50n is connected to the Internet network 30 with its IP address and various information. When the packet data is required to be accessed, the server 50a-50n reads the data, forms it as an IP packet, and transmits it to the router of the designated path. do.

업링크 사이트(70)는 서버(50a-50n)로 부터 상기 라우터(60)의 중계를 통해 인가되는 IP 패킷을 위성 통신에 필요한 TCP/IP 프로토콜의 DVB(digital video broadcast)패킷으로 변환시킨 다음 설정된 대역의 주파수로 송출한다.The uplink site 70 converts an IP packet applied from the server 50a-50n through the relay of the router 60 into a digital video broadcast (DVB) packet of the TCP / IP protocol required for satellite communication. It transmits at the frequency of band.

상기에서 랜 게이트웨이(20)는 도 2에서 알 수 있는 바와 같이, 위성(70)으로 부터 안테나(ANT2)를 통해 TCP/IP 프로토콜로 수신되는 모든 패킷을 수신하는 위성 수신 카드(23)와, 상기 수신된 패킷의 헤더에 설정되어 있는 IP 어드레스와 포트 번호를 맵 테이블에 설정된 호스트의 IP 어드레스와 분석하여 호스트의 IP 어드레스와 포트 번호를 검출한 다음 패킷 억세스를 요구한 호스트의 IP 어드레스와 포트 번호로 복원하는 라우팅 모듈(22) 및, 상기 복원된 IP 패킷을 소정의 상태로 처리한 다음 랜망을 통해 해당 호스트측에 출력하는 랜 카드(83)로 이루어진다.As shown in FIG. 2, the LAN gateway 20 includes a satellite reception card 23 for receiving all packets received from the satellite 70 through the TCP / IP protocol through the antenna ANT2, and The IP address and port number set in the header of the received packet are analyzed with the IP address of the host set in the map table to detect the host's IP address and port number, and then to the IP address and port number of the host requesting packet access. A routing module 22 for restoring, and a LAN card 83 for processing the restored IP packet in a predetermined state and then outputting the packet to a corresponding host through a LAN.

상기에서 라우팅 모듈(22)의 IP 패킷의 관리 계통은 도 3에서 알 수 있는 바와 같이, 랜망과 인터넷 망 및 위성 수신 카드(23)와 연결되어 송수신 되는 IP 패킷을 지정된 경로로 드라이브하는 네트웍 디바이스층과, 송수신되는 IP 패킷의 헤더에 지정된 IP 어드레스를 분석 처리하는 IP 어드레스 처리층과, 상기 처리된 각 호스트의 IP 어드레스와 포트넘버를 관리하는 맵 테이블 관리층 및, 상기 처리되는 각 호스트의 IP 어드레스와 포트넘버 및 관리에 필요한 정보를 저장하는 맵 테이블로 이루어진다.As shown in FIG. 3, the management system of the IP packet of the routing module 22 is a network device layer connected to the LAN network, the Internet network, and the satellite reception card 23 to drive IP packets transmitted and received in a designated path. And an IP address processing layer for analyzing and processing an IP address specified in a header of an IP packet to be transmitted and received, a map table management layer for managing IP addresses and port numbers of each of the processed hosts, and an IP address of each of the processed hosts. And a map table that stores port numbers and information needed for management.

전술한 바와 같은 기능을 구비하여 이루어지는 본 발명에서 ISP로부터 IP 어드레스를 할당받지 않은 호스트와 서버의 패킷 통신 동작을 설명하면 다음과 같다.In the present invention having the functions described above, packet communication operations of a host and a server not assigned an IP address from an ISP will be described as follows.

일예를 들어 ISP로 부터 "200,200,200,1"의 단일 IP 어드레스를 할당받은 랜 게이트웨이(20)가 접속되는 동일의 랜 통신망 상에 접속되며 ISP로 부터 IP 어드레스를 할당받지 않았으나 일예를 들어 "200,200,200,200"의 IP 어드레스를 갖고 있는 임의의 호스트(10a)가 인터넷 망 상에 있는 일예를 들어 "100,100,100,100"의 IP 어드레스를 갖는 임의의 서버(50a)로 부터 서비스를 받고자 하는 경우에 대하여 설명하면 다음과 같다.For example, the LAN gateway 20, which is assigned a single IP address of "200, 200, 200, 1" from an ISP, is connected to the same LAN network to which it is connected, and has not been assigned an IP address from the ISP. A case in which an arbitrary host 10a having an IP address is intended to receive a service from an arbitrary server 50a having an IP address of "100, 100, 100, 100", for example, will be described below.

호스트(10a)가 인터넷 망(40)에 접속되어 있는 서버(50a)로 부터 서비스를 제공받기 위하여 서버(50a)를 대상으로 도 4의 (a)에서 알 수 있는 바와 같이, 소오스 IP 어드레스를 "200,200,200,200", 소오스 포트 번호 "2000", 목적지 IP 어드레스 "100,100,100,100", 목적지 포트 번호 "80" 으로 하는 IP 패킷을 형성시켜 출력하게 되면 호스트(10a)에서 출력되는 디폴트 게이트웨이(default gateway)는 랜 게이트웨이(20)로 지정되어 있기 때문에 상기의 IP 패킷은 랜 게이트웨이(20)측으로 전송된다.As shown in (a) of FIG. 4 of the server 50a in order for the host 10a to receive a service from the server 50a connected to the Internet network 40, the source IP address is " 200,200,200,200 ", source port number" 2000 ", destination IP address" 100,100,100,100 ", and destination port number" 80 "are formed and outputted, the default gateway (default gateway) output from the host 10a is a LAN gateway ( 20, the above IP packet is transmitted to the LAN gateway 20 side.

상기에서 호스트(10a)의 포트 번호는 "2000"으로 가정한다.In the above, it is assumed that the port number of the host 10a is "2000".

이때, ISP로 부터 단일 IP 어드레스를 할당받아 가지고 있는 랜 게이트웨이(20)는 랜망을 통해 상기 호스트(10a)로 부터 인가되는 IP 패킷을 라우팅 모듈(22)을 통해 도 4의 (b)에서 알 수 있는 바와 같이 "200,200,200,200"으로 이루어지는 소오스 IP 어드레스와 "2000" 으로 이루어지는 소오스 포트 번호를 랜 게이트웨이(20)의 IP 어드레스인 "200,200,200,1"로 소오스 IP 어드레스를 변경하고, 소오스 포트 번호를 "3000"으로 변경한 다음 변경된 내용의 도 3의 맵 테이블 관리층을 통해 맵 테이블에 저장한다.At this time, the LAN gateway 20 having a single IP address assigned from the ISP can recognize the IP packet authorized from the host 10a through the LAN network in FIG. 4B through the routing module 22. As shown, the source IP address of "200,200,200,200" and the source port number of "2000" are changed to "200,200,200,1", which is the IP address of the LAN gateway 20, and the source port number is "3000". After changing to, the changed contents are stored in the map table through the map table management layer of FIG. 3.

상기에서 랜 게이트웨이(20)에 설정한 포트 번호중에서 기 사용되지 않아 사용 가능한 소오스 포트 번호가 "3000"이라고 가정한다.It is assumed that the source port number which is not used among the port numbers set in the LAN gateway 20 is "3000".

또한, 서버스 요구를 위한 IP 패킷의 헤더 정보가 변경되었으므로 도 3의 네트웍 디바이스층 및 IP 어드레스 처리층은 IP 패킷 헤더의 "checksum"을 다시 계산한 다음 연산된 결과를 패킷 "checksum"으로 하고, 이 IP 패킷을 네트웍의 라우터(30)를 통해 인터넷 망(40)으로 전송한다.In addition, since the header information of the IP packet for the server request has been changed, the network device layer and the IP address processing layer of FIG. 3 recalculate " checksum " of the IP packet header, and then calculate the calculated result as a packet " checksum " The IP packet is transmitted to the internet network 40 through the router 30 of the network.

상기와 같이 라우터(30) 및 인터넷 망(40)의 지정을 통해 상기 랜 게이트웨이(20)에서 출력된 도 4의 (b)와 같은 IP 패킷은 호스트(10a)가 서비스 요구시 지정한 서버(50a)측에 전송된다.As described above, the IP packet shown in FIG. 4B output from the LAN gateway 20 through the designation of the router 30 and the Internet network 40 is a server 50a designated by the host 10a at the time of service request. Is sent to the side.

이때, 서버(50a)는 수신된 IP 패킷을 분석한 다음 요구된 서비스에 따라 그에 대한 결과를 패킷으로 형성하여 전송하는데, 형성되는 패킷은 송수신자가 바뀌어진 상태이므로 서버(50a)는 도 4의 (c) 에서 알 수 있는 바와 같이, 소오스 IP 어드레스를 서버(50a)의 IP 어드레스인 "100,100,100,100"으로 하고, 소오스의 포트 번호를 서버(50a)의 포트 번호인 "80"으로 하며, 목적지 IP 어드레스를 랜 게이트웨이(20)의 IP 어드레스인 "200,200,200,1"로 하고, 목적지 포트 번호를 "3000"으로 하는 패킷을 형성하여 인터넷 망(40) 상에 출력하면, 출력되는 패킷은 라우터(60)를 통해 업링크 사이트(70)측으로 라우팅 된다.At this time, the server 50a analyzes the received IP packet and then forms and transmits the result of the packet according to the requested service. Since the formed packet is in a state where the transceiver is changed, the server 50a may be configured as shown in FIG. As can be seen from c), the source IP address is set to "100, 100, 100, 100" which is the IP address of the server 50a, the port number of the source is set to "80" which is the port number of the server 50a, and the destination IP address is set. When a packet having the IP address "200, 200, 200, 1" of the LAN gateway 20 and a destination port number of "3000" is formed and outputted on the Internet network 40, the output packet is transmitted through the router 60. It is routed to the uplink site 70 side.

업링크 사이트(70)는 라우팅된 패킷은 위성으로의 송신에 필요한 DVB/MPEG 패킷으로 다중화한 다음 TCP/IP의 프로토콜 주파수로 위성(80)측으로 송신한다.The uplink site 70 multiplexes the routed packets into DVB / MPEG packets needed for transmission to the satellites and then transmits them to the satellite 80 at the protocol frequency of TCP / IP.

이때, 랜 게이트웨이(20)의 위성 수신 카드(23)는 상기 위성(80)으로 부터의 모든 패킷을 수신한 다음 패킷의 IP 어드레스를 도 3의 맵 테이블에 등록되어 있는 IP 어드레스와 비교 분석하여 호스트(10a)의 서비스 요청으로 변경된 IP 어드레스인 것으로 판단되면 수신되는 패킷의 IP 어드레스를 맵 테이블 관리층을 통해 도 4의 (d)에서 알 수 있는 바와 같이, 소오스 IP 어드레스와 소오스 포트 번호를 "100,100,100,100" 및 "80"으로, 목적지 IP 어드레스와 목적지 포트 번호를 "200,200,200,200" 및 "2000"로 복원한 다음 랜망을 통해 서비스를 요청한 호스트(10a)측에 전송하여 호스트(10a)의 인터넷 서비스를 가능하게 한다.At this time, the satellite reception card 23 of the LAN gateway 20 receives all the packets from the satellite 80 and then compares the IP addresses of the packets with the IP addresses registered in the map table of FIG. If it is determined that the IP address is changed by the service request of (10a), as shown in (d) of FIG. 4 through the map table management layer, the source IP address and the source port number are "100,100,100,100". &Quot; " and " 80 ", restore the destination IP address and destination port number to " 200, 200, 200, 200 " and " 2000 " and then transmit it to the host 10a that requested the service through the LAN network to enable the Internet service of the host 10a. do.

상기에서 위성(80)에서 수신되는 패킷중에서 맵 테이블에 등록되어 있지 않은 패킷의 수신인 경우 수신되는 패킷을 무시한다.In the case of receiving a packet not registered in the map table among the packets received by the satellite 80, the received packet is ignored.

이상에서 설명한 바와 같이 본 발명은 ISP로 부터 IP 어드레스를 할당받지 않은 호스트가 동일 랜망에 접속되며, ISP로 부터 IP 어드레스를 할당받은 랜 게이트웨이를 통해 어떠한 패킷에 대해서도 인터넷 서버로부터 원하는 서비스를 제공받을 수 있으므로 프로토콜에 대한 의존성이 없고, 단순한 처리로 원하는 서버로 부터 서비스를 제공받을 수 있으며, 호스트의 프로그램이 변경이 수반되지 않아 효율적인 인터넷 서비스가 제공된다.As described above, in the present invention, a host that is not assigned an IP address from an ISP is connected to the same LAN, and a desired service can be provided from an Internet server for any packet through a LAN gateway assigned an IP address from an ISP. Therefore, there is no dependency on the protocol, and it can be provided with the service from the desired server by simple processing, and efficient internet service is provided because the program of the host does not involve change.

또한, 인터넷 망의 한정된 IP 어드레스를 효율적으로 사용할 수 있어 보다 많은 사용자에게 인터넷 서비스를 제공할 수 있으며, IP 어드레스의 할당에 따른 사용자의 부담을 경감시켜 사용에 경제성이 제공된다.In addition, it is possible to efficiently use the limited IP address of the Internet network to provide Internet services to more users, and to reduce the burden on the user due to the allocation of IP address is provided economical to use.

Claims (9)

위성 인터넷 통신방법에 있어서, ISP로 부터 단일의 IP 어드레스가 할당된 랜 게이트웨이와 동일 랜망에 접속되며, ISP로 부터 IP 어드레스가 할당되지 않은 임의의 호스트가 인터넷 망의 서버로부터 서비스 억세스가 요구되는 경우 상기 랜 게이트웨이의 IP 어드레스 변경 및 복원을 통한 패킷의 전송으로 상기 호스트가 해당 서버로부터 요구된 패킷을 수신할 수 있도록 하는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.In the satellite Internet communication method, a LAN gateway to which a single IP address is assigned from an ISP is connected to the same LAN, and any host whose IP address is not assigned from the ISP is required to access a service from a server of the Internet network. The LAN gateway operating method of the satellite Internet network, characterized in that the host can receive the requested packet from the server by transmitting the packet through the IP address change and restoration of the LAN gateway. 청구항 1에 있어서, 상기 랜 게이트웨이에는 동일 랜망에 접속되는 호스트로부터 인터넷상의 서버 연결에 대응하는 가상 포트 번호가 자동 발생되어 맵 테이블에 설정되는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.The LAN gateway operating method of claim 1, wherein a virtual port number corresponding to a server connection on the Internet is automatically generated from a host connected to the same LAN network and set in a map table. 청구항 1에 있어서, 상기 랜 게이트웨이는 임의의 호스트에서 인터넷 망의 서버로부터 서비스 요청을 위한 호스트의 IP 패킷이 검출되는 경우 상기 패킷의 소오스 IP 어드레스를 상기 랜 게이트웨이 자신의 IP 어드레스로 변경하고, 포트 번호를 새로 할당 가능한 포트 번호로 변경한 다음 서비스 요청한 호스트의 IP를 상기 맵 테이블에 등록한 후 변경된 패킷을 인터넷 망으로 라우팅 하는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.The LAN gateway of claim 1, wherein the LAN gateway changes a source IP address of the packet to an IP address of the LAN gateway itself when an IP packet of a host for a service request is detected from a server of an Internet network at an arbitrary host. The LAN gateway operating method of the satellite Internet network, characterized in that to change the newly assigned port number and then register the IP of the host requesting the service in the map table and route the changed packet to the Internet network. 청구항 1에 있어서, 상기 랜 게이트웨이의 IP 어드레스 변경으로 전송된 패킷에 따라 해당 서버에서 형성된 다음 위성을 통해 수신된 패킷의 IP 어드레스를 상기 맵 테이블에 등록된 호스트의 IP 어드레스로 복원하여 서비스 요구한 호스트 측으로 전송하는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.The host of claim 1, wherein the host requesting the service by restoring the IP address of the packet received through the satellite according to the packet transmitted by the IP address change of the LAN gateway to the IP address of the host registered in the map table. LAN gateway operating method of a satellite Internet network characterized in that the transmission to the side. 청구항 1에 있어서, 상기 랜 게이트웨이의 포트 번호 변경을 함에 있어, 아직 사용되지 않았거나 유효시간이 지나 다시 사용할 수 있는 가상 포트 번호를 자동 생성하는 위성 인터넷 망의 랜 게이트웨이 운용방법.The method according to claim 1, wherein in changing the port number of the LAN gateway, the LAN gateway operating method of the satellite Internet network automatically generates a virtual port number that has not been used yet or can be reused after an effective time. 청구항 1에 있어서, 랜 게이트웨이의 IP 어드레스 및 포트의 변경으로 동일 랜망에 접속된 다수개의 호스트가 동시에 인터넷 망의 서버로부터 서비스를 받을 수 있는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.The LAN gateway operating method of claim 1, wherein a plurality of hosts connected to the same LAN can simultaneously receive services from a server of the Internet network by changing an IP address and a port of the LAN gateway. 청구항 1에 있어서, 상기 랜망에 접속되는 호스트 각각에 ISP와 관계없이 IP 어드레스가 설정되는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.The LAN gateway operating method of claim 1, wherein an IP address is set in each host connected to the LAN network regardless of an ISP. IP 어드레스를 할당받은 랜 게이트웨이가 접속된 랜망에 IP 어드레스를 할당받지 못한 임의의 호스트로부터 서비스 요청에 대한 IP 패킷을 검출하는 과정과;Detecting an IP packet for a service request from an arbitrary host that has not been assigned an IP address to a LAN to which a LAN gateway assigned an IP address is connected; 상기 임의의 호스트로부터 IP 패킷이 검출되는 경우 랜 게이트웨이는 검출되는 호스트의 IP 패킷을 맵 테이블에 등록한 다음 상기 IP 패킷의 소오스 IP 어드레스와 포트 번호를 자신의 IP 어드레스 및 설정된 가상의 포트 번호로 변경하여 인터넷 망으로 라우팅 하는 과정과;When an IP packet is detected from any host, the LAN gateway registers the detected IP packet in the map table, and then changes the source IP address and port number of the IP packet to its own IP address and a set virtual port number. Routing to the Internet; 상기의 라우팅을 통해 지정된 임의의 서버로부터 출력되어 위성을 통해 수신되는 IP 패킷을 상기 등록된 호스트의 IP 패킷으로 복원한 다음 랜망을 통해 서비스 요청한 호스트측에 전송하는 과정을 포함하는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.And restoring the IP packet outputted from any server designated through the routing to the IP packet of the registered host, and transmitting the received IP packet to the host requesting the service through the LAN. LAN gateway operation method on the Internet. 청구항 8에 있어서, 상기 랜 게이트웨이는 위성으로부터 수신되는 모든 패킷에서 자신의 맵 테이블에 설정된 데이터와 비교하여 서비스 요청한 호스트의 IP 패킷이 검출되는 경우 해당 패킷만을 수용하고, 다른 패킷은 무시하는 것을 특징으로 하는 위성 인터넷 망의 랜 게이트웨이 운용방법.The LAN gateway of claim 8, in which all packets received from the satellite are compared with data set in its map table, and when the IP packet of the host requesting service is detected, only the packet is accepted and other packets are ignored. LAN gateway operation method of a satellite internet network.
KR1019980009430A 1998-03-19 1998-03-19 Method of managing lan gateway KR100259695B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980009430A KR100259695B1 (en) 1998-03-19 1998-03-19 Method of managing lan gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980009430A KR100259695B1 (en) 1998-03-19 1998-03-19 Method of managing lan gateway

Publications (2)

Publication Number Publication Date
KR19980019456A KR19980019456A (en) 1998-06-05
KR100259695B1 true KR100259695B1 (en) 2000-06-15

Family

ID=19535061

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980009430A KR100259695B1 (en) 1998-03-19 1998-03-19 Method of managing lan gateway

Country Status (1)

Country Link
KR (1) KR100259695B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100295457B1 (en) * 1998-11-10 2001-07-12 이계철 Apparatus and method for providing Internet protocol (IP) level connectivity between internet access terminals using service gateway

Also Published As

Publication number Publication date
KR19980019456A (en) 1998-06-05

Similar Documents

Publication Publication Date Title
US11316825B2 (en) Establishing and using a tunnel from an origin server in a distributed edge compute and routing service
US7509435B2 (en) Network Address Translation and Port Mapping
US6175874B1 (en) Packet relay control method packet relay device and program memory medium
US7454489B2 (en) System and method for accessing clusters of servers from the internet network
US7228359B1 (en) Methods and apparatus for providing domain name service based on a client identifier
US7318100B2 (en) Cooperative proxy auto-discovery and connection interception
US7936743B2 (en) Method and system for determining a path between two points of an IP network over which datagrams are transmitted
US7107609B2 (en) Stateful packet forwarding in a firewall cluster
US7474655B2 (en) Restricting communication service
US7013333B1 (en) Network management system
US20080320154A1 (en) Cooperative proxy auto-discovery and connection interception
EP1255395A2 (en) External access to protected device on private network
US20030185207A1 (en) Address access system and method thereof
US7567573B2 (en) Method for automatic traffic interception
EP0993164A1 (en) Apparatus and method for caching of network contents
JP2005529545A (en) Application of session service based on packet flow
US20030198223A1 (en) Method and apparatus for identifying data streams as networks
US8601257B2 (en) Method, cluster system and computer-readable medium for distributing data packets
US20010049825A1 (en) Network device with dual machine addresses
US20040243843A1 (en) Content server defending system
US20100023620A1 (en) Access controller
KR100259695B1 (en) Method of managing lan gateway
KR100259696B1 (en) Method of managing lan gateway
US20040230671A1 (en) Modular access point for wireless networking
US8166141B1 (en) Method and apparatus for emulating web browser proxies

Legal Events

Date Code Title Description
A201 Request for examination
G15R Request for early publication
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee