安装过程中,选择了企业模式.在选择过程有一个选项,openssl-server我还以为是像安全80连接的什么的,没选上,后来使用ssh连接时,才知道原来是这东东来的.
配置网络时的双网卡它的规则好像是写在/etc/network/interfaces中的前面的网卡做为主卡.
root@chrd-edm:/home/chrd# vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 124.254.88.171
gateway 124.254.88.161
netmask 255.255.255.240
# second network interface in lan
auto eth1
iface eth1 inet static
address 192.168.21.19
#gateway 192.168.21.1
netmask 255.255.255.0
上次配置时,一直为route出来的东西有二个default 网关而郁闷.
这次尝试把内网的风关去掉,只设置外网.
终于解决route二个网关和外网不能ping它的问题了(route中default网关是内网网关时,ping不通的)
前面想到的办法却是route del,郁闷的却是网上很多人都这么建议的.