# ifconfig eth1 172.16.0.2 netmask 255.255.255.0 up
在 Host 系统中 ping 虚拟系统的新网卡对应IP地址:
#
# # ping 172.16.0.2
PING 172.16.0.2 (172.16.0.2) 56(84) bytes of data.
64 bytes from 172.16.0.2: icmp_seq=1 ttl=64 time=0.209 ms
^C
--- 172.16.0.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.209/0.209/0.209/0.000 ms
#
# # ssh -l root 172.16.0.2 The authenticity of host '172.16.0.2 (172.16.0.2)' can't be established. RSA key fingerprint is a9:15:3d:cf:f5:b1:5c:5f:5d:96:fb:a9:b0:9d:37:61. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '172.16.0.2' (RSA) to the list of known hosts. root@172.16.0.2's password: Last login: Tue Oct 7 00:13:55 2008 [root@centos5 ~]# [root@centos5 ~]# exit logout