[AIX 네트워크 관리 1] 개요 — 통신과 네트워크의 기초
https://archive.horanglab.com/posts/aix-net-intro
핵심 정리
- 이 주제 모음은 메일, MH, NFS, TCP/IP, BNU, 직렬 통신·TTY, ATE, SNMP의 구성과 문제 해결을 다룹니다. 이 연재는 운영에 쓰는 부분(메일·sendmail, TCP/IP, SNMP, NFS·SMBFS)을 옮깁니다.
- OSI 참조 모델은 7계층(응용·표현·세션·전송·네트워크·데이터 링크·물리)이며, 13계층은 네트워크에 따라 다르고 47계층은 네트워크와 무관합니다. TCP/IP는 응용+표현, 세션+전송, 데이터 링크+물리를 묶어 생각합니다.
- LAN은 1~10km 범위(이더넷, 토큰링), WAN은 그보다 넓은 범위입니다. 브리지는 MAC 절차가 다른 두 LAN을 잇고, 게이트웨이는 링크 계층 위에서 서로 다른 네트워크의 인터페이스·프로토콜을 바꿔 줍니다.
- 다른 시스템 접속: TCP/IP의
telnet(신뢰 명령)·tn·rlogin(비신뢰 명령), BNU의ct·cu·tip, 그리고 ATE. - 사용자·시스템 확인:
whoami(로그인 이름),uname -n(시스템 이름),host 이름(주소 정보가 있는지),finger @호스트(로그인한 사용자).
| 항목 | 내용 |
|---|---|
| 버전 | AIX 5.3, AIX 6.1 (본문은 같고, 6.1판에 '새로 바뀐 것'이 더해짐) |
| 원문 | Networks and communication management — 5.3판 19쪽, 6.1판 19쪽 |
| 관련 명령어 | whoami, uname -n, host, finger, telnet, rlogin, netstat -iv |
시스템 관리자와 사용자는 여러 가지 네트워크 통신 작업을 합니다. 시스템 관리자는 이 주제에서 TCP/IP 설정 구성, 네트워크 보안 강화, 시스템 모니터링 같은 작업을 하는 방법을 찾을 수 있습니다. 사용자는 운영 체제의 통신 응용 프로그램과 서비스를 쓰는 방법을 모두 찾을 수 있습니다. 메일, 메시지 처리기(MH), NFS(Network File System), HA-NFS(High Availability-NFS), TCP/IP(Transmission Control Protocol/Internet Protocol), BNU(Basic Networking Utilities), 직렬 통신과 TTY 장치, ATE(Asynchronous Terminal Emulation), SNMP(Simple Network Management Protocol)의 구성과 문제 해결도 설명합니다. 메일과 메시지 주고받기, 파일 전송(ftp 명령), 원격 시스템으로·에서 파일 인쇄, 다른 시스템에서 명령 실행, 로컬과 원격 시스템 사이의 통신, 통신 환경 사용자 정의에 관한 정보도 들어 있습니다. 이 주제는 운영 체제와 함께 오는 문서 CD에서도 볼 수 있습니다.
영어 원문
Networks and communication management
Both system administrators and users perform a variety of network communications tasks. System administrators can find information in this topic on how to perform such tasks as configuring TCP/IP settings, improving network security, and monitoring your system. Users can find complete information on how to perform such tasks as using communications applications and services for the operating system. Other information explains configuring and troubleshooting Mail, Message Handler (MH), Network File System (NFS), High Availability-NFS (HA-NFS), Transmission Control Protocol/Internet Protocol (TCP/IP), Basic Networking Utilities (BNU), serial communications and TTY devices, Asynchronous Terminal Emulation (ATE), and Simple Network Management Protocol (SNMP). Information on receiving and sending mail and messages, transferring files (ftp command), printing files from and to a remote system, running commands on other systems, communicating between local and remote systems, and customizing the communications environment is included. This topic is also available on the documentation CD that is shipped with the operating system.
(6.1) 새로 바뀐 것
Networks and communication management 주제 모음에서 새로 생기거나 크게 바뀐 내용입니다.
영어 원문
What's new in Networks and communication management
Read about new or significantly changed information for the Networks and communication management topic collection.
바뀐 곳을 찾는 법
PDF 파일에서는 왼쪽 여백의 수정 막대(|)가 새로 생기거나 바뀐 내용을 표시합니다.
영어 원문
How to see what's new or changed
In this PDF file, you might see revision bars (|) in the left margin that identify new and changed information.
2018년 2월
이 주제 모음에서 바뀐 내용의 요약입니다.
- 다음 주제에서 SMBv1에 관한 정보를 고쳤습니다: SMBFS 설치, SMBFS 마운트
영어 원문
February 2018
The following information is a summary of updates made to this topic collection:
- Updated information about SMBv1 in the following topics: – SMBFS installation – SMBFS mounting
2017년 4월
- 동적 어댑터 구성원(Dynamic Adapter Membership)으로 EtherChannel 바꾸기 주제에서 EtherChannel의 어댑터 빼기에 관한 정보를 고쳤습니다.
영어 원문
April 2017
- Updated information about removing an adapter from EtherChannel in the Making changes to an EtherChannel using Dynamic Adapter Membership topic.
통신과 네트워크
컴퓨터 네트워크의 일반 원리를 이해하려면 개념의 기초가 필요합니다. 일반적인 네트워크 원리를 잘 모르는 시스템 관리자는 이 주제를 읽어야 합니다. UNIX 네트워크에 익숙하다면 건너뛰어도 됩니다.
네트워크는 두 대 이상의 컴퓨터와 그 사이를 잇는 링크를 합친 것입니다. 물리 네트워크는 네트워크를 이루는 하드웨어(어댑터 카드, 케이블, 전화선 같은 장비)입니다. 소프트웨어와 개념 모델은 논리 네트워크를 이룹니다. 네트워크와 에뮬레이터의 종류마다 제공하는 기능이 다릅니다.
영어 원문
Communications and networks
Understanding the general principles of computer networking has a conceptual foundation. System administrators unfamiliar with general networking principles need to read this topic. Those familiar with UNIX networking can safely skip this topic.
A network is the combination of two or more computers and their connecting links. A physical network is the hardware (equipment such as adapter cards, cables, and telephone lines) that makes up the network. The software and the conceptual model make up the logical network. Different types of networks and emulators provide different functions.
통신
네트워크는 사용자와 응용 프로그램에 여러 통신 기능을 줍니다.
예를 들어 사용자는 다음을 할 수 있습니다.
- 전자 우편(e-mail) 보내기
- 다른 터미널을 에뮬레이트하거나 다른 컴퓨터에 로그인하기
- 데이터 전송하기
- 원격 노드에 있는 프로그램 실행하기
컴퓨터 네트워크에서 가장 많이 쓰는 응용 프로그램 가운데 하나는 전자 우편으로, 한 사용자가 다른 사용자에게 메시지를 보낼 수 있게 합니다. 두 사용자는 같은 시스템에 있을 수도 있고(이때는 통신 네트워크가 필요 없음), 다른 건물의 다른 시스템이나 다른 나라에 있을 수도 있습니다. 그 아래의 소프트웨어·하드웨어 계층과 물리 네트워크 덕분에 사용자는 메시지, 편지, 메모, 초대장, 데이터 파일을 만들고, 보내고, 받고, 처리할 수 있습니다. 이 통신은 물리 네트워크에 있는 다른 어떤 사용자와도 주고받을 수 있습니다. 전자 우편에는 메시지 주석, 메시지 순서 매기기, 메시지 묶기, 날짜 정렬, 메일 폴더 관리 기능이 있습니다.
통신 네트워크를 거쳐 한 컴퓨터가 다른 컴퓨터를 에뮬레이트(흉내)해, 다른 종류의 컴퓨터나 터미널인 것처럼 정보에 접근할 수 있습니다. 원격 로그인 기능은 원격 시스템에 로그인해 그 기계를 직접 쓰는 것처럼 같은 프로그램과 파일에 접근하는 대화형 명령줄 인터페이스를 줍니다.
네트워크로 한 시스템에서 다른 시스템으로 데이터를 전송할 수도 있습니다. 파일, 디렉터리, 파일 시스템 전체를 네트워크를 거쳐 다른 기계로 옮길 수 있어, 데이터를 원격으로 백업하고 기계가 고장 날 때를 대비해 중복성을 확보할 수 있습니다. 보통 프로토콜의 일부로 암호 보호를 제공합니다. 파일 전송에서는 요청을 시작한 사용자와 사용자가 접근하는 원격 시스템 사이에 클라이언트/서버 관계가 있습니다. 파일 전송 프로토콜에는 읽기·쓰기 권한이 있는 사용자가 파일과 디렉터리를 표시, 정의, 삭제할 수 있는 표시·제어 기능이 들어 있는 경우가 많습니다.
한 시스템의 사용자와 응용 프로그램이 다른 시스템의 프로시저와 응용 프로그램을 부를 수 있게 하는 여러 프로토콜이 있습니다. 공학·과학 응용 프로그램에서 계산이 많은 루틴을 다른 시스템에 넘기는 일 등 여러 환경에서 유용합니다.
영어 원문
Communications
Networks allow for several user and application communication functions.
For example, they enable a user to do the following:
Send electronic mail (e-mail)
Emulate another terminal or log in to another computer
Transfer data
Run programs that reside on a remote node.
One of the most popular applications for computer networks is email, which allows a user to send a message to another user. The two users may be on the same system (in which case a communications network is not needed), different systems in different buildings, or even in different countries. The underlying layers of software and hardware, as well as the physical network, allow a user to generate, send, receive, and process messages, letters, memos, invitations, and data files. These communications can be to or from any other user who resides on the physical network. Electronic mail has the capability for message annotation, message sequencing, message packing, date sorting, and mail folder management.
Through a communications network, one computer can emulate, or mimic, another and access information as if it were a different type of computer or terminal. Remote login capabilities provides users with an interactive command line interface to log in to a remote system and access the same programs and files as if they were using the machine locally.
Networks also allow for the transfer of data from one system to another. Files, directories, and entire file systems can be migrated from one machine to another across a network, enabling remote backup of data, as well as assuring redundancy in case of machine failure. Password protection is usually provided as part of the protocol. With a file transfer, there is a client/server relationship between the user initiating the request and the remote system the user is accessing. Often a file transfer protocol includes functions for display and control so that users with read/write access can display, define, or delete files and directories.
Several different protocols exist that allow users and applications on one system to invoke procedures and applications on other systems. This can be useful for a number of environments, including the offloading of many computer-intensive routines in engineering and scientific applications.
네트워크
현대 컴퓨터 네트워크가 복잡해지면서 네트워크가 동작하는 방식을 설명하는 개념 모델이 여럿 생겼습니다.
가장 흔한 모델 가운데 하나는 국제 표준화 기구(ISO)의 OSI(Open Systems Interconnection) 참조 모델이며, OSI 7계층 모델이라고도 합니다.
OSI 모델의 일곱 계층에는 다음처럼 번호가 붙습니다.
- 1~3계층은 네트워크에 따라 다르며, 쓰는 물리 네트워크에 따라 달라집니다.
4~7계층은 네트워크와 무관한 상위 기능입니다. 각 계층은 데이터 통신에서 일어나는 특정 기능(특정 프로토콜이 아니라)을 설명합니다. 일곱 계층은 가장 낮은 수준(기계 수준)부터 가장 높은 수준(사람이 가장 많이 주고받는 수준)까지 다음과 같습니다.
| 계층 | 설명 |
|---|---|
| 7 응용(Application) | 네트워크를 쓰는 응용 프로그램으로 이루어집니다. |
| 6 표현(Presentation) | 데이터가 응용 프로그램에 일관된 방식으로 전달되게 합니다. |
| 5 세션(Session) | 응용 프로그램 사이의 연결을 관리합니다. |
| 4 전송(Transport) | 오류 없는 데이터 전송을 보장합니다. |
| 3 네트워크(Network) | 네트워크의 다른 기계로의 연결을 관리합니다. |
| 2 데이터 링크(Data Link) | 물리 계층(보통 본래 신뢰할 수 없음)을 거쳐 데이터를 믿을 만하게 전달합니다. |
| 1 물리(Physical) | 네트워크의 물리 매체를 설명합니다. 예를 들어 FDDI(Fiber Distributed Data Interface) 네트워크에 필요한 광섬유 케이블은 물리 계층의 일부입니다. |
참고: OSI 참조 모델은 네트워크 개념을 이야기할 때 유용하지만, 많은 네트워크 프로토콜은 OSI 모델을 그대로 따르지 않습니다. 예를 들어 TCP/IP를 이야기할 때는 응용 계층과 표현 계층의 기능을 묶고, 세션 계층과 전송 계층, 데이터 링크 계층과 물리 계층도 각각 묶어서 봅니다.
OSI 모델의 각 계층은 다음 그림처럼 원격 기계의 같은 계층과 통신합니다.
송신 쪽 수신 쪽
7 Application Data ←→ 7 Application
6 Presentation Header|Data ←→ 6 Presentation
5 Session Header|Header|Data ←→ 5 Session
4 Transport Header|...|Data ←→ 4 Transport
3 Network Header|...|Data ←→ 3 Network
2 Data Link Header|...|Data|Footer ←→ 2 Data Link
1 Physical ─────────── 물리 매체 ─────────── 1 Physical
그림 1. OSI 참조 모델(원문 그림을 글자로 다시 그림)
각 계층은 바로 위와 바로 아래 계층에만 데이터를 넘깁니다. 각 계층은 자기 머리말 정보(데이터 링크 계층은 꼬리말 정보도)를 더해, 위 계층에서 받은 정보를 사실상 캡슐로 감쌉니다.
개인과 조직은 여러 이유로 네트워크를 씁니다.
- 데이터 입력
- 데이터 조회
- 원격 일괄 입력
- 자원 공유
- 데이터 공유
- 전자 우편
데이터 입력은 로컬이나 원격 데이터 파일에 데이터를 바로 넣는 것입니다. 한 번에 데이터를 전송하므로 정확성과 효율이 자연히 높아집니다. 데이터 조회는 데이터 파일에서 지정한 정보를 찾는 것입니다. 데이터 갱신은 로컬이나 원격 파일에 저장된 데이터를 바꾸고, 더하고, 지우는 것입니다. 원격 일괄 입력은 원격 위치에서 데이터를 묶어서 넣는 것으로, 밤이나 시스템을 적게 쓰는 시간에 하는 경우가 많습니다. 이렇게 다양한 능력이 있으므로 통신과 네트워크는 바람직할 뿐 아니라 꼭 필요합니다.
자원 공유도 네트워크의 기능입니다. 사용자는 데이터뿐 아니라 프로그램, 파일 저장 공간, 프린터·모뎀·터미널·고정 디스크 같은 주변 장치도 공유할 수 있습니다. 시스템 자원을 공유하면 프로그램 복사본을 여럿 유지하는 문제가 없어지고 (프로그램과 파일을 공유할 때) 데이터가 일관되게 유지되므로 비용 면에서 효율적입니다.
영어 원문
Networks
The complexity of modern computer networks has given rise to several conceptual models for explaining how networks work.
One of the most common of these models is the International Standards Organization's Open Systems Interconnection (OSI) Reference Model, also referred to as the OSI seven-layer model.
The seven layers of the OSI model are numbered as follows:
- Levels 1 through 3 are network-specific, and differ depending on what physical network you are using.
Levels 4 through 7 comprise network-independent, higher-level functions. Each layer describes a particular function (instead of a specific protocol) that occurs in data communications. The seven layers function from lowest level (machine level) to highest level (the level at which most human interaction takes place), as follows:
- Application — Comprises the applications that use the network.
- Presentation — Ensures that data is presented to the applications in a consistent fashion.
- Session — Manages the connections between applications.
- Transport — Ensures error-free data transmission.
- Network — Manages the connections to other machines on the network.
- Data Link — Provides reliable delivery of data across the physical layer (which is usually inherently unreliable).
- Physical — Describes the physical media of the network. For example, the fiber optic cable required for a Fiber Distributed Data Interface (FDDI) network is part of the physical layer.
- Note: While the OSI Reference Model is useful for discussing networking concepts, many networking
protocols do not closely follow the OSI model. For example, when discussing Transmission Control Protocol/Internet Protocol (TCP/IP), the Application and Presentation layer functions are combined, as are the Session and Transport layers and the Data Link and Physical layers.
Each layer in the OSI model communicates with the corresponding layer on the remote machine as shown in the OSI Reference Model figure.
This illustration shows the various communication levels of the OSI Model as described in the above text.
The layers pass data only to the layers immediately above and below. Each layer adds its own header information (and footer information, in the case of the Data Link), effectively encapsulating the information received from the higher layers.
Individual users as well as organizations use networks for many reasons, including:
Data entry
Data queries
Remote batch entry
Resource sharing
Data sharing
Electronic mail.
Data entry consists of entering data directly into either local or remote data files. Increased accuracy and efficiency are natural by-products of a one-step data transfer. Data queries entail searching data files for specified information. Data updating involves altering, adding, or deleting data stored in local or remote files. Remote batch entry consists of entering batches of data from a remote location, an activity often performed at night or during periods of low system usage. Because of such diverse capabilities, communications and networks are not only desirable but necessary. 6 Presentation
5 Session
3 Network
2 Data Link 1 Physical Data
Data Header Data
Header Data Header Data
Header Data Header Data Footer Header
7 Application
4 Transport
Figure 1. OSI Reference Model
Sharing resources is another function of networks. Users can share data as well as programs, file-storage space, and peripheral devices like printers, modems, terminals, and fixed disks. Sharing of system resources is cost effective because it eliminates the problems of keeping multiple copies of programs and it keeps data consistent (in the case of program and file sharing).
물리 네트워크
물리 네트워크는 네트워크에 있는 여러 하드웨어를 잇는 케이블(동축 케이블, 꼬임쌍선, 광섬유, 전화선), 네트워크에 연결된 컴퓨터(호스트)에 쓰는 어댑터 카드, 네트워크에 쓰는 집선 장치(concentrator), 리피터, 라우터, 브리지로 이루어집니다.
물리 네트워크는 크기와 쓰는 하드웨어 종류가 다양합니다. 흔한 두 종류는 LAN(근거리 통신망)과 WAN(광역 통신망)입니다. LAN은 사무실 건물 하나, 창고, 캠퍼스처럼 통신이 110km(16마일)의 적당한 지리 범위로 제한되는 네트워크입니다. WAN은 나라를 가로지르거나 대륙을 넘나드는 것처럼 LAN이 다루는 것보다 넓은 지역에서 데이터 통신을 제공하는 네트워크입니다. 그 중간에는 MAN(도시권 통신망)이라는 종류도 있습니다. 이 안내서는 보통 MAN을 따로 구분하지 않고 WAN에 넣습니다.
LAN은 물리 네트워크로 보통 표준 이더넷, IEEE 802.3 이더넷, 토큰링 하드웨어를 쓰고, WAN과 비동기 네트워크는 통신 사업자가 제공하는 통신망을 씁니다. 어느 경우든 물리 네트워크의 동작은 보통 EIA(Electronics Industry Association)나 ITU(International Telecommunication Union) 같은 기관의 네트워크 표준을 따릅니다.
영어 원문
Physical networks
The physical network consists of the cables (coaxial cable, twisted pair, fiber optic, and telephone lines) that connect the different hardware residing on the network, the adapter cards used on computers connected to the network (hosts), and any concentrators, repeaters, routers, or bridges used in the network.
Physical networks vary both in size and in the type of hardware used. The two common kinds of networks are local area networks (LANs) and wide area networks (WANs). A LAN is a network where communications are limited to a moderately sized geographic area of 1 to 10 km (1 to 6 miles), such as a single office building, warehouse, or campus. A WAN is a network providing data communications capability throughout geographic areas larger than those serviced by LANs, such as across a country or across continents. An intermediate class of networks exists also, called metropolitan area networks (MANs). This guide does not generally distinguish MANs; they are grouped with WANs.
LANs commonly use Standard Ethernet, IEEE 802.3 Ethernet, or token-ring hardware for the physical network, while WANs and asynchronous networks use communications networks provided by common carrier companies. Operation of the physical network in both cases is usually controlled by networking standards from organizations such as the Electronics Industry Association (EIA) or the International Telecommunication Union (ITU).
네트워크 시스템
모든 네트워크 통신에는 하드웨어와 소프트웨어가 쓰입니다. 시스템의 하드웨어·소프트웨어 통신 지원은 쓰는 하드웨어와, 그 하드웨어를 실행하고 네트워크와 연결하는 데 필요한 소프트웨어가 정합니다.
하드웨어는 물리 네트워크에 연결된 물리 장비입니다. 소프트웨어는 특정 시스템의 동작에 관련된 프로그램과 장치 드라이버입니다. 시스템 하드웨어는 시스템 소프트웨어와 물리 네트워크 사이의 경로나 인터페이스를 제공하는 어댑터 카드나 다른 장치로 이루어집니다. 어댑터 카드는 시스템의 I/O 카드 슬롯이 필요합니다. 어댑터 카드는 DTE(데이터 단말 장치)를 DCE(데이터 회선 종단 장치)에 연결합니다. 곧 DTE 포트에 물리적인 로컬 주소 지정을 제공합니다. 모뎀 같은 다른 장치는 컴퓨터의 표준 포트에 붙일 수 있습니다.
어댑터 카드는 들어오고 나가는 데이터를 모두 준비하고, 주소를 찾고, 드라이버·수신기·서지 보호를 제공하고, 여러 인터페이스를 지원하며, 대체로 시스템 프로세서의 통신 작업을 많이 덜어 줍니다. 어댑터 카드는 물리 네트워크가 요구하는 표준(예: EIA 232D, Smartmodem, V.25 bis, EIA 422A, X.21, V.35)을 지원하며, 동시에 SDLC(synchronous data link control), HDLC(high-level data link control), 바이싱크(bisynchronous) 같은 소프트웨어 프로토콜을 지원할 수도 있습니다. 어댑터에 소프트웨어 지원이 들어 있지 않으면 어댑터 장치 드라이버가 그 지원을 제공해야 합니다.
영어 원문
Network systems
All network communications involve the use of hardware and software. The system hardware and software communications support is determined by the hardware being used and the software necessary to run that hardware and interface with the network.
Hardware consists of the physical equipment connected to the physical network. Software consists of the programs and device drivers pertaining to the operation of a particular system. The system hardware consists of adapter cards or other devices that provide a path or interface between the system software and the physical network. An adapter card requires an input/output (I/O) card slot in the system. The adapter card connects the data terminal equipment (DTE) to the data circuit-terminating equipment (DCE); that is, it provides physical local addressing to a DTE port. Other devices, such as modems, can be attached to one of the standard ports on the computer.
An adapter card prepares all inbound and outbound data; performs address searches; provides drivers, receivers, and surge protection; supports different interfaces; and in general relieves the system processor of many communications tasks. Adapter cards support the standards required by the physical network (for example, EIA 232D, Smartmodem, V.25 bis, EIA 422A, X.21, or V.35) and may, at the same time, support software protocols, for example, synchronous data link control (SDLC), high-level data link control (HDLC), and bisynchronous protocols. If the adapter does not contain software support, then this support must be provided by the adapter device driver.
프로토콜
모든 통신 소프트웨어는 프로토콜을 씁니다. 프로토콜은 기능 단위가 통신을 이루기 위해 어떻게 행동할지 정하는 의미·구문 규칙의 모음입니다.
프로토콜은 정보를 어떻게 전달하는지, 목적지에 안전하게 닿도록 어떻게 감싸는지, 어떤 경로를 따르는지 정합니다. 메시지와 그 확인 응답의 흐름도 조정합니다.
프로토콜은 커널 안의 여러 수준에 있으며 직접 다룰 수 없습니다. 그러나 사용자가 응용 프로그래밍 인터페이스(API) 수준에서 무엇을 하느냐에 따라 간접적으로 다뤄집니다. 파일 전송, 원격 로그인, 터미널 에뮬레이션 프로그램을 부를 때 사용자가 하는 선택이 그 프로그램 실행에 쓰이는 프로토콜을 정합니다.
영어 원문
Protocols
All communications software use protocols, sets of semantical and syntactical rules that determine the behavior of functional units in achieving communication.
Protocols define how information is delivered, how it is enclosed to reach its destination safely, and what path it follows. Protocols also coordinate the flow of messages and their acknowledgments.
Protocols exist at different levels within the kernel and cannot be manipulated directly. However, they are manipulated indirectly by what the user chooses to do at the application programming interface (API)
level. The choices a user makes when invoking file transfer, remote login, or terminal emulation programs define the protocols used in the execution of those programs.
주소
주소는 소프트웨어와 하드웨어 모두에 연결됩니다. 주소는 보내는 쪽이나 제어하는 쪽이 데이터를 보낼 상대를 고르는 수단입니다.
주소는 받는 위치나 저장 위치를 나타냅니다. 물리 주소는 네트워크에 연결된 장치나 워크스테이션마다 붙는 고유 코드입니다.
예를 들어 토큰링 네트워크에서 netstat -iv 명령은 토큰링 카드의 주소를 보여 줍니다. 이것이 물리 네트워크 주소입니다. netstat -iv 명령은 클래스 수준과 사용자 수준의 주소 정보도 보여 줍니다. 주소는 보통 소프트웨어가 정하지만 사용자가 만들 수도 있습니다.
영어 원문
Addresses
Addresses are associated with both software and hardware. The address is the means by which the sending or control station selects the station to which it sends data.
Addresses identify receiving or storage locations. A physical address is a unique code assigned to each device or workstation connected to a network.
For example, on a token-ring network, the netstat -iv command displays the token-ring card address. This is the physical network address. The netstat -iv command also displays class-level and user-level address information. Addresses are often defined by software but can be created by the user as well.
도메인
많은 통신 네트워크에 공통인 주소의 한 측면은 도메인 개념입니다. 도메인은 네트워크의 데이터 처리 자원을 공통 관리 아래 둡니다.
예를 들어 인터넷의 구조는 도메인이 IP(Internet Protocol) 주소를 어떻게 정하는지 보여 줍니다. 인터넷은 작은 네트워크 여럿으로 이루어진 거대한 네트워크입니다. 라우팅과 주소 지정을 쉽게 하려고 인터넷 주소는 도메인으로 계층화되어 있으며, 맨 위에는 상업용 com, 교육용 edu, 정부용 gov 같은 아주 넓은 분류가 있습니다.
com 도메인 안에는 개별 기업에 해당하는 작은 도메인이 많이 있습니다(예: ibm). ibm.com 도메인 안에는 austin.ibm.com, raleigh.ibm.com처럼 여러 지역의 인터넷 주소에 해당하는 더 작은 도메인이 있습니다. 이 수준에서 호스트 이름이 보이기 시작합니다. 여기서 호스트는 네트워크에 연결된 컴퓨터를 말합니다. austin.ibm.com 안에는 hamlet과 lear라는 호스트가 있을 수 있으며, 주소는 hamlet.austin.ibm.com과 lear.austin.ibm.com입니다.
영어 원문
Domains
An aspect of addresses common to many communications networks is the concept of domains. Domains put the data processing resources in a network under a common control.
For example, the structure of the Internet illustrates how domains define the Internet Protocol (IP) address. The Internet is an extensive network made up of many different smaller networks. To facilitate routing and addressing, Internet addresses are hierarchically structured in domains, with very broad categories at the top such as com for commercial users, edu for educational users, and gov for government users.
Within the com domain are many smaller domains corresponding to individual businesses; for example, ibm. Within the ibm.com domain are even smaller domains corresponding to the Internet addresses for various locations, such as austin.ibm.com or raleigh.ibm.com. At this level, we start seeing names of hosts. A host, in this context, is any computer connected to the network. Within austin.ibm.com, there may be hosts with the names hamlet and lear, which are addressed hamlet.austin.ibm.com and lear.austin.ibm.com.
게이트웨이와 브리지
인터넷에는 서로 다른 하드웨어와 소프트웨어를 쓰는 다양한 네트워크가 있습니다. 게이트웨이와 브리지는 이렇게 서로 다른 네트워크가 통신할 수 있게 합니다.
브리지는 이더넷처럼 같은 LLC(logical link control) 절차를 쓸 수 있지만 MAC(medium access control) 절차가 다른 두 LAN을 잇는 기능 단위입니다. 게이트웨이는 브리지보다 범위가 넓습니다. 링크 계층 위에서 동작하며, 필요하면 한 네트워크가 쓰는 인터페이스와 프로토콜을 다른 네트워크가 쓰는 것으로 바꿉니다. 게이트웨이 덕분에 인터넷을 이루는 여러 네트워크 사이에 데이터를 전송할 수 있습니다.
영어 원문
Gateways and bridges
A wide variety of networks reside on the Internet, often using different hardware and running different software. Gateways and bridges enable these different networks to communicate with each other.
A bridge is a functional unit that connects two LANs that possibly use the same logical link control (LLC) procedure, such as Ethernet, but different medium access control (MAC) procedures. A gateway has a broader range than a bridge. It operates above the link layer and, when required, translates the interface and protocol used by one network into those used by another distinct network. Gateways allow data transfers across the various networks that constitute the Internet.
데이터 라우팅
주소에 도메인 이름을 쓰고 변환에 게이트웨이를 쓰면 전송하는 데이터의 라우팅이 훨씬 쉬워집니다. 라우팅은 메시지가 목적지에 닿을 경로를 정하는 것입니다.
도메인 이름은 사실상 메시지의 목적지를 정합니다. 인터넷 같은 큰 네트워크에서 정보는 목적지에 닿을 때까지 한 통신 네트워크에서 다음 통신 네트워크로 라우팅됩니다. 각 통신 네트워크는 도메인 이름을 확인하고, 자기가 아는 도메인을 바탕으로 정보를 다음 논리적 경유지로 보냅니다. 이렇게 데이터를 받는 각 통신 네트워크가 라우팅 과정에 한몫을 합니다.
영어 원문
Data routing
Using domain names for addressing and gateways for translation greatly facilitates the routing of the data being transferred. Routing is the assignment of a path by which a message reaches its destination.
The domain name effectively defines the message destination. In a large network like the Internet, information is routed from one communications network to the next until that information reaches its destination. Each communications network checks the domain name and, based on the domains with which that network is familiar, routes the information on to the next logical stop. In this way, each communications network that receives the data contributes to the routing process.
로컬 노드와 원격 노드
물리 네트워크는 그 네트워크에 있는 호스트가 씁니다. 각 호스트는 네트워크의 노드입니다. 노드는 통신 네트워크에서 호스트 처리 서비스를 제공하는, 주소를 지정할 수 있는 위치입니다. 이 노드들 사이의 통신은 로컬이나 원격으로 구분합니다.
로컬은 통신 회선을 쓰지 않고 내 시스템에서 바로 접근하는 장치, 파일, 시스템을 말합니다. 원격은 내 시스템이 통신 회선을 거쳐 접근하는 장치, 파일, 시스템을 말합니다. 로컬 파일은 내 시스템에 있고, 원격 파일은 파일 서버나, 이더넷·토큰링·전화선 같은 물리 네트워크로 통신하는 다른 노드에 있습니다.
영어 원문
Local and remote nodes
A physical network is used by the hosts that reside on that network. Each host is a node on the network. A node is an addressable location in a communications network that provides host-processing services. The intercommunication of these various nodes are defined as local or remote.
Local pertains to a device, file, or system accessed directly from your system, without the use of a communications line. Remote pertains to a device, file, or system accessed by your system over a communications line. Local files reside on your system, while remote files reside on a file server or at another node with which you communicate using a physical network, for example, Ethernet, token-ring, or phone lines.
클라이언트와 서버
서버는 네트워크의 다른 컴퓨터가 접근할 데이터를 담거나 기능을 제공하는 컴퓨터입니다. 클라이언트는 서버에 서비스나 데이터를 요청하는 컴퓨터입니다.
흔한 서버 종류로는 파일을 저장하는 파일 서버, 이름과 주소를 저장하는 이름 서버, 프로그램과 응용 프로그램을 저장하는 응용 프로그램 서버, 인쇄 작업을 일정에 맞춰 목적지로 보내는 프린트 서버가 있습니다.
클라이언트는 코드 서버에 갱신된 프로그램 코드나 응용 프로그램 사용을 요청할 수 있습니다. 이름이나 주소를 얻으려면 이름 서버에 연락합니다. 데이터 입력, 조회, 레코드 갱신을 위한 파일과 데이터는 파일 서버에 요청할 수 있습니다.
영어 원문
Client and server
A server is a computer that contains data or provides facilities to be accessed by other computers on the network. A client is a computer requesting services or data from a server.
Common server types are file servers, which store files; name servers, which store names and addresses; and application servers, which store programs and applications; print servers, which schedule and direct print jobs to their destination.
A client can request updated program code or the use of applications from a code server. To obtain a name or address, a client contacts a name server. A client could also request files and data for data entry, inquiry, or record updating from a file server.
다른 운영 체제와의 통신
네트워크에는 여러 종류의 컴퓨터를 연결할 수 있습니다. 제조사가 다를 수도 있고 같은 제조사의 다른 모델일 수도 있습니다. 통신 프로그램이 두 종류 이상의 컴퓨터 사이의 운영 체제 차이를 메웁니다.
어떤 프로그램은 다른 프로그램이 미리 네트워크에 설치되어 있어야 합니다. 어떤 프로그램은 TCP/IP나 SNA(Systems Network Architecture) 같은 통신 연결 프로토콜이 네트워크에 있어야 합니다.
예를 들어 AIX Fast Connect를 쓰면 PC 클라이언트가 PC 고유의 네트워크 클라이언트 소프트웨어로 운영 체제의 파일과 프린터에 접근할 수 있습니다. PC 사용자는 원격 운영 체제의 파일 시스템을 로컬에 저장된 것처럼 자기 기계에서 바로 쓸 수 있습니다. 운영 체제 스풀러로 프린터에 인쇄하고, 쓸 수 있는 프린터를 보고, 프린터를 네트워크 프린터로 매핑할 수 있습니다. AIX Fast Connect에 관한 자세한 내용은 AIX Fast Connect Version 3.1 Guide를 봅니다.
영어 원문
Communication with other operating systems
Different types of computers can be connected on a network. The computers can be from different manufacturers or be different models from the same manufacturer. Communication programs bridge the differences in operating systems of two or more types of computers.
Sometimes these programs require that another program has previously been installed on the network. Other programs may require that such communications connectivity protocols as TCP/IP or Systems Network Architecture (SNA) exist on the network.
For example, AIX Fast Connect lets PC clients access operating system files and printers using native PC networking client software. PC users can use remote operating system file systems directly from their machines as if they were locally stored. They can print jobs on printers using the operating system spooler, view available printers, and map a printer as a network printer. For more information on AIX Fast Connect, see AIX Fast Connect Version 3.1 Guide
호스트 에뮬레이션 응용 프로그램
에뮬레이터는 내 시스템이 다른 터미널이나 프린터인 것처럼 동작하게 하는 소프트웨어 응용 프로그램입니다.
터미널 에뮬레이터는 호스트 시스템에 연결해 데이터나 응용 프로그램에 접근합니다. 어떤 터미널 에뮬레이터는 호스트와 파일을 주고받는 기능을 줍니다. 어떤 것은 프로그램 사이 통신과 호스트 작업 자동화를 위한 API를 줍니다.
프린터 에뮬레이터는 호스트가 파일을 로컬 프린터로 인쇄하거나, 나중에 인쇄하거나 편집할 수 있는 형태로 저장하게 합니다.
내 시스템이 다른 종류의 터미널을 에뮬레이트하게 하는 응용 프로그램이 여럿 있습니다. 이 주제는 터미널이나 프린터 에뮬레이터를 설명합니다.
참고: bterm 명령은 양방향(BIDI) 모드로 터미널을 에뮬레이트합니다.
영어 원문
Host emulation applications
An emulator is a software application that allows your system to function as if you were using a different terminal or printer.
A terminal emulator connects to a host system to access data or applications. Some terminal emulators provide a facility to transfer files to and from the host. Others provide an application programming interface (API) to allow program-to-program communication and automation of host tasks.
A printer emulator allows the host either to print files on a local printer or store them in printable form to be printed or edited later.
Several applications are available to allow your system to emulate other types of terminals. This topic provides information on terminal or printer emulators.
Note: The bterm command emulates terminals in bidirectional (BIDI) mode.
에뮬레이션용 TCP/IP 명령
TCP/IP 소프트웨어에는 원격 TCP/IP 시스템에 연결해 접근하게 하는 telnet과 rlogin 명령이 들어 있습니다.
| 명령 | 설명 |
|---|---|
telnet |
TELNET 프로토콜을 구현해 사용자가 원격 호스트에 로그인하게 합니다. 신뢰(trusted) 명령이라는 점이 rlogin과 다릅니다. 신뢰 명령은 컴퓨터에 구성된 모든 보안 수준을 만족하는 명령입니다. 보안이 더 필요한 시스템은 신뢰 명령만 허용해야 합니다. 신뢰 명령, 프로세스, 프로그램의 표준은 미국 국방부가 정하고 관리합니다. |
tn |
telnet 명령과 같은 일을 합니다. |
rlogin |
사용자가 원격 호스트에 로그인하게 합니다. 비신뢰 명령이라 시스템에 보안이 더 필요하면 쓰지 못하게 할 수 있다는 점이 telnet과 다릅니다. |
TCP/IP에 관한 자세한 내용은 TCP/IP 편들을 봅니다.
영어 원문
TCP/IP commands for emulation
The Transmission Control Protocol/Internet Protocol (TCP/IP) software includes the telnet and rlogin commands, which allow you to connect to and access a remote TCP/IP system.
- telnet — Allows a user to log in to a remote host by implementing the TELNET protocol. It is different from the rlogin command in that it is a trusted command. A trusted command is one that meets all security levels configured on your computer. Systems that require extra security should allow only trusted commands. Standards for trusted commands, processes, and programs are set and maintained by the U.S. Department of Defense.
- tn — Performs the same function as the telnet command.
- rlogin — Allows a user to log in to a remote host. It is different from the telnet command in that it is a nontrusted command and can be disabled if your system needs extra security.
For more information about TCP/IP, see Transmission Control Protocol/Internet Protocol.
에뮬레이션용 BNU 명령
BNU(Basic Networking Utilities) 소프트웨어에는 AIX 운영 체제를 쓰는 원격 시스템에 연결하게 하는 ct, cu, tip 명령이 들어 있습니다.
| 명령 | 설명 |
|---|---|
ct |
3161 같은 원격 터미널의 사용자가 전화선으로 다른 터미널과 통신하게 합니다. 원격 터미널의 사용자는 그다음 다른 터미널에 로그인해 일할 수 있습니다. cu와 비슷하지만 덜 유연합니다. 예를 들어 ct로 원격 시스템에 연결된 동안에는 로컬 시스템에서 명령을 낼 수 없습니다. 그러나 연결될 때까지 계속 전화를 걸게 하거나 전화번호를 여럿 지정할 수 있습니다. |
cu |
내 터미널을 UNIX나 UNIX가 아닌 시스템에 연결된 다른 터미널에 연결합니다. 연결되면 두 시스템에 동시에 로그인해, BNU 통신 링크를 끊지 않고 어느 쪽에서든 명령을 실행할 수 있습니다. 원격 터미널도 UNIX에서 실행 중이면 두 시스템 사이에 ASCII 파일을 전송할 수 있습니다. cu로 여러 시스템을 연결하고 연결된 어느 시스템에서든 명령을 실행할 수도 있습니다. |
tip |
내 터미널을 원격 터미널에 연결해, 원격 터미널에 바로 로그인한 것처럼 일하게 합니다. 원격 시스템과 파일을 주고받을 수 있습니다. 스크립트로 tip 명령과 주고받은 대화를 기록할 수 있습니다. 참고: tip을 쓰려면 원격 시스템에 로그인 계정이 있어야 합니다. |
BNU에 관한 자세한 내용은 원문의 Basic Networking Utilities 절을 봅니다(이 연재에서는 다루지 않습니다).
영어 원문
BNU commands for emulation
The Basic Networking Utilities (BNU) software includes the ct, cu, and tip commands, which allow you to connect to a remote system that uses the AIX operating system.
- ct — Enables a user on a remote terminal, such as a 3161, to communicate with another terminal over a telephone line. The user on the remote terminal can then log in and work on the other terminal. The ct command is similar to the cu command but not as flexible. For example, you cannot issue commands on the local system while connected to a remote system through the ct command. However, you can instruct the ct command to continue dialing until the connection is established or to specify more than one telephone number at a time.
- cu — Connects your terminal to another terminal connected to either a UNIX or non-UNIX system. After the connection is established, you can be logged in on both systems at the same time, executing commands on either one without dropping the BNU communication link. If the remote terminal is also running under UNIX, you can transfer ASCII files between the two systems. You can also use the cu command to connect multiple systems, and commands can then be executed on any of the connected systems.
- tip — Connects your terminal to a remote terminal and enables you to work on the remote terminal as if logged in directly. You can use the tip command to transfer files to and from the remote system. You can use scripting to record the conversations you have with the tip command. Note: You must have a login on the remote system to use the tip command.
For more information about BNU, see Basic Networking Utilities.
비동기 터미널 에뮬레이션(ATE)
ATE(Asynchronous Terminal Emulation) 프로그램은 내 터미널이 비동기 터미널을 지원하는 대부분의 시스템에 연결되게 합니다. RS-232C나 RS-422A 연결을 지원하는 시스템이 모두 포함됩니다.
ATE는 원격 시스템이 내 터미널을 비동기 디스플레이나 DEC VT100 터미널로 보고 통신하게 합니다.
ATE로 원격 시스템에서 명령을 실행하고, 파일을 주고받고, 시스템 사이에 전송한 파일의 데이터 무결성을 확인할 수 있습니다. 캡처 파일로 원격 시스템에서 들어오는 데이터를 기록(캡처)할 수도 있습니다. ATE는 메뉴 방식이며 하위 명령을 씁니다.
설치하고 나면 ATE는 root 권한이 있는 사용자가 UUCP 그룹의 구성원으로 등록한 사용자만 쓸 수 있습니다.
ATE에 관한 자세한 내용은 원문의 Asynchronous Terminal Emulation 절을 봅니다(이 연재에서는 다루지 않습니다).
영어 원문
Asynchronous Terminal Emulation
The Asynchronous Terminal Emulation (ATE) program enables your terminal to connect to most systems that support asynchronous terminals, including any system that supports RS-232C or RS-422A connections.
ATE allows the remote system to communicate with your terminal either as an asynchronous display or as a DEC VT100 terminal.
ATE enables you to run commands on the remote system, send and receive files, and check the data integrity in the files transferred between systems. You can also use a capture file to record, or capture, incoming data from the remote system. ATE is menu-driven and uses subcommands.
When installed, ATE is accessible only to users who have been registered as a member of the UUCP group by a user with root authority.
For more information about ATE, see Asynchronous Terminal Emulation.
통신 시스템 명령
내 시스템의 사용자, 내가 쓰는 시스템, 다른 시스템에 로그인한 사용자를 나타내는 정보를 보여 주는 명령을 설명합니다.
시스템과 사용자 정보를 주는 여러 명령은 다음 주제를 봅니다.
영어 원문
Communications system commands
This describes commands available for displaying information that identifies users on your system, the system you are using, and users logged in to other systems.
See the following topics for the various commands used to provide system and user information.
로그인 이름 보기
whoami 명령으로 로그인 이름을 알아냅니다.
현재 사용자의 이름을 보려면 다음을 입력합니다.
whoami
다음과 비슷한 결과가 나옵니다.
denise
이 예에서 로그인 이름은 denise입니다.
영어 원문
Displaying your login name
Use the whoami command to determine your login name.
To display the name of the current user, enter:
whoami
A display similar to the following is returned:
denise
In this example, the login name is denise.
시스템 이름 보기
uname 명령으로 시스템 이름을 알아냅니다.
- 네트워크에 있을 때 내 시스템의 이름을 보려면 다음을 입력합니다.
uname -n
다음과 비슷한 결과가 나옵니다.
barnard
이 예에서 시스템 이름은 barnard입니다.
- 다른 시스템의 노드 이름을 알려면 그 시스템의 사용자에게
uname -n명령을 입력해 달라고 요청합니다.
영어 원문
Displaying your system name
Use the uname command to determine your system name.
- To display the name of your system if you are on a network, enter:
uname -n
A display similar to the following is returned:
barnard
In this example, the system name is barnard.
- To find the node name of another system, request that a user on that system enter the uname -n command.
내 시스템이 접근할 수 있는지 확인하기
host 명령으로 내 시스템이 다른 시스템을 정의하는 정보에 접근할 수 있는지 확인합니다.
네트워크의 다른 시스템에 접근하려면 로컬 시스템이 그 시스템을 정의하는 정보에 접근할 수 있어야 합니다. 로컬 시스템에 이 정보가 있는지 확인하려면 다른 시스템의 이름으로 host 명령을 입력합니다.
로컬 시스템에 zeus 시스템의 라우팅 정보가 있는지 확인하려면 다음을 입력합니다.
host zeus
시스템에 알맞은 정보가 있으면 다음과 비슷한 결과가 나옵니다.
zeus is 192.9.200.4 (300,11,310,4)
그러면 zeus 시스템에 메시지를 보낼 수 있습니다. 시스템은 주소 192.9.200.4로 메일을 라우팅합니다. 시스템에 정보가 없으면 다음과 비슷한 결과가 나옵니다.
zeus: unknown host
unknown host 메시지가 나오면 요청한 시스템 이름이 다음 가운데 하나입니다.
- 이름이 틀림(주소의 철자를 확인)
- 내 네트워크에 있지만 내 시스템에 정의되지 않음(네트워크를 설정한 담당자에게 연락)
- 다른 네트워크에 있어 더 자세한 주소 지정이 필요함(다른 네트워크의 사용자에게 메일 주소 지정하기 참고)
- 내 네트워크에 연결되지 않음
네트워크가 동작하지 않고 로컬 시스템이 원격 시스템에서 네트워크 주소를 받아 쓰는 경우에도 unknown host 메시지가 나올 수 있습니다.
영어 원문
Determining whether your system has access
Use the host to determine whether your system has access to information that defines the other system.
To access another system on the network, your local system must have access to information that defines the other system. To determine if your local system has this information, enter the host command with the name of the other system.
To determine if your local system has routing information for system zeus, enter:
host zeus
If your system has the proper information, a display similar to the following is returned:
zeus is 192.9.200.4 (300,11,310,4)
You can then send a message to system zeus. The address 192.9.200.4 is used by the system to route the mail. If your system does not have the information, a display similar to the following is returned:
zeus: unknown host
If you receive an unknown host message, then the requested system name:
Is not correct (check the spelling in the address)
Is on your network but not defined to your system (contact the person responsible for setting up your network)
Is on another network (see Addressing mail to users on a different network) and requires more detailed addressing
Is not connected to your network
You can also receive the unknown host message if your network is not operating and your local system depends on a remote system to supply network addresses.
로그인한 사용자 정보 보기
finger나 f 명령으로 지정한 호스트의 현재 사용자 정보를 봅니다.
이 정보에는 사용자의 로그인 이름, 전체 이름, 터미널 이름, 로그인한 날짜와 시각이 들어 있을 수 있습니다.
- 호스트
@alcatraz에 로그인한 모든 사용자의 정보를 보려면 다음을 입력합니다.
finger @alcatraz
다음과 비슷한 결과가 나옵니다.
brown Console Mar 15 13:19
smith pts0 Mar 15 13:01
jones tty0 Mar 15 13:01
사용자 brown은 콘솔에 로그인했고, 사용자 smith는 의사 터미널(pseudo teletype) 회선 pts0에서, 사용자 jones는 tty0에서 로그인했습니다.
- 앞의 예에서 사용자
brown의 정보를 얻으려면 다음을 입력합니다.
finger brown@alcatraz
또는
finger brown
다음과 비슷한 결과가 나옵니다.
Login name: brown
In real life: Marta Brown
Directory:/home/brown Shell: /bin/ksh
On since May 8 07:13:49 on console
No Plan.
영어 원문
Displaying information about logged-in users
Use the finger or f command to display information about the current users on a specified host.
This information can include the user's login name, full name, and terminal name, as well as the date and time of login.
- To display information about all users logged in to host
@alcatraz, enter:
finger @alcatraz
A display similar to the following is returned:
brown Console Mar 15 13:19
smith pts0 Mar 15 13:01
jones tty0 Mar 15 13:01
User brown is logged in at the console, user smith is logged in from a pseudo teletype line pts0, and user jones is logged in from a tty0.
- To get information about the user
brownfrom the preceding example, enter:
finger brown@alcatraz
or
finger brown
A display similar to the following is returned:
Login name: brown
In real life: Marta Brown
Directory:/home/brown Shell: /bin/ksh
On since May 8 07:13:49 on console
No Plan.
연재 목차
원문 가운데 운영에 쓰는 부분(메일·sendmail, TCP/IP, SNMP, NFS·SMBFS)을 옮깁니다. BNU(UUCP), 비동기 통신(TTY·모뎀·SLIP·ATE), GDLC, 어댑터 참조, uDAPL·RoCE, sendmail Mail Filter API, PXE Proxy DHCP·BINL 데몬, DHCP 서버 db_file 구문 참조는 다루지 않습니다.
관련 글: netstat 명령어, ifconfig 명령어, host 명령어