- 论坛徽章:
- 0
|
AIX Version 5
(C) Copyrights by IBM and by others 1982, 2006.
Console login: root
*******************************************************************************
* *
* *
* Welcome to AIX Version 5.3! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
Last login: Tue Dec 1 17:08:13 CST 2009 on /dev/tty0
# ping www.google.com
PING www.l.google.com: (74.125.153.147): 56 data bytes
64 bytes from 74.125.153.147: icmp_seq=0 ttl=49 time=159 ms
64 bytes from 74.125.153.147: icmp_seq=1 ttl=49 time=141 ms
64 bytes from 74.125.153.147: icmp_seq=2 ttl=49 time=176 ms
64 bytes from 74.125.153.147: icmp_seq=3 ttl=49 time=264 ms
64 bytes from 74.125.153.147: icmp_seq=4 ttl=49 time=150 ms
^C
----www.l.google.com PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 141/178/264 ms
# ping 192.168.0.12
PING 192.168.0.12: (192.168.0.12): 56 data bytes
^C
----192.168.0.12 PING Statistics----
6 packets transmitted, 0 packets received, 100% packet loss
# ifconfig -a
en0: flags=4e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPR>
inet 192.168.0.18 netmask 0xffffff00 broadcast 192.168.0.255
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BI>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 0.9.6b.de.22.19 1742 0 789 0 0
en0 1500 192.168.0 192.168.0.18 1742 0 789 0 0
lo0 16896 link#1 1505 0 1613 0 0
lo0 16896 127 127.0.0.1 1505 0 1613 0 0
lo0 16896 ::1 1505 0 1613 0 0
# netstat -rn
Routing tables
Destination Gateway Flags Refs Use If Exp Groups
Route Tree for Protocol Family 2 (Internet):
default 192.168.0.1 UGA 0 28 en0 - -
127/8 127.0.0.1 U 4 631 lo0 - -
192.168.0.0 192.168.0.18 UHSb 0 0 en0 - - =>
192.168.0/24 192.168.0.18 U 2 146 en0 - -
192.168.0.18 127.0.0.1 UGHS 24 871 lo0 - -
192.168.0.255 192.168.0.18 UHSb 0 4 en0 - -
Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 0 lo0 - -
# cat /etc/hosts
# @(#)47 1.1 src/bos/usr/sbin/netstart/hosts, cmdnet, bos530 7/24/91 106
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos530 src/bos/usr/sbin/netstart/hosts 1.1
#
# Licensed Materials - Property of IBM
#
# (C) COPYRIGHT International Business Machines Corp. 1985,1989
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: TCPIP hosts
#
# FUNCTIONS: loopback
#
# ORIGINS: 26 27
#
# (C) COPYRIGHT International Business Machines Corp. 1985, 1989
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# /etc/hosts
#
# This file contains the hostnames and their address for hosts in the
# network. This file is used to resolve a hostname into an Internet
# address.
#
# At minimum, this file must contain the name and address for each
# device defined for TCP in your /etc/net file. It may also contain
# entries for well-known (reserved) names such as timeserver
# and printserver as well as any other host name and address.
#
# The format of this file is:
# Internet Address Hostname # Comments
# Items are separated by any number of blanks and/or tabs. A '#'
# indicates the beginning of a comment; characters up to the end of the
# line are not interpreted by routines which search this file. Blank
# lines are allowed.
# Internet Address Hostname # Comments
# 192.9.200.1 net0sample # ethernet name/address
# 128.100.0.1 token0sample # token ring name/address
# 10.2.0.2 x25sample # x.25 name/address
127.0.0.1 loopback localhost # loopback (lo0) name/address
192.168.0.18 44p170
# cat /etc/resolv.conf
nameserver 202.106.46.151
[ 本帖最后由 xinshouzhe 于 2009-12-2 11:37 编辑 ] |
|