- 论坛徽章:
- 0
|
一台V240,S9系统,bge0IP无法更改,实在想不通。内容如下:
bash-2.05# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 218.7.250.2 netmask da07fa07 broadcast 218.7.250.7
ether 0:3:ba:c5:f8:d5
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 61.138.33.12 netmask ffffff80 broadcast 61.138.33.127
ether 0:3:ba:c5:f8:d6
bash-2.05# more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
61.138.33.12 qth loghost
bash-2.05# more /etc/hostnam e me.*
::::::::::::::
/etc/hostname.bge0
::::::::::::::
qth0
/etc/hostname.bge1
::::::::::::::
qth
bash-2.05#
bash-2.05# more /etc/netmasks
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
61.138.33.0 255.255.255.128 |
|