DE19955132A1 - Method for coupling NetBIOS networks and / or NetBIOS stand-alone computers - Google Patents

Method for coupling NetBIOS networks and / or NetBIOS stand-alone computers

Info

Publication number
DE19955132A1
DE19955132A1 DE19955132A DE19955132A DE19955132A1 DE 19955132 A1 DE19955132 A1 DE 19955132A1 DE 19955132 A DE19955132 A DE 19955132A DE 19955132 A DE19955132 A DE 19955132A DE 19955132 A1 DE19955132 A1 DE 19955132A1
Authority
DE
Germany
Prior art keywords
netbios
nbns
computer
network
remote
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.)
Granted
Application number
DE19955132A
Other languages
German (de)
Other versions
DE19955132C2 (en
Inventor
Guido Ackers
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lancom Systems GmbH
Original Assignee
Elsa AG
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 Elsa AG filed Critical Elsa AG
Priority to DE19955132A priority Critical patent/DE19955132C2/en
Priority to DE50009391T priority patent/DE50009391D1/en
Priority to EP20000109882 priority patent/EP1052802B1/en
Publication of DE19955132A1 publication Critical patent/DE19955132A1/en
Application granted granted Critical
Publication of DE19955132C2 publication Critical patent/DE19955132C2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Abstract

Die Erfindung betrifft ein Verfahren zur Kopplung von NetBIOS-Netzwerken und/oder NetBIOS-Stand-alone Rechnern über gebührenpflichtige Wählverbindungen. DOLLAR A Um die Anzahl der Verbindungsaufbauten zu reduzieren und Änderungen der Konfiguration der zu koppelnden Rechner zu vermeiden, macht sich die Erfindung die Tatsache zu Nutze, daß die zur Vermeidung unnötiger Verbindungsaufbauten notwendige Information, nämlich ob eine kostenpflichtige Verbindung besteht oder nicht, im Gateway jedes NetBIOS-Netzwerkes bzw. in jedem mit einem Stand-alone Rechner verbundenen Gateway zur Verfügung steht. Weiterhin beruht die Erfindung darauf, daß alle Daten, die an einen Rechner in einem entfernten NetBIOS-Netzwerk übertragen werden sollen, in jedem Fall das Gateway passieren müssen.The invention relates to a method for coupling NetBIOS networks and / or NetBIOS stand-alone computers via dial-up connections that are subject to charges. DOLLAR A In order to reduce the number of connection setups and to avoid changes in the configuration of the computers to be coupled, the invention takes advantage of the fact that the information necessary to avoid unnecessary connection setups, namely whether or not there is a chargeable connection exists in the gateway of each NetBIOS network or in each gateway connected to a stand-alone computer is available. Furthermore, the invention is based on the fact that all data which are to be transmitted to a computer in a remote NetBIOS network must pass through the gateway in any case.

Description

Die Erfindung betrifft ein Verfahren zur Kopplung von NetBIOS-Netzwerken und/oder NetBIOS-Stand-alone-Rechnern über gebührenpflichtige Wählverbindungen.The invention relates to a method for coupling NetBIOS networks and / or NetBIOS stand-alone computers via dial-up connections subject to charges.

Wählverbindungen sind über direkte Kopplung über das Wähllei­ tungsnetz oder aber auch über den nächsten Einwahlknoten in das Internet herstellbar. Die dabei anfallenden Verbindungs­ kosten sollen durch Vermeidung unnötiger Datenübertragungen reduziert werden.Dial-up connections are via direct coupling via the dialing line network or via the next dial-in node in the internet producible. The resulting connection should avoid costs unnecessary data transfers can be reduced.

Erläuterung der im Zusammenhang mit der Erfindung verwendeten Begriffe:Explanation of those used in connection with the invention Terms:

NetBIOSNetBIOS

NetBIOS stellt eine von IBM definierte BIOS-Er­ weiterung (Basic Input Output System) dar, die dem Anwender in einem lokalen Netzwerk einfache Netz­ werkfunktionen zur Verfügung stellt.NetBIOS provides a BIOS defined by IBM extension (Basic Input Output System) that corresponds to the Users in a local network simple network works functions.

NetBIOS ist eine Programmierschnittstelle (API, Application Programming Interface). Als Protokoll, mit dem NetBIOS-fähige Rechner kommunizieren, hat IBM NetBEUI (s. u.) definiert.NetBIOS is a programming interface (API, Application Programming Interface). As a protocol, communicate with the NetBIOS-capable computer IBM NetBEUI (see below).

Aufgrund der durch NetBEUI bedingten Einschränkun­ gen wird bevorzugt TCP/IP (Transmission Control Protocol/Internet Protocol) für die Kommunikation von NetBIOS-Rechnern verwendet. Die notwendigen Grundlagen hierzu werden in den RFC 1001 und RFC 1002 definiert. In diesem Fall spricht man von NetBIOS over TCP/IP. Wenn nachfolgend von NetBIOS ge­ sprochen wird, ist stets NetBIOS over TCP/IP ge­ meint.Due to the restrictions imposed by NetBEUI TCP / IP (Transmission Control Protocol / Internet Protocol) for communication used by NetBIOS computers. The necessary Basics for this are in RFC 1001 and RFC 1002 defined. In this case one speaks of NetBIOS over TCP / IP. If subsequently from NetBIOS ge NetBIOS over TCP / IP is always used means.

NetBEUINetBEUI

Abkürzung für NetBIOS Extended User Interface. Ein von IBM definiertes Netzwerkprotokoll, über das NetBIOS-Geräte miteinander kommunizieren können. NetBEUI basiert auf Rundsende-Nachrichten und di­ rekter Hardware-Adressierung und kann daher nur innerhalb einer Broadcast-Domain verwendet werden. Ein Einsatz ist nur in einem lokalen Netzwerk mög­ lich, da aufgrund der Hardware-Adressierung keine Routing-Mechanismen definiert werden können.Abbreviation for NetBIOS Extended User Interface. On IBM defined network protocol over which  NetBIOS devices can communicate with each other. NetBEUI is based on broadcast messages and di correct hardware addressing and can therefore only can be used within a broadcast domain. Use is only possible in a local network Lich, because of the hardware addressing none Routing mechanisms can be defined.

RFCRFC

Abkürzung für Request for Comments. RFCs sind offene Standards und enthalten sämtlich Defini­ tionen der TCP/IP basierten Protokolle, einschließ­ lich des Protokolls für NetBIOS over TCP/IP. RFCs werden durchnumeriert und nach ihrer Veröffent­ lichung nie mehr geändert. Es gibt höchstens ergän­ zende oder ablösende RFCs. Alle RFCs sind kostenlos über das Internet verfügbar.Abbreviation for Request for Comments. RFCs are open standards and all contain defini TCP / IP based protocols, including the protocol for NetBIOS over TCP / IP. RFCs are numbered and after their publication no longer changed. There are at most supplements ending or replacing RFCs. All RFCs are free available on the internet.

IP-AdresseIP address

Die IP-Adresse ist eine logische und daher hard­ wareunabhängige Adresse, über die ein Rechner in einem IP-Netzwerk angesprochen wird. Diese Adresse enthält zudem einen Netzwerkanteil, über die alle Rechner in einem IP-Netzwerk logisch zu einem Netz­ werk zusammengefaßt werden. Alle Rechner in einem solchen logischen Netz gehören zu einer Broadcast- Domain.The IP address is a logical and therefore hard commodity independent address, over which a computer in an IP network is addressed. This address also contains a network share over which all Computer in an IP network logically to a network plant can be summarized. All computers in one such a logical network belong to a broadcast Domain.

IP-NetzwerkIP network

Ein IP-Netzwerk besteht aus mehreren Einzelrech­ nern, die über TCP/IP (Internet-Protokoll) direkt miteinander kommunizieren.An IP network consists of several individual computers nern directly over TCP / IP (Internet protocol) communicate with each other.

GatewayGateway

Ein Gateway ist ein Gerät in einem IP-Netzwerk, das es erlaubt, mehrere IP-Netzwerke miteinander zu koppeln. Eine Beispiel für eine solche Kopplung ist ein LAN (Local Area Network), das über ein Gateway an das Internet (International Network) ange­ schlossen ist.A gateway is a device in an IP network that it allows multiple IP networks to be connected to each other couple. An example of such a coupling is a LAN (Local Area Network) that uses a gateway to the Internet (International Network) is closed.

Broadcast-DomainBroadcast domain

Rundsende-Adresse, die für alle in einem IP-Netz- werk vorhandenen Rechner gilt. Im Allgemeinen be­ steht ein solches IP-Netzwerk aus einem physika­ lischen Netzwerkstrang. Wenn mehrere Netzwerk­ stränge über Gateways (Router) gekoppelt werden, hat jeder Strang eine eigene Broadcast-Domain.Broadcast address for everyone in an IP network existing computer applies. Generally be is such an IP network from a physika network strand. If multiple network  lines are coupled via gateways (routers), each strand has its own broadcast domain.

NetBIOS-KnotenNetBIOS node

Im RFC 1001 werden mehrere NetBIOS-Knotentypen de- finiert:Several NetBIOS node types are defined in RFC 1001 finishes:

Broadcast-KnotenBroadcast node

Dies sind Rechner, die zur Um­ setzung von Rechnernamen auf IP-Adressen (Namenauf­ lösung) (siehe hierzu auch NBNS) Rundsende-Nach­ richten verwenden. Diese Knoten werden als B-Knoten bezeichnet.These are computers that are used to order setting computer names to IP addresses (name up solution) (see also NBNS) use judge. These nodes are called B nodes designated.

Point-To-Point-KnotenPoint-to-point node

Dies sind Rechner, die zur Namenauflösung auf einen NBNS-Server benötigen. Sie werden als P-Knoten bezeichnet.These are computers that are used for Need name resolution on an NBNS server. she are called P nodes.

Mixed-Mode-KnotenMixed mode knot

Dies sind Rechner, die sowohl als P- als auch als B-Knoten arbeiten. Sie werden als M-Knoten bezeichnet. Ein M-Knoten verwendet für eine Namenauflösung stets beide Verfahren.These are calculators that both work as P and B knots. you will be referred to as the M node. An M node is used for a name resolution always involves both procedures.

Hybrid-KnotenHybrid knot

Dieser Knotentyp wurde von Microsoft eingeführt und stellt eine besondere Form des M- Knotens dar und wird als H-Knoten bezeichnet. Der Unterschied zum M-Knoten liegt darin, daß ein H- Knoten nur dann Broadcasts zur Namenauflösung ver­ wendet, wenn der NBNS-Server die Namenauflösung nicht durchführen kann.This type of node was developed by Microsoft introduced and represents a special form of M- Node and is referred to as the H node. The The difference to the M node is that an H- Node broadcasts only for name resolution when the NBNS server applies name resolution cannot perform.

NBNSNBNS

Abkürzung für NetBIOS-Name-Service. In NetBIOS- Netzwerken werden alle Rechner nur über ihren Namen adressiert. Da in einem IP-Netz die Adressierung über IP-Adressen erfolgt, ist eine Umsetzung zwischen NetBIOS-Namen und IP-Adressen notwendig. Das geschieht mit Hilfe des NetBIOS-Name-Service.Abbreviation for NetBIOS name service. In NetBIOS All computers are only networked by name addressed. Because addressing in an IP network An implementation is done via IP addresses between NetBIOS names and IP addresses necessary. This is done using the NetBIOS name service.

B-Knoten lösen NetBIOS-Namen über Rundsende-Nach­ richten auf, P-Knoten durch Anfragen bei einem spe­ ziellen NBNS-Server, der die Umsetzung vornimmt. B nodes resolve NetBIOS names via broadcast post erect P nodes by inquiring at a spe central NBNS server that carries out the implementation.  

Bei NetBIOS over TCP/IP wird zur Umsetzung der NetBIOS-Namen in IP-Adressen das Protokoll UDP (Ab­ kürzung für User Datagramm Protocol, RFC 768) ver­ wendet.With NetBIOS over TCP / IP the implementation of the NetBIOS names in IP addresses use the UDP protocol (from Abbreviation for User Datagram Protocol, RFC 768) ver turns.

Unter NetBIOS werden alle Namen in einem ebenen Na­ mensraum aufgelöst, d. h. hierarchische Strukturen, wie bei Internetnamen (host.domain) sind nicht mög­ lich. Dafür bietet der NetBIOS-Namensraum die Mög­ lichkeit, mehrere Rechner zu Gruppen zusammenzu­ fassen, die gleichzeitig über einen gemeinsamen Na­ men (den Gruppennamen) angesprochen werden. Under NetBIOS all names are in a flat na dining room dissolved, d. H. hierarchical structures, as with Internet names (host.domain) are not possible Lich. The NetBIOS namespace offers the possibility for this ability to combine several computers into groups grasp that at the same time about a common Na men (the group name).  

NBDDNBDD

Abkürzung für NetBIOS-Datagramm-Distribution-Ser­ vice. Kurze Nachrichten, die an einen NetBIOS-Rech­ ner (NetBIOS-Host) oder mehrere NetBIOS-Rechner (NetBIOS-Gruppe) gerichtet sind, werden gezielt (Host-Nachricht) oder als Rundsende-Nachrichten (Gruppen-Nachricht) verschickt. Diese Nachrichten müssen nicht bestätigt werden und heißen daher Da­ tagramme. Wenn ein Datagramm an eine NetBIOS-Gruppe in einer anderen Broadcast-Domain verschickt werden soll, so dient ein NBDD-Server dazu, die Rundsende- Datagramme in das Zielnetz weiterzuleiten. NetBIOS over TCP/IP verwendet hierzu ebenfalls das Proto­ koll UDP.Abbreviation for NetBIOS datagram distribution ser vice. Short messages sent to a NetBIOS-Rech ner (NetBIOS host) or several NetBIOS computers (NetBIOS group) are targeted (Host message) or as broadcast messages (Group message) sent. This news do not have to be confirmed and are therefore called Da tagrams. When a datagram is sent to a NetBIOS group be sent in another broadcast domain an NBDD server is used to transmit the broadcast Forward datagrams to the target network. NetBIOS over TCP / IP also uses the Proto for this coll UDP.

NESSNESS

Abkürzung für NetBIOS-Session-Service. Größere Da­ tenübertragungen zwischen zwei NetBIOS-Rechnern werden über eine gesicherte Verbindung, in einer sogenannten NetBIOS-Session (Sitzung) übertragen. Bei NetBIOS over TCP/IP wird hierzu das Protokoll TCP (RFC 675) verwendet, das durch spezielle Siche­ rungsmechanismen (Sequenz- und Bestätigungsnummern, sowie Prüfsummen) Datenverluste bei der Übertragung verhindert.Abbreviation for NetBIOS session service. Larger da transfers between two NetBIOS computers are over a secured connection, in a so-called NetBIOS session (session) transmitted. With NetBIOS over TCP / IP this is the protocol TCP (RFC 675) used by special security mechanisms (sequence and confirmation numbers, and checksums) data loss during transmission prevented.

SMBSMB

Abkürzung für Server Message Blocks. Ein auf Net BIOS basierendes Protokoll, über das freigegebene Ressourcen eines Rechners wie Laufwerke, Drucker etc. im Netzwerk bekannt gemacht und anderen Rech­ nern im Netz zur Verfügung gestellt werden.Abbreviation for server message blocks. One on net BIOS based protocol, about the released Computer resources such as drives, printers etc. announced in the network and other Rech be made available online.

Stand der TechnikState of the art

Zur Kopplung von NetBIOS-Netzwerken über Wählverbindungen sind aus dem Stand der Technik mehrere Möglichkeiten bekannt:
Die erste Methode besteht darin, zwei Netzwerke über eine Bridge (Abb. 1) zu koppeln. Bei der Bridge-Kopplung wer­ den die Datenpakete aus beiden Netzen unverändert in das je­ weils andere Netzwerk übertragen. Da bei der Bridge-Kopplung die Adressierung direkt auf Hardware-Adressebene (Ethernet- Adressen) läuft, kann hierbei sogar das von IBM definierte NetBEUI (NetBIOS Extended User Interface)-Protokoll verwendet werden. Eine Bridge lernt im Laufe der Zeit, welche Hardware- Adresse auf welcher Seite der Bridge zu erreichen ist. Zu diesem Zweck überprüft die Bridge im einfachsten Fall alle Datenpakete aus dem lokalen Netz und trägt die Hardware­ adresse des übertragenden Geräts in eine Tabelle ein. Später kann sie anhand der Einträge in der Tabelle entscheiden, ob ein Paket übertragen werden soll oder nicht: Alle Pakete, die an Adressen gerichtet sind, die nicht in der Tabelle stehen, müssen übertragen werden; Pakete, die an Adressen gerichtet sind, die in der Tabelle stehen brauchen nicht übertragen werden. Daher überträgt sie nach der Lernphase nur noch dann Pakete, wenn diese direkt an eine Hardware-Adresse in dem je­ weils anderen Netzwerk gerichtet sind. Zusätzlich muß eine Bridge sämtliche Rundsende-Nachrichten übertragen. Dadurch werden die gekoppelten Netzwerke zu einer Broadcast-Domain zusammengefaßt. Dies ist auch der Hauptnachteil der Bridge- Kopplung:
Die unter NetBIOS verwendeten Rechnernamen müssen in eine für das im Netzwerk verwendete Protokoll (z. B. NetBEUI oder TCP/IP) verständliche Adresse umgesetzt werden. Bei Verwen­ dung von NetBEUI ist dies die Hardwareadresse der Netzwerk­ karte des Rechners (Ethernet-Adresse) und bei Verwendung von NetBIOS over TCP/IP die IP-Adresse des Rechners. Diese Um­ setzung erfolgt bei NetBEUI über eine Rundsende-Nachricht (Broadcast) mit der ein Rechner die Hardware-Adresse eines anderen Rechners erfragt. Der Rechner der den angefragten Na­ men besitzt antwortet auf diesen Broadcast und teilt dem an­ fragenden Rechner seine Hardware-Adresse mit. Da sich die ge­ koppelten Netzwerke in der gleichen Broadcast-Domain befin­ den, führt nun jede derartige Namenauflösung zu einem Verbin­ dungsaufbau. Hinzu kommt, daß jeder Rechner seinen Namen in regelmäßigen Abständen über Rundsende-Nachrichten im Netz be­ kannt gibt. In größeren Netzen besteht daher nahezu ständig eine Wählverbindung zwischen den Netzwerken, da regelmäßig Namenauflösungen bzw. Namensbekanntgaben stattfinden. Die Bridge-Kopplung ist daher nur dann sinnvoll einsetzbar, wenn zum einen keine Vermittlungskosten anfallen (Standleitung) und zum anderen ein vom Datenübertragungsvolumen unabhängiger Festpreis für die Verbindung in Rechnung gestellt wird.
There are several known prior art options for coupling NetBIOS networks via dial-up connections:
The first method is to connect two networks via a bridge ( Fig. 1). With the bridge coupling, the data packets from both networks are transferred unchanged to the other network. Since addressing runs directly at the hardware address level (Ethernet addresses) for bridge coupling, the NetBEUI (NetBIOS Extended User Interface) protocol defined by IBM can even be used. Over time, a bridge learns which hardware address can be reached on which side of the bridge. For this purpose, in the simplest case, the bridge checks all data packets from the local network and enters the hardware address of the transmitting device in a table. Later, based on the entries in the table, she can decide whether a packet should be transmitted or not: all packets that are addressed to addresses that are not in the table must be transmitted; Packets addressed to addresses in the table do not need to be transmitted. Therefore, it only transmits packets after the learning phase if they are directed directly to a hardware address in the different network. In addition, a bridge must transmit all broadcast messages. As a result, the coupled networks are combined to form a broadcast domain. This is also the main disadvantage of bridge coupling:
The computer names used under NetBIOS must be converted into an address that is understandable for the protocol used in the network (e.g. NetBEUI or TCP / IP). When using NetBEUI, this is the hardware address of the computer's network card (Ethernet address) and when using NetBIOS over TCP / IP, the computer's IP address. This implementation takes place at NetBEUI via a broadcast message with which a computer asks for the hardware address of another computer. The computer that has the requested name responds to this broadcast and informs the computer in question of its hardware address. Since the coupled networks are in the same broadcast domain, each name resolution of this type now leads to a connection being established. In addition, each computer announces its name at regular intervals via broadcast messages on the network. In larger networks, there is therefore almost always a dial-up connection between the networks, since name resolutions or name announcements take place regularly. The bridge coupling can therefore only be used sensibly if, on the one hand, there are no switching costs (dedicated line) and, on the other hand, a fixed price for the connection that is independent of the data transmission volume is charged.

Eine weitere Methode besteht darin, die Netzwerke nach RFC 1001 zu koppeln (Abb. 2). Als Protokoll wird dazu TCP/IP verwendet, weshalb dies auch als NetBIOS over TCP/IP bezeich­ net wird. Die Namensauflösung unter NetBIOS over TCP/IP kann auf zwei Arten erfolgen:
Another method is to connect the networks according to RFC 1001 ( Fig. 2). TCP / IP is used as the protocol, which is why this is also known as NetBIOS over TCP / IP. Name resolution under NetBIOS over TCP / IP can be done in two ways:

  • 1. Über Rundsende-Nachrichten wie bei NetBEUI, mit dem Un­ terschied, daß in den Antworten des adressierten Rechners nicht dessen Hardware-Adresse, sondern seine IP-Adresse eingetragen ist. Führt ein Rechner eine Namenauflösung über Rundsende-Nachrichten aus, so bezeichnet man ihn als B-Knoten (Broadcast-Knoten).1. Via broadcast messages like NetBEUI, with the Un differed that in the answers of the addressed computer not its hardware address, but its IP address is entered. A computer performs a name resolution via broadcast messages, it is referred to as B node (broadcast node).
  • 2. Die zweite Möglichkeit der Namenauflösung erfolgt mit Hilfe eines NetBIOS-Name-Service-Servers (NBNS), auf dem zu jedem Rechner die zu seinem Namen gehörige IP-Adresse gespeichert ist und bei dem jeder Rechner die zu einem gespeicherten Namen gehörende IP-Adresse abfragen kann. Ein Rechner, der einen NBNS benötigt, um einen Namen auf­ zulösen, wird als P-Knoten (Point-to-Point-Knoten) be­ zeichnet.2. The second way of name resolution is done with Using a NetBIOS Name Service Server (NBNS) on which for each computer the IP address belonging to its name is stored and in which each computer is one can query the stored name belonging IP address. A calculator that needs an NBNS to put a name on to solve, is called P-node (point-to-point node) draws.

Zusätzlich zu B- und P-Knoten gibt es noch Mischformen, den M-Knoten (Mixed-Node) und den H-Knoten (Hybrid-Node):
Ein M-Knoten fragt einerseits den NBNS-Server nach dem ge­ suchten Namen ab; andererseits versucht er gleichzeitig die Namenauflösung über eine Rundsende-Nachricht entsprechend ei­ nem B-Knoten durchzuführen.
In addition to B and P nodes, there are also mixed forms, the M node (mixed node) and the H node (hybrid node):
On the one hand, an M-node queries the NBNS server for the name it is looking for; on the other hand, he tries at the same time to carry out the name resolution via a broadcast message corresponding to a B node.

Ein H-Knoten ist eine von der Firma Microsoft entwickelte Va­ riante eines M-Knotens: Solange der NBNS-Server verfügbar ist verhält sich ein H-Knoten wie ein P-Knoten. Fällt der NBNS- Server aus, oder ist der Name nicht auf dem NBNS-Server ge­ speichert, so verhält sich ein H-Knoten wie ein B-Knoten.An H-knot is a Va developed by Microsoft riante of an M node: As long as the NBNS server is available an H-node behaves like a P-node. If the NBNS Server, or the name is not on the NBNS server stores, an H-node behaves like a B-node.

Bei der Kopplung zweier NetBIOS-Netzwerke nach RFC 1001 muß in jedem Netz ein NetBIOS-Name-Service-Server (NBNS), der die Namenauflösung übernimmt, und ein NetBIOS-Datagram-Distribu­ tion-Server (NBDD), der für die Verteilung von Kurz­ mitteilungen (Datagrammen) verantwortlich ist, installiert werden. Außerdem dürfen die beteiligten NetBIOS-Knoten nicht mehr als B-Knoten konfiguriert sein, damit eine Namenauflö­ sung über den NBNS erfolgen kann. Jeder Rechner in diesem Netz muß daher als P-, M- oder H-Knoten konfiguriert werden. Diese Maßnahmen erlauben nun die Kopplung beider Netze über einen Gateway (Router). Hierdurch reduzieren sich gegenüber der Bridge-Kopplung die Anzahl der Verbindungsaufbauten deut­ lich, da durch die Router die Broadcast-Domains der beiden gekoppelten Netzwerke getrennt werden. Weiterhin ergeben sich gegenüber der Bridge-Kopplung noch die folgenden Vorteile:
When coupling two NetBIOS networks according to RFC 1001, a NetBIOS Name Service Server (NBNS), which takes over the name resolution, and a NetBIOS Datagram Distribution Server (NBDD), which is responsible for the distribution of Brief notifications (datagrams) is responsible for being installed. In addition, the participating NetBIOS nodes may no longer be configured as B nodes so that names can be resolved via the NBNS. Every computer in this network must therefore be configured as a P, M or H node. These measures now allow the coupling of both networks via a gateway (router). This significantly reduces the number of connection setups compared to bridge coupling, since the routers separate the broadcast domains of the two coupled networks. There are also the following advantages over the bridge coupling:

  • - Durch die Verwendung von TCP/IP muß keine direkte Wähl­ verbindung über das Telefonleitungsnetz mehr zwischen den gekoppelten Netzwerken bestehen. Die Verbindung kann statt dessen auch über das Internet hergestellt werden, d. h. die Wählverbindung besteht in diesem Fall nur noch zum nächsten Internet-Provider des jeweiligen Netzwerkes. Für diese Art der Kopplung müssen Internet-Adressen re­ gistriert werden. - By using TCP / IP no direct dialing is required connection over the telephone line network more between the coupled networks exist. The connection can instead be made over the internet, d. H. in this case the dial-up connection only exists to the next internet provider of the respective network. For this type of coupling, Internet addresses must be re be registered.  
  • - Bei Konfiguration aller Hosts als reine P-Knoten sinkt die Belastung des jeweiligen lokalen Netzwerks durch Rundsende-Nachrichten, wodurch eine höhere Datenübertra­ gungsrate im Netz möglich wird.- If all hosts are configured as pure P nodes, this drops the load on the respective local network Broadcast messages, resulting in higher data transmission supply rate in the network.

Trotz dieser Vorteile haften der Kopplung von NetBIOS-Netz­ werken über RFC 1001 noch einige Nachteile an:
Despite these advantages, the coupling of NetBIOS networks via RFC 1001 still has some disadvantages:

  • - Zuerst müssen alle Rechner in den zu koppelnden Netzwer­ ken als P-, M- oder H-Knoten konfiguriert werden, was recht kompliziert und insbesondere bei großen Netzen auf­ wendig und daher für viele Anwender nicht akzeptabel ist.- First all computers have to be connected to the network ken can be configured as P, M or H nodes, which quite complicated and especially with large networks agile and therefore unacceptable for many users.
  • - Auf allen Rechnern muß die Adresse des NBNS- und des NBDD-Servers manuell konfiguriert werden. Auf einem WINDOWS-Rechner geschieht dies durch die Angabe des WINS- Servers (Abkürzung für Windows Internet Name Service), der beide Aufgaben übernimmt.- The address of the NBNS and the NBDD servers can be configured manually. On one WINDOWS calculator this is done by specifying the WINS Servers (abbreviation for Windows Internet Name Service), who takes on both tasks.
  • - In einem NetBIOS-Netzwerk werden alle Rechner über ihren Namen angesprochen. Dieser wird vom NBNS-Server auf die IP-Adresse des zugehörigen Rechners aufgelöst. Die IP- Adresse kann der Rechner jedoch dynamisch von einem DHCP- Server beziehen. Sie kann sich daher jederzeit ändern, während der Name des Rechners immer gleich bleibt. Die Änderung seiner IP-Adresse teilt der Rechner dem NBNS- Server mit und dieser muß diese Änderung allen auf ihm gespeicherten NBNS-Servern mitteilen. Außerdem muß die Datenbank des NBNS-Servers die Informationen darüber er­ halten, ob ein Rechner gestartet ist, um auf eine Anfrage zur Umsetzung eines Rechnernamens entweder die IP-Adresse oder eine Fehlermeldung ausgeben zu können. Da ein NetBIOS-Netzwerk dadurch eine sehr dynamische Struktur aufweist müssen alle beteiligten NBNS-Server regelmäßig ihre internen Datenbanken abgleichen. Hierdurch werden zusätzliche Verbindungen zwischen den gekoppelten Netz­ werken aufgebaut. - In a NetBIOS network, all computers are over their Names addressed. This is transferred from the NBNS server to the IP address of the associated computer resolved. The IP However, the computer can address dynamically from a DHCP Get server. It can therefore change at any time while the name of the computer always remains the same. The The computer notifies the NBNS- of changes to its IP address. Server with and this must make this change all on it tell saved NBNS servers. In addition, the Database of the NBNS server the information about it keep whether a computer has started to respond to a request either the IP address to convert a computer name or to be able to issue an error message. There a NetBIOS network therefore has a very dynamic structure all participating NBNS servers must regularly synchronize their internal databases. This will additional connections between the coupled network works built.  
  • - Der NBDD muß für jedes Datagramm, daß er weiterleiten soll, zunächst beim NBNS die zugehörigen Zieladressen (bei Gruppen-Nachrichten sind es mehr als eine) abfragen und an jeden Rechner einzeln dieses Datagramm übertragen. Hierdurch erhöht sich zum einen die lokale Netzlast; zum anderen wird in jedem Fall eine Verbindung aufgebaut, wenn ein Empfänger eines solchen Datagramms sich in einem entfernten Netzwerk befindet.- For each datagram, the NBDD must forward it first, the associated destination addresses for the NBNS (for group messages there are more than one) and transfer this datagram to each computer individually. On the one hand, this increases the local network load; to the others will be connected in any case, if a recipient of such a datagram is in a remote network.
  • - Sobald sich ein Anwender über das Netzwerk auf einem NetBIOS-Rechner anmeldet, um auf freigegebene Ressourcen dieses Rechners zugreifen zu können, wird eine NetBIOS- Sitzung eröffnet. Diese Sitzung wird erst mit dem Abmel­ den des Anwenders wieder geschlossen. Während einer sol­ chen Sitzung tauschen die beteiligten Rechner auch Daten untereinander aus, die sich dem Anwender nicht als Nutz­ daten darstellen. Diese Daten sind z. B. Watchdog-Pakete, mit denen die an der Sitzung beteiligten Rechner regelmä­ ßig überprüfen, ob ihr Kommunikationspartner noch aktiv ist. Befinden sich die beteiligten Rechner in gekoppelten Netzwerken, so führt dieser Datenaustausch zu zusätz­ lichen Verbindungsaufbauten.- As soon as a user is on the network on a NetBIOS calculator logs on to shared resources access to this computer, a NetBIOS Session opened. This session will only be canceled closed by the user. During a sol During the session, the computers involved also exchange data among themselves that the user does not see as useful display data. These data are e.g. B. watchdog packets, with which the computers participating in the session regularly ig check whether your communication partner is still active is. Are the participating computers in coupled Networks, this data exchange leads to additional connection setups.
Problemproblem

Der Erfindung liegt daher die Aufgabe zugrunde, ein Verfahren zur Kopplung von NetBIOS-Netzwerken und/oder NetBIOS-Stand- alone-Rechnern über Wählverbindungsnetze zu schaffen, bei dem die Anzahl der Verbindungsaufbauten reduziert ist und das keine Änderungen der Konfiguration der Rechner erfordert.The invention is therefore based on the object of a method for coupling NetBIOS networks and / or NetBIOS stand to create alone computers via dial-up connection networks, in which the number of connections is reduced and that no changes to the configuration of the computers required.

ProblemlösungTroubleshooting

Die Lösung dieser Aufgabe macht sich die Tatsache zu Nutze, daß die zur Vermeidung unnötiger Verbindungsaufbauten notwen­ dige Information, nämlich, ob eine kostenpflichtige Verbindung besteht oder nicht, im Gateway jedes NetBIOS-Netzwerkes bzw. in jedem mit einem Stand-alone Rechner verbundenen Gateway zur Verfügung steht. Weiterhin beruht die Erfindung darauf, daß alle Daten, die an einen Rechner in einem entfernten NetBIOS-Netzwerk übertragen werden sollen, in jedem Fall das Gateway passieren müssen.The solution to this task takes advantage of the fact that necessary to avoid unnecessary connections information, namely whether a connection is subject to a charge exists or not, in the gateway of every NetBIOS network or  in every gateway connected to a stand-alone computer is available. Furthermore, the invention is based on that all data sent to a computer on a remote NetBIOS network to be transferred, in any case that Gateway must pass.

Im Einzelnen wird die Aufgabe durch die Merkmale des An­ spruchs 1 gelöst. Wie in Abb. 3 dargestellt, ist der NBNS-Server, der NBDD-Server sowie eine NBSS-Überwachung auf dem Gateway installiert. Wenn ein Anwender freigegebene Ressourcen eines Rechners über das Netzwerk nutzen will, dann ist hierfür eine NetBIOS-Sitzung notwendig. Um während dieser Sitzung die Verbindungsaufbauten und damit auch Kosten zu minimieren ist die NBSS-Überwachung notwendig. Da die NBSS- Überwachungen direkt auf dem jeweiligen Gateway installiert sind, können sie jeder Zeit sämtliche Informationen über den Zustand des Gateways, beispielsweise ob eine Verbindung zum Zielnetz besteht, abfragen.In particular, the object is solved by the features of claim 1. As shown in Fig. 3, the NBNS server, the NBDD server and an NBSS monitor are installed on the gateway. If a user wants to use released resources of a computer over the network, a NetBIOS session is necessary. NBSS monitoring is necessary to minimize the connection set-up and thus costs during this session. Since the NBSS monitors are installed directly on the respective gateway, they can query all information about the status of the gateway at any time, for example whether there is a connection to the target network.

Da auch der NBNS-Server direkt auf dem Gateway installiert ist und somit Zugriff auf die Informationen über den Zustand des Gateways hat, kann er zu einem bestimmten Zeitpunkt, z. B. bei einer Übertragung von Nutzdaten, seine Datenbank mit den anderen NBNS abgleichen, ohne daß dafür ein gesonderter Ver­ bindungsaufbau notwendig ist. Genauso kann der NBDD fest­ stellen, ob das Senden eines Datagramms in ein entferntes NetBIOS-Netzwerk zu einem Verbindungsaufbau führen würde und ggf. das Datagramm verwerfen.Since the NBNS server is also installed directly on the gateway and thus access to the information about the state of the gateway, it can at a certain time, e.g. B. when transferring user data, its database with the adjust other NBNS without a separate Ver building a bond is necessary. The NBDD can do the same ask whether sending a datagram to a distant NetBIOS network would lead to a connection establishment and discard the datagram if necessary.

Abgleich der NBNS-DatenbankenComparison of the NBNS databases

Nach dem Starten des Gateways durchsucht der auf ihm in­ stallierte NBNS das lokale NetBIOS-Netzwerk nach vorhandenen Arbeitsgruppen, Rechnern und Servern. Das Suchverfahren, nachfolgend als Netzwerkscan bezeichnet, basiert auf der An­ nahme, daß in einem NetBIOS-Netzwerk normalerweise jeder Rechner freigegebene Ressourcen von mehr als einem anderen Rechner verwendet. Diese Annahme ist für das Funktionieren des Suchverfahrens wichtig. Wenn kein Rechner freigegebene Ressourcen anderer Rechner verwendet, muß der NBNS warten, bis sich alle Rechner selbst bei ihm melden, um ein vollstän­ diges Bild des Netzwerks in seiner Datenbank ablegen zu können. Es kann unter Umständen bis zu 60 Minuten dauern (wie man es z. B. in der "Netzwerkumgebung" von Windows-Rechnern beobachten kann) bis jeder Rechner in einem NetBIOS-Netzwerk seine freigegebenen Ressourcen bekannt gegeben hat.After starting the gateway, it searches in NBNS installed the local NetBIOS network according to existing ones Workgroups, computers and servers. The search procedure, hereinafter referred to as network scan, is based on the An assumed that normally in a NetBIOS network everyone  Computer shared resources from more than one other Calculator used. This assumption is for the functioning of the search process important. If no computer is released If resources from other computers are used, the NBNS must wait until all computers report themselves to him, in order to complete Put the picture of the network in its database can. It may take up to 60 minutes (like one z. B. in the "network environment" of Windows computers can watch) until every computer in a NetBIOS network has released its released resources.

Grundlage des Netzwerkscans ist, daß an jedem Rechner abge­ fragt werden kann, welche weiteren Rechner, Arbeitsgruppen und Server er kennt, d. h. von welchen Rechnern er freigege­ bene Ressourcen verwendet und in welchen Gruppen sich diese Rechner befinden. Über eine Gruppenanfrage (Adreßauflösung für einen Gruppennamen) für alle in der Antwort darauf von dem Rechner mitgeteilten Gruppen erhält der NBNS die Adressen aller in der jeweiligen Gruppe angemeldeten Rechner. Diese Gruppenanfrage wird als Rundsende-Nachricht (Broadcast) abge­ setzt. Jeder Rechner, der Mitglied der angefragten Gruppe ist, überträgt darauf hin seine IP-Adresse zum NBNS. Nun kann der NBNS auf jedem einzelnen dieser Rechner nach weiteren auf ihm gespeicherten Gruppen suchen. Für jede neue Gruppe setzt der NBNS nun wieder eine Gruppenanfrage ab. Dies geschieht so lange, bis keine weiteren Rechner oder Gruppen mehr gefunden werden. Auf diese Weise selbst große Netze innerhalb weniger Sekunden vollständig durchsucht werden. Je größer das Netz ist, um so vollständiger ist das Netzabbild in der Datenbank am Ende der Suche, da die Wahrscheinlichkeit, daß die notwen­ dige Annahme für das Funktionieren des Suchverfahrens erfüllt ist, mit der Netzgröße steigt.The basis of the network scan is that on every computer can be asked which other computers, work groups and server he knows d. H. from which computers he releases used resources and in which groups they are Calculator. Via a group request (address resolution for a group name) for everyone in the answer to it from Groups communicated to the computer receive the addresses of the NBNS all computers registered in the respective group. This Group request is sent as a broadcast message puts. Each computer, the member of the requested group transmits its IP address to the NBNS. Well now the NBNS on each one of these computers after others search for saved groups. For every new group the NBNS again from a group request. This is how it happens long until no more computers or groups are found become. In this way, even large networks within a few Seconds to be searched completely. The bigger the network the more complete the network map is in the database at the end of the search because the likelihood that the necessary assumption for the functioning of the search procedure fulfilled is, increases with the network size.

Nach dem Suchvorgang gleicht der NBNS seine Datenbank mit allen ihm bekannten NBNS ab. Hierzu wird einmalig eine Ver­ bindung zu allen über Wählverbindungen angeschlossenen ent­ fernten NetBIOS-Netzwerken aufgebaut, über die ein solcher NBNS erreicht werden kann. Dieser Erstabgleich wird vom NBNS- Server überwacht. Gelingt es nicht die Datenbanken abzuglei­ chen, weil z. B. der NBNS im entfernten NetBIOS-Netzwerk nicht aktiv oder der Einwahlpunkt in das ferne NetBIOS-Netzwerk be­ setzt ist, so wird der Erstabgleich zu einem späteren Zeit­ punkt erneut versucht. In vorteilhafter Ausgestaltung der Er­ findung gibt der NBNS nach einer Höchstzahl von Versuchen zum Erstabgleich auf und markiert das entfernt liegende NetBIOS- Netzwerk als nicht erreichbar. Dies verhindert auch ständige Abgleichversuche, wenn der NBNS oder das Gateway falsch kon­ figuriert sind.After the search, the NBNS compares its database all known NBNS. For this, a Ver connection to all ent  remote NetBIOS networks built over which such NBNS can be achieved. This initial comparison is carried out by the NBNS Server monitors. If the databases do not succeed chen because z. B. the NBNS in the remote NetBIOS network not active or the dial-in point into the remote NetBIOS network is set, the initial adjustment is made at a later time tried again. In an advantageous embodiment of the Er After a maximum number of attempts, the NBNS gives Initial adjustment and marks the remote NetBIOS Network as unreachable. This also prevents constant Attempts to reconcile if the NBNS or the gateway is incorrect are figured.

Um Verbindungskosten zu sparen, aber dennoch der Dynamik ei­ nes NetBIOS-Netzes, die durch ständiges Ein- und Ausschalten von Rechnern gekennzeichnet ist, Rechnung zu tragen, gleicht der NBNS nach dem Erstabgleich seine Datenbank nur noch dann ab, wenn das Gateway eine Verbindung zu dem fernen Netz auf­ gebaut hat, in dem sich der andere NBNS befindet, um bei­ spielsweise Nutzdaten zu übertragen. Zudem wird das Gateway so konfiguriert, daß es den NBNS-Server immer dann benach­ richtigt, wenn es eine Wählverbindung aufgebaut hat. Darauf­ hin prüft der NBNS-Server zunächst, ob er das gerade ange­ wählte entfernte NetBIOS-Netzwerk kennt und gleicht ggf. so­ fort seine Datenbank mit dem dort befindlichen NBNS-Server ab. Änderungen in der Datenbank, die sich während einer be­ stehenden Verbindung ergeben werden dem fernen NBNS-Server sofort mitgeteilt.To save connection costs, but still keep the dynamic NetBIOS network, which is switched on and off continuously is marked by computers, takes into account the same the NBNS only has its database after the initial comparison when the gateway connects to the remote network in which the other NBNS is located in order to to transmit user data, for example. In addition, the gateway configured so that it always adjoins the NBNS server correct if it has established a dial-up connection. On it The NBNS server first checks whether it has just received this selected remote NetBIOS network knows and may be the same continued its database with the NBNS server located there from. Changes in the database that occur during a loading connection to the remote NBNS server communicated immediately.

Um die Datenbank und das damit verbundene zum Abgleich not­ wendige Datenaufkommen so klein wie möglich zu halten, prüft der NBNS-Server jedes Gateways beim Abgleich seiner in­ ternen Datenbank mit jeder internen Datenbank der NBNS-Server in entfernten Gateways an Hand der Routing-Tabelle seines Gateways, ob der Rechner aus einem entfernten NetBIOS-Netz­ werk oder der entfernte Stand-alone-Rechner, dessen Name an den NBNS-Server übertragen wird, überhaupt erreichbar ist.In order to compare the database and the associated related keep agile data volumes as small as possible, the NBNS server checks each gateway when comparing its in Remote database with every internal database of the NBNS server in remote gateways using the routing table of his Gateways whether the computer is from a remote NetBIOS network  factory or the remote stand-alone computer whose name is on the NBNS server is transmitted, is attainable at all.

Hierzu wertet jeder NBNS-Server, an den ein Name aus einem entfernten NetBIOS-Netzwerk oder von einem Stand-alone-Rech­ ner übertragen wird, die Routing-Tabelle des zugehörigen Gateways aus, indem der übertragene Name nur dann in die Da­ tenbank des NBNS-Server aufgenommen wird, wenn zum einen ein Routeneintrag zu dem Rechner, dessen Namen übertragen wird, vorhanden ist, und zum anderen der Rechner und der den Namen übertragende NBNS-Server über die selbe Route erreichbar sind.For this purpose, each NBNS server to which a name from a remote NetBIOS network or from a stand-alone computer ner is transmitted, the routing table of the associated Gateways by the transferred name only in the Da database of the NBNS server is included if on the one hand Route entry to the computer whose name is transferred is present, and on the other hand the computer and the name transmitting NBNS servers can be reached via the same route are.

Zur weiteren Reduzierung der Datenbankgröße kann der NBNS- Server seine Datenbank selektiv abgleichen. Es werden ledig­ lich die Datenbankeinträge übermittelt, die der NBNS-Server von anderen NBNS-Servern als dem, mit dem gerade abgeglichen wird, gelernt wurden. Diese Methode eine Datenbank abzuglei­ chen wird in der Netzwerktechnik allgemein als Split-Horizon- Algorithmus bezeichnet.To further reduce the database size, the NBNS Server selectively compare its database. It will be single Lich the database entries transmitted by the NBNS server from other NBNS servers than the one you just compared to will have been learned. This method of derating a database is generally used in network technology as a split-horizon Algorithm called.

Mischbetrieb verschiedener NetBIOS-KnotentypenMixed operation of different NetBIOS node types

Bei den verschiedenen Knotentypen (B/P/M/H) muß nach dem Ver­ halten des Knotens unterschieden werden. Es gibt B- und P- Knoten-Verhalten. Die beiden anderen Typen (M- und H-) stellen Mischformen von B- und P-Knoten dar und können sich daher wie ein B- oder ein P-Knoten verhalten oder auch beide Verhaltensweisen gleichzeitig zeigen.For the different types of knots (B / P / M / H) according to Ver holding the knot can be distinguished. There are B and P Knot behavior. The other two types (M- and H-) represent mixed forms of B and P knots and can therefore behave like a B or a P node or both Show behaviors at the same time.

Der RFC 1001 verbietet eigentlich den Mischbetrieb von P- und B- Knoten. Diese Beschränkung liegt darin begründet, daß ein B- Knoten keine Namensinformationen von P- Knoten erhalten kann und umgekehrt, weil B-Knoten die Namenauflösung über Broadcasts durchführen, während P-Knoten dafür den NBNS ver­ wenden.The RFC 1001 actually prohibits the mixed operation of P and B knot. The reason for this limitation is that a B nodes do not receive name information from P nodes and vice versa, because B-nodes have name resolution  Perform broadcasts, while P-nodes ver the NBNS ver turn.

Um den Mischbetrieb zu ermöglichen, registriert der hier ver­ wendete NBNS sowohl die Namen der P- als auch die der B-Kno­ ten in seiner Datenbank und kann so auch Anfragen eines P- Knotens für einen Namen eines B-Knotens auflösen. Weiterhin be­ antwortet der NBNS Anfragen eines B-Knotens für einen P-Kno­ tennamen anstelle des eigentlichen Nameninhabers. Bei M- und H-Knoten richtet der NBNS sein Verhalten je nach Art der An­ frage (B- oder P-Anfrage).To enable mixed operation, the ver NBNS used both the P and B kno names in its database and can therefore also answer requests from a P- Resolve a node for a name of a B node. Continue to be the NBNS answers requests from a B node for a P node name instead of the actual name holder. With M and The NBNS directs its behavior depending on the type of connection question (B or P request).

Durch die Möglichkeit des Mischbetriebs muß zum einen kein NetBIOS-Rechner neu konfiguriert werden, um zwei NetBIOS- Netzwerke zu koppeln, und zum anderen werden Verbindungsauf­ bauten, die sich durch Broadcasts für Namenauflösungen eines B-Knoten ergeben, verhindert, da der NBNS-Server auf dem Gateway diese Anfrage beantwortet. Zusätzlich können auch B- Knoten von einem fernen NetBIOS-Netzwerk aus erreicht werden, da der NBNS die IP-Adresse des B-Knotens beim Abgleich der Datenbank dem NBNS im entfernten Netzwerk mitteilt, wodurch der B-Knoten dort bekannt ist und seine Adresse abgefragt werden kann.Due to the possibility of mixed operation, on the one hand, no NetBIOS computers can be reconfigured to two NetBIOS To couple networks, and on the other hand there are connections built by broadcasts for name resolutions one B nodes result, because the NBNS server on the Gateway answered this request. In addition, B- Nodes can be reached from a remote NetBIOS network, since the NBNS the IP address of the B node when comparing the Database tells the NBNS on the remote network what the B node is known there and queried its address can be.

Einwahl in ein NetBIOS-NetzwerkDialing into a NetBIOS network

Durch die Integration des NBNS in das Gateway und die aus­ schließliche Verwendung von in den RFC1001 und 1002 definier­ ten Protokollen kann dieses Verfahren auch direkt für die Einwahl einzelner Rechner (Einwahl eines nicht in ein LAN eingebundenen Rechners, Dial-In-Knoten) in ein NetBIOS-Netz­ werk dienen (RAS-Server, kurz für Remote Access Service). Da dieser einzelne Rechner normalerweise als B-Knoten konfi­ guriert ist, könnte er bei einer normalen Installation nach RFC 1001 zwar auf die im LAN freigegebenen Ressourcen zugrei­ fen, er selber könnte jedoch keine Ressourcen im Netzwerk freigeben, da sein Name im LAN nicht aufgelöst werden kann. Der NBNS-Server in dem erfindungsgemäßen Verfahren hingegen erlaubt den Mischbetrieb aller NetBIOS-Knoten. Daher ist auch der Name des eingewählten Stand-alone-Rechners im LAN sicht­ bar, und es kann auf freigegebene Ressourcen dieses Rechners zugegriffen werden.By integrating the NBNS into the gateway and out Eventual use of defined in RFC1001 and 1002 This protocol can also be used directly for the Dialing in individual computers (dialing one not into a LAN integrated computer, dial-in node) in a NetBIOS network serve (RAS server, short for Remote Access Service). Since this single computer is usually confi is gurured, it could follow a normal installation RFC 1001 is accessible to the resources released in the LAN  However, he himself could not use any resources in the network share because its name cannot be resolved in the LAN. The NBNS server in the inventive method, however, allows mixed operation of all NetBIOS nodes. Therefore, too the name of the selected stand-alone computer in the LAN view bar, and it can access this computer's shared resources be accessed.

Gruppennachrichten und der NBDD-ServerGroup messages and the NBDD server

Der NBDD-Server dient zur Weiterleitung von Gruppennachrich­ ten in entfernte NetBIOS-Netzwerke. Dazu löst er mit Hilfe des NBNS-Server den Gruppennamen in die zugehörigen IP- Adressen auf und überträgt nach dem bisherigen Stand der Technik das jeweilige Datagramm an jeden Rechner, der Mit­ glied in der adressierten Gruppe ist. Datagramme sind aber so definiert, daß sie ungesichert übertragen werden. Das bedeu­ tet, daß sie auch verloren gehen dürfen. Der erfindungsgemäß auf dem Gateway installierte NBDD-Server erfragt daher zu­ nächst beim Gateway, ob eine Verbindung zum jeweiligen Ziel besteht. Das Datagramm wird nur dann übertragen, wenn ohnehin eine Verbindung besteht, ansonsten wird es verworfen. Im Ge­ gensatz zum herkömmlichen NBDD-Server kann der auf dem Gateway installierte NBDD-Server auch Datagramme verwerfen, die an einzelne Rechner (Hosts) im entfernten NetBIOS-Netz­ werk gerichtet sind, wenn das Gateway keine Verbindung zum jeweiligen entfernten NetBIOS-Netzwerk aufgebaut hat.The NBDD server is used to forward group messages remote NetBIOS networks. To do this, he solves with help of the NBNS server the group name into the associated IP Addresses and transmits according to the current status of Technology the respective datagram to each computer, the Mit member of the addressed group. Datagrams are like that defines that they are transmitted unsecured. That means that they can also get lost. The invention NBDD server installed on the gateway therefore asks next to the gateway, whether a connection to the respective destination consists. The datagram is only transmitted if it is anyway there is a connection, otherwise it will be discarded. In Ge In contrast to the conventional NBDD server, the on the Gateway installed NBDD servers also discard datagrams, to individual computers (hosts) in the remote NetBIOS network factory, if the gateway is not connected to the the respective remote NetBIOS network.

NBSS-Überwachung und PaketfilterungNBSS monitoring and packet filtering

Ein weiterer Punkt, der Verbindungskosten verursacht, sind un­ erwünschte Datenpakete, die während einer NetBIOS-Session zwischen gekoppelten Net-BIOS-Netzwerken übertragen werden. Zu diesen Paketen zählen alle Pakete, die für den Anwender keine Nutzdaten enthalten. Beispielsweise prüfen NetBIOS- Rechner, wenn über eine längere Zeit keine Daten übertragen wurden, ob ihr Kommunikationspartner noch aktiv ist, was zu einem unerwünschten Verbindungsaufbau führt. Da alle Daten, die an ein entferntes Netz übertragen werden sollen, durch das Gateway laufen müssen, kann dort auch direkt in den Da­ tenstrom eingegriffen werden und alle unerwünschten Pakete gefiltert werden. Hierzu wird auf dem Gateway eine NBSS-Über­ wachung installiert, die alle NetBIOS-Session-Pakete auf un­ erwünschte Datenpakete, also solche, die beispielsweise le­ diglich überprüfen, ob der Kommunikationspartner noch aktiv ist, hin untersucht und diese gegebenenfalls filtert.Another point that causes connection costs are un desired data packets during a NetBIOS session be transferred between coupled Net-BIOS networks. These packages include all packages for the user  contain no user data. For example, check NetBIOS Computer if no data has been transferred for a long time whether your communication partner is still active, what about leads to an undesired connection establishment. Because all the data, to be transferred to a remote network by the gateway must run, there can also be directly in the da intervened and all unwanted packets be filtered. For this purpose, an NBSS-Über is on the gateway installed that all NetBIOS session packages on un Desired data packets, i.e. those that, for example, le Check digitally whether the communication partner is still active is examined and, if necessary, filters it.

Unerwünschte Datenpakete, die bei der Kopplung von NetBIOS- Netzwerken zum Aufbau einer Wählverbindung führen, sind:
Unwanted data packets that lead to the establishment of a dial-up connection when connecting NetBIOS networks are:

  • - NetBIOS-Watchdogs - hiermit prüft ein Server in regelmäßi­ gen Abständen ob die bei ihm angemeldeten Clients noch ak­ tiv sind.- NetBIOS watchdogs - hereby a server checks regularly depending on whether the clients registered with him are still active are active.
  • - SMB-Echo-Requests - Hiermit prüft ein Client in regelmäßi­ gen Abständen ob die Server, bei denen er angemeldet ist, noch aktiv sind.- SMB echo requests - Hereby a client checks regularly at intervals whether the server with which he is logged on are still active.
  • - Reauthentifizierungspakete - Mit diesen prüfen Server und Clients in unregelmäßigen Abständen die Authentizität ih­ rer Kommunikationspartner (⇒ verschlüsselte Paßwortab­ frage).- Reauthentication packets - Server and Clients periodically verify the authenticity ih rer communication partner (⇒ encrypted password from question).

Für die Definition von Client und Server gilt:
The following applies to the definition of client and server:

  • - Server ist der Rechner, der freigegebene Ressourcen im Netzwerk zur Verfügung stellt.- Server is the computer that releases resources in the Network.
  • - Client ist der Rechner, der freigegebene Ressourcen eines Servers nutzt.- Client is the computer, the shared resources of a Servers.

In einem NetBIOS-Netzwerk kann jeder Rechner gleichzeitig so­ wohl Server als auch Client sein. In a NetBIOS network, every computer can do this simultaneously probably be server as well as client.  

Die auf jedem Gateway installierte NBSS-Überwachung filtert unerwünschte, keine Nutzdaten enthaltende Datenpakete im Da­ tenstrom und gibt an den Rechner im lokalen NetBIOS-Netzwerk des Gateways, der ein solches Paket überträgt eine Rückmel­ dung aus, die dieser für die Rückmeldung aus dem entfernten NetBIOS-Netzwerk und/oder die Rückmeldung des Stand-alone- Rechners hält, damit der Rechner im lokalen NetBIOS-Netzwerk trotz abgebauter Wählverbindung die Sitzung nicht abbricht.The NBSS monitoring installed on each gateway filters unwanted data packets containing no user data in the da tenstrom and gives to the computer in the local NetBIOS network of the gateway that transmits such a packet which this for the feedback from the remote NetBIOS network and / or feedback from the stand-alone Computer stops so that the computer in the local NetBIOS network the session does not terminate despite the dial-up connection being closed.

Die NBSS-Überwachung ändert die Sequenz- und Bestätigungs­ nummern des Sicherungsprotokolls TCP bei jedem unerwünschten Datenpaket derart ab, daß der Rechner im entfernten NetBIOS- Netzwerk und/oder der entfernte Stand-Alone-Rechner die feh­ lenden unerwünschten Datenpakete nicht bemerkt. Wird ein wei­ teres unerwünschtes Paket gefiltert, so vergrößert sich die notwendige Änderung der Sequenz- und Bestätigungsnummern ent­ sprechend. Die Sitzungsüberwachung muß für jede NetBIOS- Sitzung zwischen zwei Rechnern in gekoppelten NetBIOS-Netz­ werken die notwendigen Änderungen der Sequenz- und Bestäti­ gungsnummern und zusätzlich die IP-Adressen und Ports der an der Sitzung beteiligten Rechner sowie weitere interne Parame­ ter über den Zustand der Verbindung, die zur Verwaltung der Sitzungen in der Datenbank der NBSS-Überwachung nötig sind, speichern. Daher ist die Anzahl der möglichen (gleichzeiti­ gen) Sitzungen durch den auf dem Gateway verfügbaren Speicher beschränkt.NBSS monitoring changes the sequence and confirmation Number of the security protocol TCP for each undesired Data packet such that the computer in the remote NetBIOS Network and / or the remote stand-alone computer that feh not noticed unwanted data packets. If a white If the unwanted packet is filtered, the necessary change of sequence and confirmation numbers ent speaking. Session monitoring must be carried out for every NetBIOS Session between two computers in coupled NetBIOS network work the necessary changes of the sequence and confirmation supply numbers and also the IP addresses and ports of the computers involved in the session and other internal parameters ter about the state of the connection used to manage the Sessions in the database of NBSS monitoring are necessary to save. Therefore, the number of possible (simultaneous gen) sessions through the memory available on the gateway limited.

Da Reauthentifizierungspakete verschlüsselt sind (s. o.), können sie von der NBSS-Überwachung nicht korrekt beantwortet und daher auch nicht gefiltert werden. Aus diesem Grund wer­ den nur NetBIOS-Watchdogs und die SMB-Echo-Requests gefil­ tert.Since re-authentication packets are encrypted (see above), NBSS surveillance cannot answer them correctly and therefore cannot be filtered. For this reason, who who only liked NetBIOS watchdogs and the SMB echo requests tert.

Claims (7)

1. Verfahren zur Kopplung von NetBIOS-Netzwerken und/oder NetBIOS-Stand-alone-Rechnern über gebührenpflichtige Wählverbindungen, dadurch gekennzeichnet, daß
  • - jedes NetBIOS-Netzwerk und/oder jeder NetBIOS-Stand­ alone-Rechner mit mindestens einem Gateway verbunden ist
  • - jeder Rechner eines NetBIOS-Netzwerks und jeder NetBIOS-Stand-alone-Rechner zur Namensauflösung als B-Knoten, P-Knoten, M-Knoten oder H-Knoten konfigu­ riert ist und auf jedem Gateway ein NBNS-Server in­ stalliert ist, der nach seinem Start das mit ihm ver­ bundene NetBIOS-Netzwerk nach vorhandenen NetBIOS-Ar­ beitsgruppen, -Rechnern und -Servern durchsucht oder den mit ihm verbundenen NetBIOS-Stand-alone-Rechner erkennt und dabei zumindest die Namen der NetBIOS-Ar­ beitsgruppen, -Rechner und/oder -Server, die zu den Namen gehörigen IP-Adressen sowie die Konfiguration der Rechner als B-, P-, M- oder H-Knoten in eine in­ terne Datenbank einträgt,
  • - der NBNS-Server jedes Gateways nach dieser Durchsu­ chung eine Wählverbindung zu allen mit ihm gekoppel­ ten NetBIOS-Netzwerken und/oder NetBIOS-Stand-alone- Rechnern aufbaut, um seine interne Datenbank mit je­ der internen Datenbank der NBNS-Server der Gateways in entfernten NetBIOS-Netzwerken und/oder von ent­ fernten Stand-Alone-Rechnern erstmals über eine Wähl­ verbindung abzugleichen,
  • - jeder NBNS-Server seine interne Datenbank danach nur noch dann mit NBNS-Servern der Gateways in entfernten NetBIOS-Netzwerken und/oder von entfernten Stand- Alone-Rechnern abgleicht, wenn eine Wählverbindung zum Austausch von Nutzdaten besteht,
  • - auf jedem Gateway ein NBDD-Server installiert ist, der NetBIOS-Datagramme nur dann in entfernte NetBIOS- Netzwerke und/oder an entfernte Stand-Alone-Rechner überträgt, wenn eine Wählverbindung zum Austausch von Nutzdaten besteht,
  • - auf jedem Gateway eine NBSS-Überwachung installiert ist, die keine Nutzdaten enthaltende Datenpakete im Datenstrom erkennt und an den Rechner im lokalen NetBIOS-Netzwerk des Gateways, der ein solches Paket überträgt, eine Rückmeldung ausgibt, die dieser für die Rückmeldung aus dem entfernten NetBIOS-Netzwerk und/oder die Rückmeldung des Stand-alone-Rechners hält, damit der Rechner im lokalen NetBIOS-Netzwerk trotz abgebauter Wählverbindung die Sitzung nicht ab­ bricht, wobei die NBSS-Überwachung die Sequenz- und Bestätigungsnummern des Sicherungsprotokolls TCP bei jedem keine Nutzdaten enthaltenden Datenpaket derart abändert, daß der Rechner im entfernten NetBIOS-Netz­ werk und/oder der entfernte Stand-Alone-Rechner die fehlenden, keine Nutzdaten enthaltenden Datenpakete nicht bemerkt.
1. A method for coupling NetBIOS networks and / or NetBIOS stand-alone computers via dial-up connections subject to charges, characterized in that
  • - Each NetBIOS network and / or each NetBIOS stand-alone computer is connected to at least one gateway
  • - Each computer in a NetBIOS network and each NetBIOS stand-alone computer for name resolution is configured as a B-node, P-node, M-node or H-node and an NBNS server is installed on each gateway after starting, the connected NetBIOS network is searched for existing NetBIOS work groups, computers and servers or recognizes the connected NetBIOS stand-alone computer and at least recognizes the names of the NetBIOS work groups and computers and / or servers that enter the IP addresses belonging to the names and the configuration of the computers as B, P, M or H nodes in an internal database,
  • - After this search, the NBNS server of each gateway establishes a dial-up connection to all NetBIOS networks and / or NetBIOS stand-alone computers coupled to it, in order to connect its internal database with the internal database of the gateway's NBNS server compare remote NetBIOS networks and / or remote stand-alone computers for the first time via a dial-up connection,
  • each NBNS server then only compares its internal database with NBNS servers of the gateways in remote NetBIOS networks and / or from remote stand-alone computers if there is a dial-up connection for the exchange of user data,
  • an NBDD server is installed on each gateway, which only transmits NetBIOS datagrams to remote NetBIOS networks and / or to remote stand-alone computers if there is a dial-up connection for the exchange of user data,
  • - An NBSS monitor is installed on each gateway, which detects no data packets containing user data in the data stream and issues a feedback to the computer in the gateway's local NetBIOS network that transmits such a packet, which the latter transmits for the feedback from the remote NetBIOS Network and / or the feedback from the stand-alone computer stops so that the computer in the local NetBIOS network does not terminate the session despite the dial-up connection being terminated, with the NBSS monitoring the sequence and confirmation numbers of the security protocol TCP for each containing no user data Modifies the data packet such that the computer in the remote NetBIOS network and / or the remote stand-alone computer does not notice the missing data packets that do not contain any useful data.
2. Verfahren nach Anspruch 1, dadurch gekennzeichnet, daß der NBNS-Server jedes Gateways beim Abgleich seiner in­ ternen Datenbank mit jeder internen Datenbank der NBNS- Server in entfernten Gateways an Hand der Routing-Tabelle seines Gateways prüft, ob der Rechner aus einem entfern­ ten NetBIOS-Netzwerk oder der entfernte Stand-alone-Rech­ ner, dessen Name und IP-Adresse an den NBNS-Server über­ tragen wird, überhaupt erreichbar ist.2. The method according to claim 1, characterized in that the NBNS server of each gateway when comparing its in remote database with every internal database of the NBNS Servers in remote gateways using the routing table its gateway checks whether the computer is removed from a NetBIOS network or the remote stand-alone computer ner whose name and IP address to the NBNS server will wear, is attainable at all. 3. Verfahren nach Anspruch 2, dadurch gekennzeichnet, daß jeder NBNS-Server, an den ein Name und eine zugehörige IP-Adresse aus einem entfernten NetBIOS-Netzwerk oder von einem Stand-alone-Rechner übertragen wird, die Routing- Tabelle des zugehörigen Gateways auswertet, in dem der übertragene Name nur dann in die Datenbank des NBNS-Ser­ ver aufgenommen wird, wenn zum einen ein Routeneintrag zu dem Rechner, dessen Namen und IP-Adresse übertragen wird, vorhanden ist, und zum anderen der Rechner und der den Namen und IP-Adresse übertragende NBNS-Server über die selbe Route erreichbar sind.3. The method according to claim 2, characterized in that each NBNS server to which a name and an associated one IP address from a remote NetBIOS network or from is transferred to a stand-alone computer, the routing  Evaluates the table of the associated gateway in which the transferred name only in the database of the NBNS-Ser ver is recorded if, on the one hand, a route entry is closed the computer whose name and IP address are transmitted, is present, and on the other hand the computer and the NBNS servers transmitting names and IP addresses via the same route can be reached. 4. Verfahren nach Anspruch 2 oder 3, dadurch gekennzeichnet, daß der Datenbankabgleich zwischen den NBNS-Servern nach dem Split-Horizon-Algorithmus erfolgt, so daß Inhalte der internen Datenbanken der NBNS-Server beim Abgleich nur an diejenigen entfernten NBNS-Server übertragen werden, von denen sie nicht zuvor gelernt wurden.4. The method according to claim 2 or 3, characterized in that the database comparison between the NBNS servers after the split horizon algorithm, so that the content of the internal databases of the NBNS servers during the comparison only those remote NBNS servers are transmitted from that they have not been taught before. 5. Verfahren nach einem der Ansprüche 1 bis 4, dadurch ge­ kennzeichnet, daß beim Datenbankabgleich zwischen den NBNS-Servern übertragene Daten zumindest solange gültig bleiben, bis ein erneuter Abgleich erfolgen konnte.5. The method according to any one of claims 1 to 4, characterized ge indicates that the database comparison between the Data transmitted to NBNS servers is valid at least as long remain until a new adjustment could take place. 6. Verfahren nach einem der Ansprüche 1 bis 5, dadurch ge­ kennzeichnet, daß die Anzahl von jedem NBNS-Server über das Gateway aufgebauten Wählverbindungen zum erstmaligen Datenbankabgleich mit entfernten NBNS-Servern beschränkt ist.6. The method according to any one of claims 1 to 5, characterized ge indicates that the number of each NBNS server is over the dial-up connections established for the first time Database synchronization with remote NBNS servers limited is. 7. Verfahren nach einem der Ansprüche 1 bis 6, dadurch ge­ kennzeichnet, daß das Verfahren über die in RFC 1001 und RFC 1002 definierten Protokolle abgewickelt wird.7. The method according to any one of claims 1 to 6, characterized ge indicates that the procedure is based on that described in RFC 1001 and RFC 1002 defined protocols is processed.
DE19955132A 1999-05-11 1999-11-17 Method for coupling NetBIOS networks and / or NetBIOS stand-alone computers Expired - Fee Related DE19955132C2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE19955132A DE19955132C2 (en) 1999-05-11 1999-11-17 Method for coupling NetBIOS networks and / or NetBIOS stand-alone computers
DE50009391T DE50009391D1 (en) 1999-05-11 2000-05-10 Method for coupling NetBIOS networks and computers
EP20000109882 EP1052802B1 (en) 1999-05-11 2000-05-10 Method for the interface between NetBIOS computers and networks

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE19921831 1999-05-11
DE19955132A DE19955132C2 (en) 1999-05-11 1999-11-17 Method for coupling NetBIOS networks and / or NetBIOS stand-alone computers

Publications (2)

Publication Number Publication Date
DE19955132A1 true DE19955132A1 (en) 2001-01-18
DE19955132C2 DE19955132C2 (en) 2001-04-26

Family

ID=7907788

Family Applications (2)

Application Number Title Priority Date Filing Date
DE19955132A Expired - Fee Related DE19955132C2 (en) 1999-05-11 1999-11-17 Method for coupling NetBIOS networks and / or NetBIOS stand-alone computers
DE50009391T Expired - Lifetime DE50009391D1 (en) 1999-05-11 2000-05-10 Method for coupling NetBIOS networks and computers

Family Applications After (1)

Application Number Title Priority Date Filing Date
DE50009391T Expired - Lifetime DE50009391D1 (en) 1999-05-11 2000-05-10 Method for coupling NetBIOS networks and computers

Country Status (1)

Country Link
DE (2) DE19955132C2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958823A (en) * 2017-05-18 2018-12-07 佛山市顺德区顺达电脑厂有限公司 The method for modifying basic input output system setting value

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994008412A1 (en) * 1992-10-05 1994-04-14 Nokia Telecommunications Oy Method for interconnecting local area networks or network segments and a local area network bridge
US5867660A (en) * 1995-05-11 1999-02-02 Bay Networks, Inc. Method and apparatus for communicating between a network workstation and an internet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994008412A1 (en) * 1992-10-05 1994-04-14 Nokia Telecommunications Oy Method for interconnecting local area networks or network segments and a local area network bridge
US5867660A (en) * 1995-05-11 1999-02-02 Bay Networks, Inc. Method and apparatus for communicating between a network workstation and an internet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958823A (en) * 2017-05-18 2018-12-07 佛山市顺德区顺达电脑厂有限公司 The method for modifying basic input output system setting value

Also Published As

Publication number Publication date
DE50009391D1 (en) 2005-03-10
DE19955132C2 (en) 2001-04-26

Similar Documents

Publication Publication Date Title
DE60212289T2 (en) Management of Private Virtual Networks (VPN)
DE69922690T2 (en) FAULT TOLERANT NETWORKS
DE60108927T2 (en) Computer systems, in particular virtual private networks
DE10022431B4 (en) Integrated IP network
DE69726701T2 (en) Method for transferring connection management information in World Wide Web requests and responses
DE60207368T2 (en) Method and device for automatic recognition of network elements with data transmission capabilities
DE60210927T2 (en) Method and device for authorizing data transmission via firewalls
DE60215117T2 (en) MULTI-USER APPLICATIONS IN MULTIMEDIA NETWORKS
DE60014234T2 (en) System and method for enabling fault tolerant systems
DE69731965T2 (en) ACCESS TO COMPUTER EQUIPMENT FROM OUTSIDE THROUGH A FIREWALL
DE69827351T2 (en) Multiple virtual pathfinder
DE69632782T2 (en) Remote access device and dynamic internet protocol (IP) address allocation method
DE69829346T2 (en) Input / output device for a peripheral device
DE602004004060T2 (en) Distribution of membership information for multi-user sessions at the application level
DE602004008415T2 (en) System and method for maintaining the network connection
DE602005005727T2 (en) Method and device for connecting nodes with heterogeneous communication protocols
DE102019210229A1 (en) Method and device for the analysis of service-oriented communication
DE69920502T2 (en) POINT-TO-POINT CONNECTION VIA A BROADCASTING NETWORK
EP1317820A1 (en) Method for establishment of connections of pre-determined performance for a packet-oriented communication network with a resource manager
DE19955132C2 (en) Method for coupling NetBIOS networks and / or NetBIOS stand-alone computers
DE10119447A1 (en) Method of communicating data between a local area network and an external device and router therefor
EP1052802B1 (en) Method for the interface between NetBIOS computers and networks
DE60127342T2 (en) Systems and methods for peer connections over a network interface card
WO2004100498A1 (en) Method for data exchange between network elements in networks with differing address ranges
DE60317541T2 (en) METHOD FOR DETERMINING A TRANSMITTED PORTAL IN A WIRELESS NETWORK AND CORRESPONDING PORTAL DEVICE

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
D2 Grant after examination
8364 No opposition during term of opposition
8327 Change in the person/name/address of the patent owner

Owner name: LANCOM SYSTEMS GMBH, 52146 WUERSELEN, DE

R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee