- 论坛徽章:
- 0
|
楼主把网卡配置文件贴上来吧,还有network文件和hosts文件
chenyx 发表于 2011-09-06 16:50
网卡配置
SAS-hangzhou3:/etc/sysconfig/network # more ifcfg-eth0
BOOTPROTO='static'
BROADCAST='134.98.2.127'
IPADDR='134.98.2.4'
NETMASK='255.255.255.128'
NETWORK='134.98.2.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE=''
WIRELESS='no'
hosts配置文件
SAS-hangzhou3:/etc # more hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
134.98.2.4 SAS-sheng3.local SAS-sheng3
134.98.2.102 srb-server
network
SAS-hangzhou3:/etc/sysconfig # more network.cfg
NETWORKING=yes
PROFILENAME="No_Profile"
HOSTNAME=SAS-sheng3
DOMAINNAME=none
GATEWAY=134.98.2.1
GATEWAYDEV=no
FORWARD_IPV4=no
IPX=no |
|