[AIX 네트워크 관리 28] TCP/IP (22) TCP/IP 문제 해결과 명령·데몬 목록

핵심 정리

  • 먼저 netstat로 문제 영역을 좁힙니다. netstat -i·-v는 인터페이스와 어댑터, netstat -s는 프로토콜 오류, netstat -r은 라우팅 테이블. 프로토콜 오류는 trpt나 iptrace로 더 봅니다.
  • 이름 풀이는 named, NIS, /etc/hosts 순서(NIS+는 irs.conf). 클라이언트는 resolv.conf와 이름 서버 ping, 서버는 lssrc -s named, SIGINT로 /var/tmp/named_dump.db 덤프, refresh -s named, startsrc -s named -a "-d 수준". 데이터 파일의 마침표와 @ 실수가 흔합니다.
  • 라우팅: Network Unreachable은 게이트웨이 경로, No route to host는 인터페이스 상태, Connection timed out은 게이트웨이·돌아오는 경로를 확인합니다. routed는 -d·-t, gated는 gated.conf와 프로토콜 일치를 봅니다.
  • SRC 오류 0513-00이면 srcmstr &로 SRC를 띄웁니다. inetd 디버깅은 syslog.conf에 *.debug 줄을 넣고 startsrc -s inetd -a "-d". telnet 화면 문제는 TERM, 기능 키 문제는 ESCDELAY(1000~1500)로 풉니다.
  • 인터페이스: netstat -i, arp -a의 incomplete, netstat -v, errpt, diag. 토큰링·이더넷 브리지는 LLC 헤더 8바이트 때문에 토큰링 MTU를 이더넷보다 8 낮게(1492). snmpd가 응답하지 않으면 udp_sendspace·udp_recvspace를 64000으로. routed와 gated가 함께 뜨는 startsrc -g tcpip는 쓰지 않습니다.
항목 내용
버전 AIX 5.3, AIX 6.1 (두 판의 내용이 같음)
원문 Networks and communication management — 5.3판 301314쪽, 6.1판 406420쪽
파일 /etc/hosts, /etc/resolv.conf, /etc/irs.conf, /etc/syslog.conf, /etc/inetd.conf, /etc/gateways, /etc/gated.conf, /etc/dhcpcd.ini, /var/tmp/named_dump.db
관련 명령어 netstat, ping, host, arp, ifconfig, route, lssrc, startsrc, stopsrc, refresh, traceson, trpt, iptrace, errpt, diag, no

netstat 명령은 TCP/IP 네트워크 환경의 흔한 문제를 진단하는 좋은 도구입니다.

netstat 명령으로 네트워크의 어느 영역에 문제가 있는지 알아낼 수 있습니다. 문제를 한 영역으로 좁힌 뒤에는 더 정교한 도구로 나아갈 수 있습니다. 예를 들어 netstat -i와 netstat -v로 특정 하드웨어 인터페이스에 문제가 있는지 알아낸 뒤 진단을 실행해 문제를 더 좁힐 수 있습니다. 또 netstat -s 명령이 프로토콜 오류를 보여 주면 trpt나 iptrace 명령을 쓸 수 있습니다.

영어 원문

TCP/IP troubleshooting

The netstat command is a good tool for diagnosing common problems in a Transmission Control Protocol/Internet Protocol (TCP/IP) network environment.

The netstat command lets you determine which area of the network has a problem. After you have isolated the problem to an area, you can use more sophisticated tools to proceed. For example, you might use the netstat -i and netstat -v to determine if you have a problem with a particular hardware interface,

and then run diagnostics to further isolate the problem. Or, if the netstat -s command shows that there are protocol errors, you could then use the trpt or iptrace commands.

통신 문제

흔한 TCP/IP 통신 문제에는 네트워크의 호스트와 통신할 수 없는 것과 라우팅 문제가 있습니다. 다음은 해결 방법입니다.

네트워크의 호스트와 통신할 수 없으면:

  • ping 명령으로 호스트에 연락해 봅니다. 로컬 호스트에서 ping 명령을 실행해 네트워크로 가는 로컬 인터페이스가 올라와 동작하는지 확인합니다.

  • host 명령으로 호스트 이름을 풀어 봅니다. 이름이 풀리지 않으면 이름 풀이 문제입니다. 자세한 정보는 이름 풀이 문제를 봅니다.

    이름이 풀리고 다른 네트워크의 호스트에 연락하려 한다면 라우팅 문제일 수 있습니다. 자세한 정보는 TCP/IP 라우팅 문제를 봅니다.

  • 네트워크가 토큰링 네트워크라면 대상 호스트가 다른 링에 있는지 확인합니다. 그렇다면 allcast 필드가 잘못 설정되었을 가능성이 큽니다. Web-based System Manager(wsm)나 SMIT 빠른 경로 smit chinet으로 Network Interfaces 메뉴에 들어갑니다. 그런 다음 토큰링 대화 상자에서 Confine Broadcast to Local Ring 필드를 no로 설정합니다.

  • 네트워크에 ARP(Address Resolution Protocol) 패킷이 아주 많으면 서브넷 마스크가 올바르게 설정되었는지 확인합니다. 이 상태를 브로드캐스트 폭풍이라고 하며 시스템 성능에 영향을 줄 수 있습니다.

영어 원문

Communication problems

Common TCP/IP communication problems include the inability to communicate with a host on your network and routing problems. These are some solutions.

If you cannot communicate with a host on your network:

  • Try to contact the host, using the ping command. Run the ping command on the local host to verify that the local interface to the network is up and running.

  • Try to resolve the name of the host, using the host command. If the name does not resolve, you have a name resolution problem. See “Name resolution problems” for more information.

If the name resolves and you are trying to contact a host on another network, you may have a routing problem. See TCP/IP routing problems for more information.

  • If your network is a token-ring network, check to see if the target host is on another ring. If so, the allcast field is probably set incorrectly. Use the Web-based System Manager, wsm, or the System Management Interface Tool (SMIT) fast path smit chinet to access the Network Interfaces menu. Then, set the Confine Broadcast to Local Ring field to no in the token-ring dialog.

  • If there are a large number of Address Resolution Protocol (ARP) packets on your network, verify that your subnet mask is set correctly. This condition is known as a broadcast storm and can affect your system performance.

이름 풀이 문제

TCP/IP를 실행하는 호스트의 리졸버 루틴은 다음 순서로 소스를 써서 이름을 풀려고 합니다.

  1. DOMAIN 이름 서버(named)
  2. NIS(Network Information Service)
  3. 로컬 /etc/hosts 파일

NIS+가 설치되어 있으면 조회 선호 순서는 irs.conf 파일로 정합니다. 자세한 정보는 Network Information Services (NIS and NIS+) Guide를 봅니다.

클라이언트 호스트 문제 해결

호스트 이름이 풀리지 않고 평면 이름 풀이(/etc/hosts 파일)를 쓰고 있다면, 호스트 이름과 올바른 IP 주소 정보가 /etc/hosts 파일에 있는지 확인합니다.

호스트 이름이 풀리지 않고 이름 서버를 쓰고 있다면 다음 단계를 따릅니다.

  1. 도메인 이름과 이름 서버의 인터넷 주소를 지정한 resolv.conf 파일이 있는지 확인합니다.
  2. (로컬 resolv.conf 파일에 있는) 이름 서버의 IP 주소로 ping 명령을 실행해 로컬 이름 서버가 올라와 있는지 확인합니다.
  3. 로컬 이름 서버가 올라와 있으면, 이름 서버에서 lssrc -s named 명령을 실행해 로컬 이름 서버의 named 데몬이 활성인지 확인합니다.
  4. syslogd를 실행하고 있다면 기록된 메시지를 확인합니다. 이 메시지의 출력 위치는 /etc/syslog.conf 파일에 정의되어 있습니다.

이 단계로 문제를 찾지 못하면 이름 서버 호스트를 확인합니다.

이름 서버 호스트 문제 해결

호스트 이름이 풀리지 않으면:

  1. 다음 명령으로 named 데몬이 활성인지 확인합니다.
text
lssrc -s named
  1. 대상 호스트의 주소가 이름 서버 데이터베이스에 있고 올바른지 확인합니다. named 데몬에 SIGINT 신호를 보내 데이터베이스와 캐시를 /var/tmp/named_dump.db 파일로 덤프합니다. 풀려는 주소가 거기 있고 올바른지 확인합니다. 도메인의 마스터 이름 서버에 있는 named 호스트 데이터 파일에서 이름과 주소 풀이 정보를 더하거나 고칩니다. 그런 다음 다음 SRC 명령으로 데이터 파일을 다시 읽게 합니다.
text
refresh -s named
  1. 이름 풀이 요청이 처리되고 있는지 확인합니다. 그러려면 명령행에서 디버깅 수준을 지정해 named 데몬을 실행합니다. 올바른 디버그 수준은 1~9입니다. 수준이 높을수록 디버그 메커니즘이 더 많은 정보를 기록합니다.
text
startsrc -s named -a "-d DebugLevel "
  1. named 데이터 파일의 구성 문제를 확인합니다. 자세한 정보는 Name server resolution을 봅니다. 또 Files Reference의 "DOMAIN Data File Format", "DOMAIN Reverse Data File Format", "DOMAIN Cache File Format", "DOMAIN Local Data File Format"을 봅니다.

참고: 흔한 오류는 DOMAIN 데이터 파일에서 .(마침표)와 @(at 기호)를 잘못 쓰는 것입니다.

외부 사용자가 도메인에 닿지 못하면, 마스터가 아닌 모든 이름 서버(slave, hint)의 DOMAIN 데이터 파일에 같은 TTL(time-to-live) 정보가 있는지 확인합니다.

외부 리졸버가 서버에 계속 질의한다면, 서버가 적절한 TTL 값으로 DOMAIN 데이터 파일을 배포하고 있는지 확인합니다. TTL이 0이나 다른 작은 값이면 전송한 데이터가 아주 빨리 만료됩니다. 이 문제를 풀려면 SOA(start of authority) 레코드의 최솟값을 일주일 이상으로 설정합니다.

영어 원문

Name resolution problems

Resolver routines on hosts running TCP/IP attempt to resolve names, using these sources in the order listed.

  1. DOMAIN name server (named)

  2. Network Information Service (NIS)

  3. Local /etc/hosts file

When NIS+ is installed, lookup preferences are set using the irs.conf file. For more information, see Network Information Services (NIS and NIS+) Guide.

Resolving client host problems

If you cannot get a host name resolved, and you are using flat name resolution (using the /etc/hosts file), verify that the host name and correct Internet Protocol (IP) address information is in the /etc/hosts file.

If you cannot get a host name resolved, and you are using a name server, follow these steps:

  1. Verify that you have a resolv.conf file specifying the domain name and Internet address of a name server.

  2. Verify that the local name server is up by issuing the ping command with the IP address of the name server (found in the local resolv.conf file).

  3. If the local name server is up, verify that the named daemon on your local name server is active by issuing the lssrc -s named command on the name server.

  4. If you are running the syslogd, check for logged messages. The output for these messages is defined in the /etc/syslog.conf file.

If these steps do not identify the problem, check the name server host.

Resolving name server host problems

Use this procedure to resolve host name server problems.

If you cannot get a host name resolved:

  1. Verify that the named daemon is active by issuing the following command:
text
lssrc -s named
  1. Verify that the address of the target host exists and is correct in the name server database. Send a SIGINT signal to the named daemon to dump the database and cache to the file /var/tmp/named_dump.db. Verify that the address you are trying to resolve is there and is correct. Add or correct name-to-address resolution information in the named hosts data file for the master name server of the domain. Then issue the following SRC command to reread the data files:
text
refresh -s named
  1. Verify that the name resolution requests are being processed. To do this, enter the named daemon from the command line and specify a debugging level. Valid debug levels are 1 through 9. The higher the level, the more information the debug mechanism logs.
text
startsrc -s named -a "-d DebugLevel "
  1. Check for configuration problems in the named data files. For more information, see Name server resolution. In addition, see the "DOMAIN Data File Format,", "DOMAIN Reverse Data File Format," "DOMAIN Cache File Format," and the "DOMAIN Local Data File Format" in the Files Reference.

Note: A common error is the incorrect use of the . (period) and the @ (at sign) in the DOMAIN data files.

If external users cannot reach your domains, make sure that all your non-master name servers (slave, hint) have equal time-to-live (TTL) information in the DOMAIN data files.

If external resolvers query your servers constantly, make sure your servers are distributing DOMAIN data files with reasonable TTL values. If the TTL is zero or another small value, the data you transfer times out very quickly. Set the minimum value in your start of authority (SOA) records to a week or more to solve this problem.

TCP/IP 라우팅 문제

목적지 호스트에 닿을 수 없으면 다음 상황별 해결 방법을 생각합니다.

  • Network Unreachable 오류 메시지를 받으면 게이트웨이 호스트로 가는 경로가 정의되어 있고 올바른지 확인합니다. netstat -r 명령으로 커널 라우팅 테이블을 나열해 확인합니다.

  • No route to host 오류 메시지를 받으면 ifconfig interface_name 명령으로 로컬 네트워크 인터페이스가 올라와 있는지 확인합니다. 출력에 인터페이스가 올라와 있는지 나옵니다. ping 명령으로 네트워크의 다른 호스트에 닿아 봅니다.

  • Connection timed out 오류 메시지를 받으면:

    • 게이트웨이의 이름이나 인터넷 주소로 ping 명령을 실행해 로컬 게이트웨이가 올라와 있는지 확인합니다.
    • 게이트웨이 호스트로 가는 경로가 정의되어 있고 올바른지 확인합니다. netstat -r 명령으로 커널 라우팅 테이블을 나열해 확인합니다.
    • 통신하려는 호스트에 내 기계로 돌아오는 라우팅 테이블 항목이 있는지 확인합니다.
  • 정적 라우팅을 쓴다면 대상 호스트와 게이트웨이 호스트로 가는 경로가 정의되어 있는지 확인합니다. netstat -r 명령으로 커널 라우팅 테이블을 나열해 확인합니다.

    참고: 통신하려는 호스트에 내 기계로 가는 라우팅 테이블 항목이 있는지 확인합니다.

  • 동적 라우팅을 쓴다면 netstat -r 명령으로 게이트웨이가 커널 라우팅 테이블에 올바르게 나열되어 있는지 확인합니다.

  • 게이트웨이 호스트가 routed 데몬으로 RIP(Routing Information Protocol)를 쓴다면 /etc/gateways 파일에 대상 호스트로 가는 정적 경로가 설정되어 있는지 확인합니다.

    참고: 라우팅 데몬이 다른 게이트웨이에 질의해 먼 호스트로 가는 경로를 찾지 못할 때만 이렇게 하면 됩니다.

  • 게이트웨이 호스트가 gated 데몬으로 RIP를 쓴다면 gated.conf 파일에 대상 호스트로 가는 정적 경로가 설정되어 있는지 확인합니다.

  • routed 데몬으로 동적 라우팅을 쓴다면:

    • routed가 질의로 경로를 찾지 못하면(예를 들어 대상 호스트가 RIP를 실행하지 않으면) /etc/gateways 파일에 대상 호스트로 가는 경로가 정의되어 있는지 확인합니다.
    • 호스트로 패킷을 전달하는 게이트웨이가 올라와 있고 RIP를 실행하는지 확인합니다. 그렇지 않으면 정적 경로를 정의해야 합니다.
    • 받은 잘못된 패킷 같은 정보를 기록하도록 debug 옵션으로 routed 데몬을 실행합니다. 명령행에서 다음 명령으로 데몬을 띄웁니다.
text
startsrc -s routed -a "-d"
  • -t 플래그로 routed 데몬을 실행하면 보내고 받는 모든 패킷이 표준 출력에 쓰입니다. 이 모드로 실행한 routed는 시작한 터미널의 제어를 받습니다. 그래서 제어 터미널에서 인터럽트하면 데몬이 죽습니다.
  • gated 데몬으로 동적 라우팅을 쓴다면:
    • /etc/gated.conf 파일이 올바르게 구성되었고 올바른 프로토콜을 실행하고 있는지 확인합니다.
    • 출발지 네트워크의 게이트웨이가 목적지 네트워크의 게이트웨이와 같은 프로토콜을 쓰는지 확인합니다.
    • 통신하려는 기계에 내 호스트로 돌아오는 경로가 있는지 확인합니다.
    • gated.conf 파일의 게이트웨이 이름이 /etc/networks 파일에 나열된 게이트웨이 이름과 맞는지 확인합니다.
  • RIP나 HELLO 프로토콜을 쓰고 라우팅 질의로 목적지 경로를 찾지 못하면 gated.conf 파일에 대상 호스트로 가는 경로가 정의되어 있는지 확인합니다. 다음 조건에서는 정적 경로를 설정합니다.
    • 목적지 호스트가 출발지 호스트와 같은 프로토콜을 실행하지 않아 라우팅 정보를 교환할 수 없습니다.
    • 먼 게이트웨이(출발지 호스트와 다른 자율 시스템에 있는 게이트웨이)를 거쳐 호스트에 닿아야 합니다. RIP는 같은 자율 시스템의 호스트 사이에서만 쓸 수 있습니다.

다른 방법이 모두 실패하면 라우팅 데몬(routed나 gated)의 추적을 켜 볼 수 있습니다. 명령행에서 SRC traceson 명령을 쓰거나 데몬에 신호를 보내 추적 수준을 지정합니다. 이 데몬에 신호를 보내는 자세한 방법은 gated 데몬이나 routed 데몬을 봅니다.

영어 원문

TCP/IP routing problems

If you cannot reach a destination host, consider the solutions to the following situations.

  • If you receive a Network Unreachable error message, make sure that a route to the gateway host has been defined and is correct. Check this by using the netstat -r command to list kernel routing tables.

  • If you receive a No route to host error message, verify that the local network interface is up by issuing the ifconfig interface_name command. The output indicates whether or not the interface is up. Use the ping command to try and reach another host on your network.

  • If you receive a Connection timed out error message: – Verify that the local gateway is up using the ping command with the name or Internet address of the gateway. – Make sure that a route to the gateway host has been defined and is correct. Check this by using the netstat -r command to list kernel routing tables. – Make sure the host you want to communicate with has a routing table entry back to your machine.

  • If you are using static routing, make sure that a route to the target host and gateway host has been defined. Check this by using the netstat -r command to list kernel routing tables.

Note: Make sure the host you want to communicate with has a routing table entry to your machine.

  • If you are using dynamic routing, verify that the gateway is listed and correct in the kernel routing tables by issuing the netstat -r command.

  • If the gateway host is using the Routing Information Protocol (RIP) with the routed daemon, make sure that a static route to the target host is set up in the /etc/gateways file.

Note: You need to do this only if the routing daemon cannot identify the route to a distant host through queries to other gateways.

  • If the gateway host is using the RIP with the gated daemon, make sure that a static route to the target host is set up in the gated.conf file.

  • If you are using dynamic routing with the routed daemon: – If routed cannot identify the route through queries (for example, if the target host is not running the RIP, check the /etc/gateways file to verify that a route to the target host is defined. – Make sure that gateways responsible for forwarding packets to the host are up and running the RIP. Otherwise, you'll need to define a static route. – Run the routed daemon using the debug option to log such information as bad packets received. Invoke the daemon from the command line using the following command:

text
startsrc -s routed -a "-d"

– Run the routed daemon using the -t flag, which causes all packets sent or received to be written to standard output. When routed is run in this mode, it remains under the control of the terminal that started it. Therefore, an interrupt from the controlling terminal kills the daemon.

  • If you are using dynamic routing with the gated daemon: – Verify that the /etc/gated.conf file is configured correctly and that you are running the correct protocols. – Make sure the gateway on the source network is using the same protocol as the gateway on the destination network. – Make sure that the machine with which you are trying to communicate has a route back to your host machine. – Verify that the gateway names in the gated.conf file correspond to the gateway names listed in the /etc/networks file.

  • If you are using the RIP or HELLO protocols, and routes to the destination cannot be identified through routing queries, check the gated.conf file to verify that a route to the target host is defined. Set static routes under the following conditions: – The destination host is not running the same protocol as the source host so cannot exchange routing information. – The host must be reached by a distant gateway (a gateway that is on a different autonomous system than the source host). The RIP can be used only among hosts on the same autonomous system.

If all else fails, you might want to turn on tracing for your routing daemon (either routed or gated). Use the SRC traceson command from the command line, or send a signal to the daemon to specify different levels of tracing. See the gated daemon or the routed daemon for specifics on sending signals to these daemons.

SRC 지원 문제 해결

SRC(System Resource Controller)의 흔한 문제를 해결하는 제안입니다.

  • /etc/inetd.conf 파일의 변경이 적용되지 않으면: refresh -s inetd 명령이나 kill -1 InetdPID 명령으로 inetd 데몬을 갱신합니다.
  • startsrc -s [subsystem name]이 다음 오류 메시지를 돌려주면:
text
0513-00  The System Resource Controller is not active.

SRC 하위 시스템이 활성화되지 않았습니다. srcmstr & 명령으로 SRC를 시작한 뒤 startsrc 명령을 다시 실행합니다. SRC 지원 없이 명령행에서 데몬을 시작해 볼 수도 있습니다.

  • refresh -s [subsystem name]이나 lssrc -ls [subsystem name]이 다음 오류 메시지를 돌려주면:
text
[subsystem name] does not support this option.

그 하위 시스템이 실행한 SRC 옵션을 지원하지 않습니다. 하위 시스템 문서에서 지원하는 옵션을 확인합니다.

  • 다음 메시지가 나오면:
text
SRC was not found, continuing without SRC support.

데몬을 startsrc 명령 대신 명령행에서 직접 실행했습니다. 문제가 아닙니다. 그러나 stopsrc와 refresh 같은 SRC 명령은 직접 실행한 하위 시스템을 다루지 않습니다.

inetd 데몬이 올라와 올바르게 동작하고 해당 서비스도 올바른 것 같은데 여전히 연결할 수 없으면, inetd 데몬 프로세스를 디버거로 실행해 봅니다.

  1. inetd 데몬을 잠시 멈춥니다.
text
stopsrc -s inetd

stopsrc 명령은 inetd 데몬 같은 하위 시스템을 멈춥니다. 2. syslog.conf 파일을 편집해 맨 아래에 디버깅 줄을 더합니다. 예:

text
vi /etc/syslog.conf
  1. 파일 맨 아래에 *.debug /tmp/myfile 줄을 더하고 빠져나옵니다.

    1. 지정한 파일(이 예에서는 /tmp/myfile)이 있어야 합니다. touch 명령으로 파일을 만들 수 있습니다.
  1. 파일을 새로 읽게 합니다.
    • SRC를 쓰고 있다면 다음을 입력합니다.
text
refresh -s syslogd
  • SRC를 쓰지 않는다면 syslogd 데몬에 신호를 보냅니다.
text
kill -1 `ps -e | grep /etc/syslogd | cut -c1-7`
  1. 디버깅을 켠 채로 inetd 데몬을 다시 시작합니다.
text
startsrc -s inetd -a "-d"

-d 플래그가 디버깅을 켭니다. 5. 연결을 시도해 /tmp/myfile 디버깅 파일에 오류를 기록합니다. 예:

text
tn bastet
Trying...
connected to bastet
login:>
Connection closed
  1. 디버깅 파일에 문제로 보이는 것이 있는지 봅니다. 예:
text
tail -f /tmp/myfile
영어 원문

Resolving problems with SRC support

Use these suggestions to resolve common problems with the System Resource Controller.

  • If changes to the /etc/inetd.conf file do not take effect: Update the inetd daemon by issuing the refresh -s inetd command or the kill -1 InetdPID command.

  • If the startsrc -s [subsystem name] returns the following error message:

text
0513-00  The System Resource Controller is not active.

The System Resource Controller subsystem has not been activated. Issue the srcmstr & command to start SRC, then reissue the startsrc command. You might also want to try starting the daemon from the command line without SRC support.

  • If the refresh -s [subsystem name] or lssrc -ls [subsystem name] returns the following error message:
text
[subsystem name] does not support this option.

The subsystem does not support the SRC option issued. Check the subsystem documentation to verify options the subsystem supports.

  • If the following message is displayed:
text
SRC was not found, continuing without SRC support.

A daemon was invoked directly from the command line instead of using the startsrc command. This is not a problem. However, SRC commands, such as stopsrc and refresh, will not manipulate a subsystem that is invoked directly.

If the inetd daemon is up and running correctly and the appropriate service seems to be correct but you still cannot connect, try running the inetd daemon processes through a debugger.

  1. Stop the inetd daemon temporarily:
text
stopsrc -s inetd

The stopsrc command stops subsystems like the inetd daemon.

  1. Edit the syslog.conf file to add a debugging line at the bottom. For example:
text
vi /etc/syslog.conf
  1. Add the line *.debug /tmp/myfile at the bottom of the file and exit. b. The file that you specify must exist (/tmp/myfile in this example). You can use the touch command to make your file exists.
  1. Refresh the file:
  • If you are using SRC, enter:
text
refresh -s syslogd
  • If you are not using SRC, kill the syslogd daemon:
text
kill -1 `ps -e | grep /etc/syslogd | cut -c1-7`
  1. Start the inetd daemon backup with debugging enabled:
text
startsrc -s inetd -a "-d"

The -d flag enables debugging.

  1. Try to make a connection to log errors in the /tmp/myfile debugging file. For example:
text
tn bastet
Trying...
connected to bastet
login:>
Connection closed
  1. See if anything shows up as a problem in the debugging file. For example:
text
tail -f /tmp/myfile

telnet이나 rlogin 문제 해결

telnet이나 rlogin 명령의 문제를 푸는 데 쓸모 있는 설명입니다.

전체 화면 응용 프로그램에서 화면이 일그러지면:

  1. 다음 명령 가운데 하나로 TERM 환경 변수를 확인합니다.
text
env
echo $TERM
  1. TERM 변수가 쓰고 있는 터미널 화면 종류에 맞는 값인지 확인합니다.

문제 디버깅에 도움이 되는 telnet 하위 명령은 다음과 같습니다.

하위 명령 설명
display set과 toggle 값을 보여 줍니다.
toggle 모든 네트워크 데이터를 16진수로 보여 주는 것을 켜고 끕니다.
toggle options telnet 내부 처리 옵션을 보여 주는 것을 켜고 끕니다.

inetd 데몬이 telnet 서비스를 실행할 수 있는데도 telnet 명령으로 연결할 수 없으면 telnet 인터페이스에 문제가 있을 수 있습니다.

  1. telnet이 올바른 터미널 종류를 쓰는지 확인합니다.

    1. 내 기계의 TERM 변수를 확인합니다.
text
echo $TERM
  1. 연결하려는 기계에 로그인해 TERM 변수를 확인합니다.
text
echo $TERM
  1. 플래그 없이 telnet 명령을 입력해 telnet 인터페이스의 디버깅 기능을 씁니다.
text
telnet
tn>
  1. host가 기계 이름일 때 open host를 입력합니다.

    1. Ctrl-T를 눌러 tn> 프롬프트로 갑니다.

    2. tn> 프롬프트에서 디버깅 모드로 들어가도록 debug를 입력합니다.

  1. telnet 인터페이스로 다른 기계에 연결해 봅니다.
text
telnet bastet
Trying...
Connected to bastet
Escape character is ’^T’.

여러 명령이 화면을 올라가는 것을 지켜봅니다. 예:

text
SENT do ECHO
SENT do SUPPRESS GO AHEAD
SENT will TERMINAL TYPE (reply)
SENT do SUPPORT SAK
SENT will SUPPORT SAK (reply)
RCVD do TERMINAL TYPE (don’t reply)
RCVD will ECHO (don’t reply)
RCVD will SUPPRESS GO AHEAD (don’t reply)
RCVD wont SUPPORT SAK (reply)
SENT dont SUPPORT SAK (reply)
RCVD do SUPPORT SAK (don’t reply)
SENT suboption TELOPT_NAWS Width 80, Height 25
RCVD suboption TELOPT_TTYPE SEND
RCVD suboption TELOPT_TTYPE aixterm
...
  1. /etc/termcap이나 /usr/lib/terminfo에 aixterm 정의가 있는지 확인합니다. 예:
text
ls -a /usr/lib/terminfo
  1. aixterm 정의가 없으면 ibm.ti 파일을 빌드해 더합니다. 예:
text
tic ibm.ti

tic 명령은 터미널 정보 컴파일러입니다.

확장 curses를 쓰는 프로그램을 rlogin과 telnet 명령으로 쓸 때 기능 키와 화살표 키 문제가 생길 수 있습니다. 기능 키와 화살표 키는 이스케이프 시퀀스를 만드는데, 키 시퀀스 전체에 주어진 시간이 너무 짧으면 시퀀스가 쪼개집니다. curses는 Esc가 Esc 키만 뜻하는지, 아니면 커서 키, action 키, 기능 키 같은 다른 키가 만드는 여러 바이트 이스케이프 시퀀스의 시작인지 정하려고 일정 시간을 기다립니다.

주어진 시간 안에 Esc 뒤에 데이터가 없거나 올바르지 않은 데이터가 오면 curses는 그 Esc를 Esc 키로 판단하고 키 시퀀스가 쪼개집니다. rlogin이나 telnet 명령으로 생기는 지연은 네트워크에 따라 다릅니다. 연결하는 네트워크의 속도에 따라 화살표 키와 기능 키가 될 때도 있고 안 될 때도 있습니다. ESCDELAY 환경 변수를 큰 값(1000~1500)으로 설정하면 이 문제가 효과적으로 풀립니다.

영어 원문

Resolving telnet or rlogin problems

These explanations can be useful in solving problems with the telnet or rlogin command.

If you are having trouble with screen distortion in full-screen applications:

  1. Check the TERM environment variable by issuing one of the following commands:
text
env
echo $TERM
  1. Verify that the TERM variable is set to a value that matches the type of terminal display you are using.

telnet subcommands that can help in debugging problems include:

  • display — Displays set and toggle values.
  • toggle — Toggles the display of all network data in hex.
  • toggle options — Toggles the display of internal telnet process options.

If the inetd daemon could execute the telnet service but you still cannot connect using the telnet command, there may be something wrong with the telnet interface.

  1. Verify that telnet is using the correct terminal type. a. Check the $TERM variable on your machine:
text
echo $TERM
  1. Log in to the machine to which you are trying to attach and check the $TERM variable:
text
echo $TERM
  1. Use the telnet interface's debugging capabilities by entering the telnet command without flags.
text
telnet
tn>
  1. Type open host where host is the name of the machine. b. Press Ctrl-T to get to the tn%gt; prompt. c. At the tn> prompt, type debug for debugging mode.
  1. Try to connect to another machine using the telnet interface:
text
telnet bastet
Trying...
Connected to bastet
Escape character is ’^T’.

Watch the display as the various commands scroll up the screen. For example:

(15줄짜리 예는 위 한글 본문에 그대로 실었습니다.)

  1. Check /etc/termcap or /usr/lib/terminfo for the aixterm definition. For example:
text
ls -a /usr/lib/terminfo
  1. If the aixterm definition is missing, add it by building the ibm.ti file. For example:
text
tic ibm.ti

The tic command is a terminal information compiler.

Problems with function and arrow keys can arise when using the rlogin and telnet commands with programs using extended curses. Function and arrow keys generate escape sequences, which are split if too little time is allotted for the entire key sequence. Curses waits a specific amount of time to decide whether an Esc indicates the escape key only or the start of a multibyte escape sequence generated by other keys, such as cursor keys, the action key, and function keys.

If no data, or data that is not valid, follows the Esc in the allotted amount of time, curses decides that the Esc is the escape key, and the key sequence is split. The delay resulting from the rlogin or telnet

command is network dependent. Sometimes arrow and function keys work and sometimes they do not, depending on the speed of the network to which you are connecting. Setting the ESCDELAY environment variable to a large value (1000 to 1500) effectively solves this problem.

TCP/IP 구성 문제

네트워크 인터페이스는 어댑터 카드를 설치한 뒤 첫 시스템 시작 때 자동으로 구성됩니다. 그러나 호스트 이름, 인터넷 주소, 서브넷 마스크 같은 TCP/IP 초기 값은 직접 설정해야 합니다.

그러려면 Web-based System Manager(wsm)를 쓰거나 SMIT를 다음과 같이 씁니다.

  • smit mktcpip 빠른 경로로 호스트 이름, 인터넷 주소, 서브넷 마스크의 초기 값을 설정합니다.
  • smit mktcpip 빠른 경로로 이름 풀이 서비스를 제공할 이름 서버를 지정합니다. (smit mktcpip는 네트워크 인터페이스 하나만 구성한다는 점에 유의합니다.)
  • smit chinet 빠른 경로로 다른 네트워크 속성을 설정합니다.

로컬 게이트웨이로 가는 경로처럼 호스트가 정보를 보내는 데 필요한 정적 경로도 설정하고 싶을 수 있습니다. Web-based System Manager(wsm)나 SMIT 빠른 경로 smit mkroute로 구성 데이터베이스에 영구히 설정합니다.

구성에 다른 문제가 있으면 Configuring a TCP/IP network를 봅니다.

영어 원문

TCP/IP configuration problems

Network interfaces are automatically configured during the first system startup after the adapter card is installed. However, you still need to set some initial values for TCP/IP including the host name, the Internet address, and the subnet mask.

To do this, you can use the Web-based System Manager, wsm, or you can use the SMIT interface in the following ways:

  • Use the smit mktcpip fast path to set the initial values for the host name, the Internet address, and the subnet mask.

  • Use the smit mktcpip fast path to specify a name server to provide name resolution service. (Note that smit mktcpip configures one network interface only.)

  • Use the smit chinet fast path to set other network attributes.

You may also want to set up any static routes the host needs for sending transmitting information, such as a route to the local gateway. Use the Web-based System Manager, wsm, or the SMIT fast path, smit mkroute, to set these up permanently in the configuration database.

If you are having other problems with your configuration, see the Configuring a TCP/IP network for more information.

네트워크 인터페이스의 흔한 TCP/IP 문제

네트워크 인터페이스는 어댑터 카드를 설치한 뒤 첫 시스템 시작 때 자동으로 구성됩니다. 그러나 TCP/IP가 시작하려면 설정해야 하는 값이 있습니다. 호스트 이름과 인터넷 주소이며, Web-based System Manager(wsm)나 SMIT 빠른 경로 smit mktcpip로 설정할 수 있습니다.

SMIT 방법을 고른다면 smit mktcpip 빠른 경로로 이 값을 구성 데이터베이스에 영구히 설정합니다. 실행 중인 시스템에서 바꾸려면 smit chinet과 smit hostname 빠른 경로를 씁니다. smit mktcpip 빠른 경로는 TCP/IP를 최소한으로 구성합니다. 어댑터를 더하려면 smit tcpip 빠른 경로로 들어가는 Further Configuration 메뉴를 씁니다.

이것들이 정확한지 이미 확인했는데도 정보를 주고받는 데 문제가 있으면 다음을 확인합니다.

  • netstat -i 명령으로 네트워크 어댑터에 네트워크 인터페이스가 있는지 확인합니다. 출력의 Name 열에 tr0 같은 인터페이스가 나와야 합니다. 없으면 Web-based System Manager나 SMIT 빠른 경로 smit mkinet으로 네트워크 인터페이스를 만듭니다.
  • netstat -i 명령으로 인터페이스의 IP 주소가 올바른지 확인합니다. 출력의 Network 열에 IP 주소가 나와야 합니다. 틀리면 Web-based System Manager나 SMIT 빠른 경로 smit chinet으로 IP 주소를 설정합니다.
  • arp 명령으로 대상 기계의 완전한 IP 주소가 있는지 확인합니다. 예:
text
arp -a

arp 명령은 물리 어댑터 주소를 찾습니다. 이 명령은 불완전한 주소를 보여 줄 수도 있습니다. 예:

text
? (192.100.61.210) at (incomplete)

이는 기계의 플러그가 빠졌거나, 그 주소에 기계가 없는 엉뚱한 주소이거나, 하드웨어 문제(연결되어 패킷을 받지만 패킷을 돌려보내지 못하는 기계 등) 때문일 수 있습니다.

  • 어댑터 카드의 오류를 찾습니다. 예:
text
netstat -v

netstat -v 명령은 이더넷, 토큰링, X.25, 802.3 어댑터 장치 드라이버의 통계를 보여 줍니다. 또 인터페이스에서 활성인 모든 장치 드라이버의 네트워크와 오류 기록 데이터(No Mbufs Errors, No Mbuf Extension Errors, Packets Transmitted and Adapter Errors Detected 등)를 보여 줍니다.

  • errpt 명령으로 오류 로그를 확인해 어댑터 문제가 없는지 확인합니다.
  • 진단을 실행해 어댑터 카드가 좋은지 확인합니다. Web-based System Manager의 Devices 응용 프로그램, smit diag 빠른 경로, diag 명령을 씁니다.

SLIP 네트워크 인터페이스의 TCP/IP 문제

대체로 SLIP(Serial Line Interface Protocol) 인터페이스 문제를 디버그하는 가장 효과적인 방법은 구성을 되짚으며 단계마다 확인하는 것입니다.

그러나 다음도 할 수 있습니다.

  • ps -ef 명령으로 slattach 프로세스가 실행 중이고 올바른 tty 포트를 쓰는지 확인합니다. 그렇지 않으면 slattach 명령을 실행합니다. (써야 할 정확한 구문은 Configuring SLIP over a modem이나 Configuring SLIP over a null modem cable을 봅니다.)
  • smit chinet 빠른 경로로 지점 간 주소가 올바르게 지정되었는지 확인합니다. SLIP 인터페이스를 고릅니다. INTERNET ADDRESS와 DESTINATION ADDRESS 필드가 올바른지 확인합니다.

모뎀이 올바르게 동작하지 않으면:

  • 모뎀이 올바르게 설치되었는지 확인합니다. 모뎀 설치 설명서를 봅니다.
  • 모뎀이 하는 흐름 제어가 꺼져 있는지 확인합니다.

tty가 올바르게 동작하지 않으면 smit tty 빠른 경로로 구성 데이터베이스의 tty 전송 속도와 모뎀 특성이 올바르게 설정되었는지 확인합니다.

이더넷 네트워크 인터페이스의 TCP/IP 문제

이더넷 네트워크 인터페이스에서 TCP/IP 문제가 계속되면 이 점검표를 봅니다.

네트워크 인터페이스가 초기화되었고, 주소가 올바르게 지정되었고, 어댑터 카드가 좋다는 것을 확인했다면:

  • 내부·외부 트랜시버에 T 커넥터를 직접 꽂아 쓰는지 확인합니다.
  • 이더넷 케이블을 쓰는지 확인합니다. (이더넷 케이블은 50옴입니다.)
  • 이더넷 터미네이터를 쓰는지 확인합니다. (이더넷 터미네이터는 50옴입니다.)
  • 이더넷 어댑터는 카드에 있는 트랜시버나 외부 트랜시버를 쓸 수 있습니다. 어댑터에 어느 쪽을 쓰는지 지정하는 점퍼가 있습니다. 점퍼가 올바르게 설정되었는지 확인합니다(방법은 어댑터 설명서 참고).
  • 올바른 이더넷 커넥터 종류(thin은 BNC, thick은 DIX)를 쓰는지 확인합니다. 커넥터 종류를 바꾸면 Web-based System Manager(wsm)나 SMIT 빠른 경로 smit chgenet으로 Apply Change to Database Only 필드를 설정합니다. (Web-based System Manager에서는 확인란을 선택하고, SMIT에서는 Yes로 설정합니다.) 구성 변경을 적용하려면 기계를 다시 시작합니다. (Adapter management and configuration 참고)

토큰링 네트워크 인터페이스의 TCP/IP 문제

네트워크 인터페이스와의 통신 문제를 해결하는 지침입니다.

네트워크 인터페이스가 초기화되었고, 주소가 올바르게 지정되었고, 어댑터 카드가 좋다는 것을 확인했는데도 네트워크의 일부 기계와 통신할 수 없으면:

  • 통신할 수 없는 호스트가 다른 링에 있는지 확인합니다. 그렇다면 Web-based System Manager(wsm)나 SMIT 빠른 경로 smit chinet으로 Confine BROADCAST to Local Token-Ring 필드를 확인합니다. Web-based System Manager에서는 확인란을 선택하지 않고, SMIT에서는 No로 설정합니다.
  • 토큰링 어댑터가 올바른 링 속도로 동작하도록 구성되었는지 확인합니다. 잘못 구성되었으면 Web-based System Manager의 Network 응용 프로그램이나 SMIT로 어댑터 링 속도 속성을 바꿉니다(Adapter management and configuration 참고). TCP/IP를 다시 시작하면 토큰링 어댑터가 네트워크의 나머지와 같은 링 속도를 갖습니다.

토큰링·이더넷 브리지의 TCP/IP 문제

브리지로 토큰링과 이더넷 네트워크 사이에 통신할 수 없고 브리지가 올바르게 동작한다는 것을 확인했다면 이더넷 어댑터가 패킷을 버리고 있을 수 있습니다.

들어오는 패킷(헤더 포함)이 네트워크 어댑터의 MTU(maximum transmission unit) 값보다 크면 기계는 패킷을 버립니다. 예를 들어 토큰링 어댑터가 브리지로 보낸 1500바이트 패킷에 8바이트 LLC(logical link control) 헤더가 붙어 전체 패킷 크기가 1508이 됩니다. 받는 이더넷 어댑터의 MTU가 1500이면 패킷이 버려집니다.

두 네트워크 어댑터의 MTU 값을 확인합니다. 토큰링 어댑터가 나가는 패킷에 붙이는 8바이트 LLC 헤더를 감안해, 토큰링 어댑터의 MTU 값을 이더넷 어댑터의 MTU 값보다 적어도 8바이트 낮게 설정합니다. 예를 들어 MTU가 1500인 이더넷 어댑터와 통신하려면 토큰링 어댑터의 MTU를 1492로 설정합니다.

토큰링·토큰링 브리지의 TCP/IP 문제

브리지를 거쳐 동작할 때는 MTU 기본값 1500을, 브리지가 라우팅 제어 필드에 광고하는 최대 정보 필드(최대 I-frame)보다 8 작은 값으로 바꿉니다.

라우팅 제어 필드 값을 찾으려면 iptrace 데몬으로 들어오는 패킷을 봅니다. 바이트 1의 비트 1, 2, 3이 Largest Frame Bits이며, 특정 경로에서 통신하는 두 스테이션 사이에 전송할 수 있는 최대 정보 필드를 지정합니다. 라우팅 제어 필드의 형식은 다음과 같습니다.

그림 27. 라우팅 제어 필드

text
        바이트 0                 바이트 1
  +---+---+---+---+---+---+---+---+  +---+---+---+---+---+---+---+---+
  | B | B | B | L | L | L | L | L |  | D | F | F | F | r | r | r | r |
  +---+---+---+---+---+---+---+---+  +---+---+---+---+---+---+---+---+
  B: 브로드캐스트 표시, L: 길이, D: 방향, F: Largest Frame Bits, r: 예약

Largest Frame Bits 값은 다음과 같습니다.

값 뜻
000 정보 필드 최대 516바이트
001 정보 필드 최대 1500바이트
010 정보 필드 최대 2052바이트
011 정보 필드 최대 4472바이트
100 정보 필드 최대 8144바이트
101 예약
110 예약
111 모든 경로 브로드캐스트 프레임에 씀

예를 들어 라우팅 제어 필드의 최대 I-frame 값이 2052면 MTU 크기를 2044로 설정해야 합니다. 이는 토큰링 네트워크 인터페이스에만 해당합니다.

참고: iptrace를 쓸 때 출력 파일은 NFS(Network File System)에 있으면 안 됩니다.

영어 원문

Common TCP/IP problems with network interfaces

Network interfaces are configured automatically during the first system startup after the adapter card is installed. However, there are certain values that must be set in order for TCP/IP to start. These include the host name and Internet address and can be set using the Web-based System Manager, wsm, or the SMIT fast path, smit mktcpip.

If you choose the SMIT method, use the smit mktcpip fast path to set these values permanently in the configuration database. Use the smit chinet and smit hostname fast paths to change them in a running system. The smit mktcpip fast path minimally configures TCP/IP. To add adapters, use the Further Configuration menu, which can be reached with the smit tcpip fast path.

If you have already checked these to verify accuracy and you are still having trouble sending and receiving information, check the following:

  • Verify that your network adapter has a network interface by executing the netstat -i command. The output should list an interface, such as tr0, in the Name column. If it does not, create a network interface through Web-based System Manager or by entering the SMIT fast path smit mkinet.

  • Verify that IP address for the interface is correct by executing the netstat -i command. The output should list the IP address in the Network column. If it is incorrect, set the IP address through Web-based System Manager or by entering the SMIT fast path smit chinet.

  • Use the arp command to make sure you have the complete IP address for the target machine. For example:

text
arp -a

The arp command looks for the physical adapter address. This command might show an incomplete address. For example:

text
? (192.100.61.210) at (incomplete)

This could be due to an unplugged machine, a stray address with no machine at that particular address, or a hardware problem (such as a machine that connects and receives packets but is not able to send packets back).

  • Look for errors on the adapter card. For example:
text
netstat -v

The netstat -v command shows statistics for the Ethernet, Token Ring, X.25, and 802.3 adapter device drivers. The command also shows network and error logging data for all device drivers active on an interface including: No Mbufs Errors, No Mbuf Extension Errors, and Packets Transmitted and Adapter Errors Detected.

  • Check the error log by running the errpt command to ensure that there are no adapter problems.

  • Verify that the adapter card is good by running diagnostics. Use the Web-based System Manager Devices application, the smit diag fast path, or the diag command.

TCP/IP problems with a SLIP network interface

In general, the most effective method for debugging problems with a Serial Line Interface Protocol (SLIP) interface is to retrace your configuration, verifying each step.

However, you can also:

  • Verify that the slattach process is running and using the correct tty port by issuing the ps -ef command. If it is not, run the slattach command. (See Configuring SLIP over a modem or Configuring SLIP over a null modem cable for the exact syntax you should use.)

  • Verify that the point-to-point addresses are specified correctly by entering the smit chinet fast path. Select the SLIP interface. Make sure that the INTERNET ADDRESS and DESTINATION ADDRESS fields are correct.

If the modem is not functioning correctly:

  • Make sure that the modem was installed correctly. See the modem installation manual.

  • Verify that any flow control the modem does is turned off.

If the tty is not functioning correctly, verify that the tty baud rate and modem characteristics are set correctly in the configuration database by entering the smit tty fast path.

TCP/IP problems with an Ethernet network interface

Refer to this checklist if TCP/IP problems persist with an Ethernet network interface.

If the network interface has been initialized, the addresses correctly specified, and you have verified that the adapter card is good:

  • Verify that you are using a T-connector plugged directly into the inboard/outboard transceiver.

  • Make sure you are using an Ethernet cable. (Ethernet cable is 50 OHM.)

  • Make sure you are using Ethernet terminators. (Ethernet terminators are 50 OHM.)

  • Ethernet adapters can be used with either the transceiver that is on the card or with an external transceiver. There is a jumper on the adapter to specify which you are using. Verify that your jumper is set correctly (see your adapter manual for instructions).

  • Verify that you are using the correct Ethernet connector type (thin is BNC; thick is DIX). If you change this connector type, use the Web-based System Manager, wsm, or the smit chgenet SMIT fast path to set the Apply Change to Database Only field. (Check the field in Web-based System Manager or set to Yes in SMIT.) Restart the machine to apply the configuration change. (See Adapter management and configuration.)

TCP/IP problems with a Token-Ring network interface

Use these guidelines to resolve communication problems with your network interface.

If you cannot communicate with some of the machines on your network although the network interface has been initialized, the addresses correctly specified, and you have verified that the adapter card is good:

  • Check to see if the hosts with whom you cannot communicate are on a different ring. If they are, use the Web-based System Manager, wsm, or the SMIT fast path smit chinet to check the Confine BROADCAST to Local Token-Ring field. Do not check the field in Web-based System Manager or set to No in SMIT.

  • Check to see whether the token-ring adapter is configured to run at the correct ring speed. If it is configured incorrectly, use the Web-based System Manager Network application or SMIT to change the adapter ring speed attribute (see Adapter management and configuration). When TCP/IP is restarted, the token-ring adapter has the same ring speed as the rest of the network.

TCP/IP problems with a Token-Ring/Ethernet bridge

If you cannot communicate between a token-ring and an Ethernet network, using a bridge, and you have verified that the bridge is functioning correctly, the Ethernet adapter might be dropping packets.

A machine drops packets if the incoming packet (including headers) is greater than the network adapter maximum transmission unit (MTU) value. For instance, a 1500-byte packet sent by a token-ring adapter over the bridge collects an 8-byte logical link control (LLC) header, making the total packet size 1508. If the receiving Ethernet adapter MTU is set to 1500, the packet is dropped.

Check the MTU values of both network adapters. To allow for the eight-byte LLL header, the token-ring adapter attaches to outgoing packets, set the MTU value for the token-ring adapter at least eight bytes lower than the MTU value for the Ethernet adapter. For example, set the MTU for a token-ring adapter to 1492 to communicate with an Ethernet adapter with an MTU of 1500.

TCP/IP problems with a Token-Ring/Token-Ring bridge

When operating through a bridge, change the default value of 1500 for the maximum transmission unit (MTU) to a value that is eight less than the maximum information field (maximum I-frame) advertised by the bridge in the routing control field.

To find the routing control field value, use the iptrace daemon to look at incoming packets. Bits 1, 2, and 3 of Byte 1 are the Largest Frame Bits, which specify the maximum information field that can be transmitted between two communicating stations on a specific route. See the following for the format of the routing control field:

This illustration shows byte 0 and byte 1 of a routing control field. The eight bits of byte one are B, B, B, B, L, L, L, L. The eight bits of byte 1 are D, F, F, F, r, r, r, r.

Values for the Largest Frame Bits are as follows: Figure 27. Routing control field

  • 000 — Specifies a maximum of 516 bytes in the information field.
  • 001 — Specifies a maximum of 1500 bytes in the information field.
  • 010 — Specifies a maximum of 2052 bytes in the information field.
  • 011 — Specifies a maximum of 4472 bytes in the information field.
  • 100 — Specifies a maximum of 8144 bytes in the information field.
  • 101 — Reserved.
  • 110 — Reserved.
  • 111 — Used in all-routes broadcast frames.

For example, if the maximum I-frame value is 2052 in the routing control field, the MTU size should be set to 2044. This is for token-ring network interfaces only.

Note: When using iptrace, the output file must not be on a Network File System (NFS).

원격 호스트와 통신하는 TCP/IP 문제

원격 호스트와 통신할 수 없으면 다음 제안을 시도합니다.

  • 로컬 호스트에서 ping 명령을 실행해 네트워크로 가는 로컬 인터페이스가 올라와 동작하는지 확인합니다.
  • 로컬 호스트에서 점점 홉이 많은 호스트와 게이트웨이에 ping 명령을 써서 통신이 실패하는 지점을 찾습니다.

패킷 손실이 있거나 패킷 전달이 늦어지면 다음을 시도합니다.

  • trpt 명령으로 소켓 수준에서 패킷을 추적합니다.
  • iptrace 명령으로 모든 프로토콜 계층을 추적합니다.

브리지로 토큰링과 이더넷 네트워크 사이에 통신할 수 없고 브리지가 좋다는 것을 확인했다면:

  • 두 어댑터의 MTU 값을 확인합니다. 통신하려면 MTU 값이 호환되어야 합니다. 들어오는 패킷(헤더 포함)이 어댑터의 MTU 값보다 크면 기계는 패킷을 버립니다. 예를 들어 브리지로 보낸 1500바이트 패킷에 8바이트 LLC 헤더가 붙어 전체 패킷 크기가 1508이 됩니다. 받는 기계의 MTU가 1500이면 1508바이트 패킷은 버려집니다.
영어 원문

TCP/IP problems communicating with a remote host

If you cannot communicate with a remote host, try the these suggestions.

  • Run the ping command on the local host to verify that the local interface to the network is up and running.

  • Use the ping command for hosts and gateways that are progressively more hops from the local host to determine the point at which communication fails.

If you are having trouble with packet loss or are experiencing delays in packet delivery, try the following:

  • Use the trpt command to trace packets at the socket level.

  • Use the iptrace command to trace all protocol layers.

If you cannot communicate between a token-ring and an Ethernet network using a bridge, and you have verified that the bridge is good:

  • Check the MTU values of both adapters. The MTU values must be compatible to allow communication. A machine drops packets if the incoming packet (including headers) is greater than the adapter's MTU values. For instance, a 1500-byte packet sent over the bridge collects an 8-byte LLC header, making the total packet size 1508. If the receiving machine MTU is set to 1500, a packet of 1508 bytes is dropped.

snmpd 질의 응답의 TCP/IP 문제

snmpd가 질의에 응답하지 않고 받은 로그 메시지도 없으면 패킷이 커널 UDP(User Datagram Protocol) 패킷 처리기에 너무 클 수 있습니다.

그렇다면 다음 명령으로 커널 변수 udp_sendspace와 udp_recvspace를 늘립니다.

text
no -o udp_sendspace=64000
no -o udp_recvspace=64000

UDP 패킷의 최대 크기는 64K입니다. 질의가 64K보다 크면 거부됩니다. 이 문제를 피하려면 패킷을 더 작은 패킷으로 나눕니다.

영어 원문

TCP/IP problems with snmpd response to queries

If snmpd is not responding to queries and there are no log messages received, the packet might be to large for the kernel User Datagram Protocol (UDP) packet handler.

If this is the case, increase the kernel variables, udp_sendspace and udp_recvspace by issuing the following commands:

text
no -o udp_sendspace=64000
no -o udp_recvspace=64000

The maximum size for a UDP packet is 64K. If your query is larger than 64K, it will be rejected. Split the packet into smaller packets to avoid this problem.

DHCP의 TCP/IP 문제

구성 데이터를 얻을 수 없을 때 다음 해결 방법을 시도합니다.

IP 주소나 다른 구성 매개변수를 얻을 수 없으면:

  • 구성할 인터페이스를 지정했는지 확인합니다. Web-based System Manager의 Network 응용 프로그램, /etc/dhcpcd.ini 파일 편집, SMIT 빠른 경로 smit dhcp로 할 수 있습니다.
  • 로컬 네트워크에 서버가 있거나, 요청을 로컬 네트워크 밖으로 보내도록 구성된 릴레이 에이전트가 있는지 확인합니다.
  • dhcpcd 프로그램이 실행 중인지 확인합니다. 실행 중이 아니면 startsrc -s dhcpcd 명령을 씁니다.
영어 원문

TCP/IP problems with Dynamic Host Configuration Protocol

In the event that you cannot obtain configuration data, try the following solutions.

If you cannot get an IP address or other configuration parameters:

  • Check to see that you have specified an interface to be configured. This can be done through the Web-based System Manager Network application, by editing the /etc/dhcpcd.ini file, or by using the SMIT fast path smit dhcp.

  • Check to see that there is a server on the local network or a relay agent configured to get your requests off the local network.

  • Check to see that the dhcpcd program is running. If it is not, use the startsrc -s dhcpcd command.

TCP/IP 명령

TCP/IP는 시스템의 기반 구조의 일부입니다. 명령이나 프로그램을 실행하기만 하면 다른 터미널이나 시스템과 통신할 수 있게 합니다. 나머지는 시스템이 알아서 합니다.

명령 설명
chnamsv 호스트의 TCP/IP 기반 이름 서비스 구성을 바꿉니다.
chprtsv 클라이언트나 서버 기계의 인쇄 서비스 구성을 바꿉니다.
hostent 시스템 구성 데이터베이스의 주소 매핑 항목을 직접 다룹니다.
ifconfig TCP/IP를 쓰는 네트워크의 네트워크 인터페이스 매개변수를 구성하거나 보여 줍니다.
mknamsv 클라이언트용으로 호스트에 TCP/IP 기반 이름 서비스를 구성합니다.
mkprtsv 호스트에 TCP/IP 기반 인쇄 서비스를 구성합니다.
mktcpip 호스트에서 TCP/IP를 시작하는 데 필요한 값을 설정합니다.
no 네트워크 옵션을 구성합니다.
rmnamsv 호스트의 TCP/IP 기반 이름 서비스 구성을 없앱니다.
rmprtsv 클라이언트나 서버 기계의 인쇄 서비스 구성을 없앱니다.
slattach 직렬 회선을 네트워크 인터페이스로 붙입니다.
arp ARP가 쓰는 인터넷 주소와 하드웨어 주소 변환 표를 보여 주거나 바꿉니다.
gettable 호스트에서 NIC(Network Information Center) 형식의 호스트 표를 가져옵니다.
hostid 현재 로컬 호스트의 식별자를 설정하거나 보여 줍니다.
hostname 현재 호스트 시스템의 이름을 설정하거나 보여 줍니다.
htable 호스트 파일을 네트워크 라이브러리 루틴이 쓰는 형식으로 바꿉니다.
ipreport 지정한 패킷 추적 파일에서 패킷 추적 보고서를 만듭니다.
iptrace 인터넷 프로토콜의 인터페이스 수준 패킷 추적을 제공합니다.
lsnamsv 데이터베이스에 저장된 이름 서비스 정보를 보여 줍니다.
lsprtsv 데이터베이스에 저장된 인쇄 서비스 정보를 보여 줍니다.
mkhosts 호스트 표 파일을 만듭니다.
namerslv 시스템 구성 데이터베이스에서 로컬 리졸버 루틴의 도메인 이름 서버 항목을 직접 다룹니다.
netstat 네트워크 상태를 보여 줍니다.
route 라우팅 테이블을 직접 다룹니다.
ruser 외부 호스트의 프로그램 접근을 제어하는 별개의 시스템 데이터베이스 세 개의 항목을 직접 다룹니다.
ruptime 네트워크의 각 호스트 상태를 보여 줍니다.
securetcpip 네트워크 보안 기능을 켭니다.
setclock 네트워크의 호스트 시간과 날짜를 설정합니다.
timedc timed 데몬에 관한 정보를 돌려줍니다.
trpt TCP 소켓의 프로토콜 추적을 합니다.
영어 원문

TCP/IP commands

TCP/IP is part of the underlying structure of your system. It allows you to communicate with another terminal or system merely by executing a command or program.

TCP/IP is part of the underlying structure of your system. It allows you to communicate with another terminal or system merely by executing a command or program. Your system takes care of the rest.

  • chnamsv — Changes Transmission Control Protocol/Internet Protocol (TCP/IP) based name service configuration on a host.
  • chprtsv — Changes a print service configuration on a client or server machine.
  • hostent — Directly manipulates address-mapping entries in the system configuration database.
  • ifconfig — Configures or displays network interface parameters for a network, using TCP/IP.
  • mknamsv — Configures TCP/IP-based name service on a host for a client.
  • mkprtsv — Configures TCP/IP-based print service on a host.
  • mktcpip — Sets the required values for starting TCP/IP on a host.
  • no — Configures network options.
  • rmnamsv — Unconfigures TCP/IP-based name service on a host.
  • rmprtsv — Unconfigures a print service on a client or server machine.
  • slattach — Attaches serial lines as network interfaces.
  • arp — Displays or changes the Internet address to hardware address translation tables used by the Address Resolution Protocol (ARP).
  • gettable — Gets Network Information Center (NIC) format host tables from a host.
  • hostid — Sets or displays the identifier of the current local host.
  • hostname — Sets or displays the name of the current host system.
  • htable — Converts host files to the format used by network library routines.
  • ipreport — Generates a packet trace report from the specified packet trace file.
  • iptrace — Provides interface-level packet tracing for Internet protocols.
  • lsnamsv — Shows name service information stored in the database.
  • lsprtsv — Shows print service information stored in the database.
  • mkhosts — Generates the host table file.
  • namerslv — Directly manipulates domain name server entries for local resolver routines in the system configuration database.
  • netstat — Shows network status.
  • route — Manually manipulates the routing tables.
  • ruser — Directly manipulates entries in three separate system databases that control foreign host access to programs.
  • ruptime — Displays the status of each host on a network.
  • securetcpip — Enables the network security feature.
  • setclock — Sets the time and date for a host on a network.
  • timedc — Returns information about the timed daemon.
  • trpt — Performs protocol tracing on Transmission Control Protocol (TCP) sockets.

SRC 명령

SRC 명령은 데몬 하나, 데몬 묶음, 또는 데몬과 그 데몬이 제어하는 데몬(subserver가 있는 subsystem)에 영향을 줄 수 있습니다.

또 일부 TCP/IP 데몬은 모든 SRC 명령에 응답하지는 않습니다. 다음은 TCP/IP 데몬을 제어하는 데 쓸 수 있는 SRC 명령과 그 예외 목록입니다.

  • startsrc: 모든 TCP/IP subsystem과 inetd subserver를 시작합니다. startsrc 명령은 모든 TCP/IP subsystem과 inetd subserver에 동작합니다.

  • stopsrc: 모든 TCP/IP subsystem과 inetd subserver를 멈춥니다. stop normal 명령이라고도 합니다. stop normal 명령은 subsystem이 남은 작업을 모두 처리하고 정상 종료하게 합니다. inetd subserver의 경우 대기 중인 연결은 모두 시작하고 기존 연결은 모두 끝나게 합니다. stop normal 명령은 모든 TCP/IP subsystem과 inetd subserver에 동작합니다.

  • stopsrc -f: 모든 TCP/IP subsystem과 inetd subserver를 멈춥니다. stop force라고도 합니다. stop force 명령은 모든 subsystem을 즉시 끝냅니다. inetd subserver의 경우 대기 중인 연결과 기존 연결을 모두 즉시 끝냅니다.

  • refresh: inetd, syslogd, named, dhcpsd, gated subsystem을 새로 고칩니다.

  • lssrc: subsystem의 짧은 상태, 곧 지정한 subsystem의 상태(active나 inoperative)를 보여 줍니다. inetd subserver의 짧은 상태도 보여 줍니다. inetd subserver의 짧은 상태에는 subserver 이름, 상태, subserver 설명, 명령 이름, 실행할 때의 인수가 들어 있습니다.

  • lssrc -l: 다음 subsystem에 대해 짧은 상태와 추가 정보(긴 상태)를 보여 줍니다.

    • gated: debug나 trace 상태, 켜진 라우팅 프로토콜, 라우팅 테이블, 받아들이는 신호와 그 기능
    • inetd: debug 상태, 활성 subserver 목록과 그 짧은 상태, 받아들이는 신호와 그 기능
    • named: debug 상태, named.conf 파일 정보
    • dhcpsd: debug 상태, 제어하는 모든 IP 주소와 그 현재 상태
    • routed: debug와 trace 상태, 라우팅 정보 제공 상태, 라우팅 테이블
    • syslogd: syslogd 구성 정보

    lssrc -l 명령은 inetd subserver의 긴 상태도 보여 줍니다. 긴 상태에는 짧은 상태 정보와 활성 연결 정보가 들어 있습니다. 일부 subserver는 추가 정보를 줍니다. subserver별 추가 정보는 ftpd(debug와 logging 상태), telnetd(에뮬레이트하는 터미널 종류), rlogind(debug 상태), fingerd(debug와 logging 상태)입니다. rwhod와 timed subserver는 긴 상태를 주지 않습니다.

  • traceson: 소켓 수준 디버깅을 켭니다. 출력은 trpt 명령으로 형식화합니다. timed와 iptraced subsystem은 traceson 명령을 지원하지 않습니다.

  • tracesoff: 소켓 수준 디버깅을 끕니다. 출력은 trpt 명령으로 형식화합니다. timed와 iptraced subsystem은 tracesoff 명령을 지원하지 않습니다.

이 명령의 사용 예는 개별 명령 항목을 봅니다. SRC에 관한 자세한 정보는 Operating system and device management의 System Resource Controller를 봅니다.

영어 원문

SRC commands

SRC commands can affect one daemon, a group of daemons, or a daemon and those daemons it controls (subsystem with subservers).

In addition, some TCP/IP daemons do not respond to all SRC commands. The following is a list of SRC commands that can be used to control TCP/IP daemons and their exceptions.

  • startsrc — Starts all TCP/IP subsystems and inetd subservers. The startsrc command works for all TCP/IPP subsystems and inetd subservers.
  • stopsrc — Stops all TCP/IP subsystems and inetd subservers. This command is also called the stop normal command. The stop normal command allows subsystems to process all outstanding work and terminate gracefully. For inetd subservers, all pending connections are allowed to start and all existing connections are allowed to complete. The stop normal command works for all TCP/IP subsystems and inetd subservers.
  • stopsrc -f — Stops all TCP/IP subsystems and inetd subservers. This command is also called the stop force. The stop force command immediately terminates all subsystems. For inetd subservers, all pending connections and existing connections are terminated immediately.
  • refresh — Refreshes the following subsystems and subservers: the inetd, syslogd, named, dhcpsd, and gated subsystems.
  • lssrc — Provides short status for subsystems, which is the state of the specified subsystem (active or inoperative). Also provides short status for inetd subservers. The short status for inetd subservers includes: subserver name, state, subserver description, command name, and the arguments with which it was invoked.
  • lssrc -l — Provides the short status plus additional information (long status) for the following subsystems: gated State of debug or trace, routing protocols activated, routing tables, signals accepted and their function. inetd State of debug, list of active subservers and their short status; signals accepted and their function. named State of debug, named.conf file information. dhcpsd State of debug, all controlled IP addresses and their current state. routed State of debug and trace, state of supplying routing information, routing tables. syslogd syslogd configuration information. The lssrc -l command also provides long status for inetd subservers. The long status includes short status information and active connection information. Some subservers will provide additional information. The additional information by subserver includes: ftpd State of debug and logging telnetd Type of terminal emulating rlogind State of debug fingerd State of debug and logging The rwhod and timed subservers do not provide long status.
  • traceson — Turns on socket-level debugging. Use the trpt command to format the output. The timed and iptraced subsystems do not support the traceson command.
  • tracesoff — Turns off socket-level debugging. Use the trpt command to format the output. The timed and iptraced subsystems do not support the tracesoff command.

For examples of how to use these commands, see the topics about the individual commands. For more information on the System Resource Controller, see System Resource Controller in Operating system and device management.

파일 전송 명령

파일 전송 명령의 간단한 설명입니다.

명령 설명
ftp hostname 로컬과 원격 호스트 사이에 파일을 전송합니다.
rcp file host:file 로컬과 원격 호스트 사이나 원격 호스트 두 대 사이에 파일을 전송합니다.
tftp 호스트 사이에 파일을 전송합니다.
영어 원문

File transfer commands

Brief descriptions of the file transfer commands are listed here.

  • ftp hostname — Transfers files between a local and a remote host.
  • rcpfile host:file — Transfers files between local and remote host or between two remote hosts.
  • tftp — Transfers files between hosts.

원격 로그인 명령

TCP/IP 원격 로그인 명령의 간단한 설명입니다.

명령 설명
rexec host command 원격 호스트에서 명령을 한 번에 하나씩 실행합니다.
rlogin remotehost 로컬 호스트를 원격 호스트에 연결합니다.
rsh와 remsh remotehost command 원격 호스트에서 지정한 명령을 실행하거나 원격 호스트에 로그인합니다.
telnet, tn, tn3270 hostname TELNET 인터페이스로 로컬 호스트를 원격 호스트에 연결합니다.
영어 원문

Remote login commands

Brief descriptions of the TCP/IP remote login commands are listed here.

  • rexec host command — Executes commands one at a time on a remote host.
  • rlogin remotehost — Connects a local host with a remote host.
  • rsh and remsh remotehost command — Executes specified command at remote host or logs into the remote host.
  • telnet, tn and tn3270 hostname — Connects the local host with a remote host, using the TELNET interface.

상태 명령

TCP/IP 상태 명령의 간단한 설명입니다.

명령 설명
finger 또는 f user@host 사용자 정보를 보여 줍니다.
host hostname 호스트 이름을 인터넷 주소로, 또는 인터넷 주소를 호스트 이름으로 풉니다.
ping hostname 네트워크 호스트에 echo 요청을 보냅니다.
rwho 로컬 네트워크의 호스트에 로그인한 사용자를 보여 줍니다.
whois name 사용자 ID나 별칭으로 사용자를 식별합니다.
영어 원문

Status commands

Brief descriptions of the TCP/IP status commands are listed here.

  • finger or f user@host — Shows user information.
  • host hostname — Resolves a host name into an Internet address or an Internet address into a host name.
  • ping hostname — Sends an echo request to a network host.
  • rwho — Shows which users are logged in to hosts on the local network.
  • whois name — Identifies a user by user ID or alias.

원격 통신 명령

TCP/IP 원격 통신 명령 talk User@Host로 다른 사용자와 대화할 수 있습니다.

  • talk User@Host: 다른 사용자와 대화합니다.
영어 원문

Remote communication command

The TCP/IP remote communication command, talk User@Host, lets you converse with another user.

  • talk User@Host — Converse with another user.

인쇄 명령

TCP/IP 인쇄 명령의 간단한 설명입니다.

명령 설명
enq file 파일을 큐에 넣습니다.
refresh subsystem이나 subsystem 묶음의 새로 고침을 요청합니다.
smit 시스템 관리를 합니다.
영어 원문

Print commands

Brief descriptions of the TCP/IP print commands are listed here.

  • enq file — Enqueues a file.
  • refresh — Requests a refresh of a subsystem or group of subsystems.
  • smit — Performs system management.

TCP/IP 데몬

subsystem은 SRC가 제어하는 데몬(서버)입니다. subserver는 subsystem이 제어하는 데몬입니다. (데몬 명령과 데몬 이름은 보통 이름 끝에 d가 붙습니다.)

subsystem과 subserver 범주는 서로 배타적입니다. 곧 한 데몬이 subsystem이면서 subserver로 나열되지는 않습니다. 다른 데몬을 제어하는 TCP/IP subsystem은 inetd 데몬뿐입니다. 모든 TCP/IP subserver는 inetd의 subserver이기도 합니다.

SRC가 제어하는 TCP/IP 데몬은 다음과 같습니다.

subsystem

데몬 설명
gated 게이트웨이 라우팅 기능을 제공하며 RIP, RIPng, EGP, BGP와 BGP4+, HELLO, OSPF, IS-IS, ICMP와 ICMPv6 Router Discovery 라우팅 프로토콜을 지원합니다. 또 SNMP를 지원합니다. 네트워크 주소로의 라우팅에 쓸 수 있는 두 라우팅 데몬 가운데 하나이며 선호하는 라우팅 데몬입니다. 더 많은 게이트웨이 프로토콜을 지원하므로 routed보다 gated를 선호합니다.
inetd 데몬 서비스 요청을 받으면 다른 데몬을 호출하고 스케줄합니다. 다른 데몬을 시작할 수도 있습니다. 슈퍼 데몬이라고도 합니다.
iptrace 인터넷 프로토콜의 인터페이스 수준 패킷 추적 기능을 제공합니다.
named DOMAIN(Domain Name Server) 프로토콜의 이름 기능을 제공합니다.
routed 네트워크 라우팅 테이블을 관리하며 RIP를 지원합니다. 더 많은 게이트웨이 프로토콜을 지원하므로 routed보다 gated를 선호합니다.
rwhod 3분마다 다른 모든 호스트에 브로드캐스트를 보내고 로그인한 사용자와 네트워크 상태 정보를 저장합니다. 기계 자원을 상당히 쓸 수 있으므로 아주 조심해서 씁니다.
timed 시간 서버 기능을 제공합니다.

참고: routed와 gated 데몬은 모두 TCP/IP subsystem으로 나열되어 있습니다. 다른 모든 TCP/IP subsystem과 함께 이 두 라우팅 데몬을 모두 시작하는 startsrc -g tcpip 명령을 실행하지 않습니다. 한 기계에서 두 데몬을 동시에 실행하면 예측할 수 없는 결과가 생길 수 있습니다.

inetd subsystem이 제어하는 TCP/IP 데몬은 다음과 같습니다.

inetd subserver

데몬 설명
comsat 들어오는 메일을 사용자에게 알립니다.
fingerd 지정한 원격 호스트에 로그인한 모든 사용자와 네트워크 상태의 상태 보고서를 제공합니다. Finger 프로토콜을 씁니다.
ftpd FTP(File Transfer Protocol)로 클라이언트 프로세스에 파일 전송 기능을 제공합니다.
rexecd rexec 명령의 외부 호스트 서버 기능을 제공합니다.
rlogind rlogin 명령의 원격 로그인 기능을 제공합니다.
rshd rcp와 rsh 명령의 원격 명령 실행 서버 기능을 제공합니다.
talkd talk 명령의 대화 기능을 제공합니다.
syslogd 시스템 메시지를 읽고 기록합니다. RAS(Remote Access Service) subsystem 묶음에 속합니다.
telnetd TELNET 프로토콜의 서버 기능을 제공합니다.
tftpd TFTP(Trivial File Transfer Protocol)의 서버 기능을 제공합니다.
uucpd BNU(Basic Network Utilities)와 TCP/IP 사이의 통신을 처리합니다.
영어 원문

TCP/IP daemons

A subsystem is a daemon, or server, that is controlled by the SRC. A subserver is a daemon that is controlled by a subsystem. (Daemon commands and daemon names are usually denoted by a d at the end of the name.)

The categories of subsystem and subserver are mutually exclusive. That is, daemons are not listed as both a subsystem and as a subserver. The only TCP/IP subsystem that controls other daemons is the inetd daemon. All TCP/IP subservers are also inetd subservers.

The following are TCP/IP daemons controlled by the SRC:

Subsystems

  • gated — Provides gateway routing functions and supports the Routing Information Protocol (RIP), the Routing Information Protocol Next Generation (RIPng), Exterior Gateway Protocol (EGP), the Border Gateway Protocol (BGP) and BGP4+, the Defense Communications Network Local-Network Protocol (HELLO), Open Shortest Path First (OSPF), Intermediate System to Intermediate System (IS-IS), and Internet Control Message Protocol (ICMP and ICMPv6)/Router Discovery routing protocols. In addition, the gated daemon supports the Simple Network Management Protocol (SNMP). The gated daemon is one of two routing daemons available for routing to network addresses and is the preferred routing daemon. The gated daemon is preferred over the routed daemon because the gated daemon supports more gateway protocols.
  • inetd — Invokes and schedules other daemons when requests for the daemon services are received. This daemon can also start other daemons. The inetd daemon is also known as the super daemon.
  • iptrace — Provides interface-level packet-tracing function for Internet protocols.
  • named — Provides the naming function for the Domain Name Server protocol (DOMAIN).
  • routed — Manages the network routing tables and supports the Routing Information Protocol (RIP). The gated daemon is preferred over the routed daemon because the gated daemon supports more gateway protocols.
  • rwhod — Sends broadcasts to all other hosts every three minutes and stores information about logged-in users and network status. Use the rwhod daemon with extreme care, because it can use significant amounts of machine resources.
  • timed — Provides the time server function.
  • Note: Both the routed and gated daemons are listed as TCP/IP subsystems. Do not run the startsrc -g tcpip command, which initiates both of these routing daemons, along with all the other TCP/IP

subsystems. Running both daemons simultaneously on one machine can produce unpredictable results.

TCP/IP daemons controlled by the inetd subsystem are the following:

inetd Subservers

  • comsat — Notifies users of incoming mail.
  • fingerd — Provides a status report on all logged-in users and network status at the specified remote host. This daemon uses the Finger protocol.
  • ftpd — Provides the file transfer function for a client process using the File Transfer Protocol (FTP).
  • rexecd — Provides the foreign host server function for the rexec command.
  • rlogind — Provides the remote login facility function for the rlogin command.
  • rshd — Provides the remote command execution server function for the rcp and rsh commands.
  • talkd — Provides the conversation function for the talk command.
  • syslogd — Reads and logs system messages. This daemon is in the Remote Access Service (RAS) group of subsystems.
  • telnetd — Provides the server function for the TELNET protocol.
  • tftpd — Provides the server function for the Trivial File Transfer Protocol (TFTP).
  • uucpd — Handles communications between the Basic Network Utilities (BNU) and TCP/IP.

장치 메서드

장치 메서드는 장치와 연결되어 기본 장치 구성 작업을 하는 프로그램입니다.

TCP/IP 메서드에 관한 정보는 Communications Programming Concepts의 List of TCP/IP Programming References를 봅니다.

영어 원문

Device methods

Device methods are programs associated with a device that perform basic device configuration operations.

See List of TCP/IP Programming References in Communications Programming Concepts for information about TCP/IP methods.

RFC(Request for Comments)

다음 TCP/IP RFC가 AIX 시스템에서 지원됩니다.

이 운영 체제가 지원하는 RFC 목록은 Communications Programming Concepts의 List of TCP/IP Programming References를 봅니다.

RFC 제목
RFC 1359 Connecting to the Internet: What connecting institutions should anticipate
RFC 1325 FYI on questions and answers: Answers to commonly asked 'new Internet user' questions
RFC 1244 Site Security Handbook
RFC 1178 Choosing a Name for Your Computer
RFC 1173 Responsibilities of host and network managers: A summary of the 'oral tradition' of the Internet
영어 원문

Request for comments

The following TCP/IP Request for Comments (RFCs) are supported in the AIX system.

For a list of the RFCs (Request for Comments) supported by this operating system, see the List of TCP/IP Programming References in Communications Programming Concepts.

  • RFC 1359 Connecting to the Internet: What connecting institutions should anticipate

  • RFC 1325 FYI on questions and answers: Answers to commonly asked 'new Internet user' questions

  • RFC 1244 Site Security Handbook

  • RFC 1178 Choosing a Name for Your Computer

  • RFC 1173 Responsibilities of host and network managers: A summary of the 'oral tradition' of the Internet