[contest-discuss] Solaris 10下的上网问题
joey
Joey.Guo at Sun.COM
Tue Jul 31 20:31:36 PDT 2007
你好,如果你安装的是自动安装盘的话,在桌面上有一个iptool工具,你可以使用
它很方便的配置网络。/Joey
亮亮 陶 wrote:
> 我的机子上有两个网卡,一个集成在主板上的不能用了,后来我又买了一个独立
> 网卡,接口名称就是afe0,
> 我的机
> 子在windows下能上网,设置是这样的:
> IP:10.4.3.5
> 子网掩码:255.255.0.0
> 网关:10.4.0.1
> 首选dns服务器:10.0.0.1
> 但是到了Solaris 10下不知什么地方设置的不对上不了网。
> # ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
> 8232 index 1
>
> inet 127.0.0.1 netmask ff000000
> afe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
>
> inet 10.4.3.5 netmask ffff0000 broadcast 10.4.255.255
> ether ff:ff:ff:ff:ff:ff
> # cat /etc/hostname.afe0
> 10.4.3.5
> # cat /etc/nodename
> tllnjust
> # cat /etc/hosts
> 127.0.0.1 localhost loghost
> 10.4.3.5 tllnjust loghost
>
> # cat /etc/netmasks
> 10.0.0.0 255.255.0.0
> # cat /etc/defaultrouter
> 10.4.0.1
> # cat /etc/resolv.conf
> nameserver
> 10.0.0.1
> # cat /etc/nsswitch.conf
> hosts: files dns
> 这些都是从网上看到要配置的但是就是上不了网不知是为什么?希望你们能帮我
> 解答一下谢谢了?
>
>
> ------------------------------------------------------------------------
> 抢注雅虎免费邮箱3.5G容量,20M附件! <http://cn.mail.yahoo.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> contest-discuss mailing list
> contest-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/contest-discuss
>
--
Joey Guo, University Program Manager
Sun China Engineering & Research Institute
Tel: (86)10-62673245
Mobile: (86)13701115218
<//-- Open Source or Die! -->
http://blogs.sun.com/JoeyGuo
http://opentech.org.cn
http://eri.prc/wiki/univ
More information about the contest-discuss
mailing list