- 论坛徽章:
- 0
|
现象:
访问同一网段的主机没问题
无法访问外网,但可以ping同外网
把笔记本设成和服务器相同的网络配置,可以访问外网,基本排除网络设备的问题
以下为相关配置:
=================================
#more /etc/release
Solaris 9 12/02 s9s_u2wos_10a SPARC
Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 02 December 2002
=================================
#ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.11.40 netmask ffffff00 broadcast 192.168.11.255
ether 0:3:ba:36:22:6a
=================================
#netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.11.0 192.168.11.40 U 1 155 eri0
224.0.0.0 192.168.11.40 U 1 0 eri0
default 192.168.11.1 UG 1 238
127.0.0.1 127.0.0.1 UH 29 321769 lo0 |
|