免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6356 | 回复: 3
打印 上一主题 下一主题

[SCO UNIX] 请教关于配置XDMCP的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-21 15:59 |只看该作者 |倒序浏览
对SGI不熟,请大家多多指教

IRIX6.5

网络状况
  1. sgi 9# ifconfig -a
  2. ef0: flags=415c43<UP,BROADCAST,RUNNING,FILTMULTI,MULTICAST,CKSUM,DRVRLOCK,LINK0,IPALIAS>
  3.         inet 192.168.5.111 netmask 0xffffff00 broadcast 192.168.5.255
  4. lo0: flags=1849<UP,LOOPBACK,RUNNING,MULTICAST,CKSUM>
  5.         inet 127.0.0.1 netmask 0xff000000
复制代码

因为现在想该机器能够被另外一个网段a.64.133.*(a不等于192)的机器通过xdmcp访问,首先考虑的就是添加一个alias

参考了http://bbs.chinaunix.net/viewthread.php?tid=28520&highlight=两个ip
  1. Creating an IP Aliases File
  2. You can save IP alias settings in the /etc/config/ipaliases.options file so they are automatically assigned during the network initialization process. The ipaliases.options file is read by the network script if the /etc/config/ipaliases file contains the value on. Use the procedure below to create an ipaliases.options file and assign IP aliases automatically during network initialization:

  3. Edit ipaliases.options using your favorite editor:

  4. # vi /etc/config/ipaliases.options


  5. Your entries should look similar to the example below. In this example, broadcasting is performed on the Ethernet but not the FDDI network:

  6. ec0 128.64.56.51 netmask 0xffffff00 broadcast 128.64.56.255
  7. ec0 128.64.56.12 netmask 0xffffff00 broadcast 128.64.56.255
  8. ipg0 190.111.79.16 netmask 0xffffff00
  9. ipg0 190.111.79.10 netmask 0xffffff00



  10. Create an ipaliases file and set IP aliasing on in the file:

  11. # chkconfig ipaliases on


  12. Stop and restart the network to put your changes into effect:

  13. /etc/init.d/network stop
  14. /etc/init.d/network start
复制代码

这片文章后,考虑到O2上内置网卡是ec0, Octnae上是ef0噢
修改上面的部分,其余照抄
ef0 a.64.133.111 netmask 0xffffff00 broadcast a.64.133.255

之后
  1. ifconfig -a
  2. ef0: flags=415c43<UP,BROADCAST,RUNNING,FILTMULTI,MULTICAST,CKSUM,DRVRLOCK,LINK0,IPALIAS>
  3.         inet 192.168.5.111 netmask 0xffffff00 broadcast 192.168.5.255
  4.         inet a.64.133.111 netmask 0xffffff00 broadcast a.64.133.255
  5. lo0: flags=1849<UP,LOOPBACK,RUNNING,MULTICAST,CKSUM>
  6.         inet 127.0.0.1 netmask 0xff000000
复制代码

测试了一下,网络都是通的,在a的网段通过telnet也可以登陆a.64.133.111

但是xmanager等客户端无法登陆,考虑是不是防火墙问题 或者sgi本身的xdmcp配置问题

打开/var/X11/xdm/Xaccess

里面全部都是注释,我取消了CHOOSER BROADCAST的注释,希望通过广播方式

仍然a网段的无法通过xdmcp访问。

不知道这应该怎么解决。是不是sgi里面有什么防火墙设置?还是应该继续配置xdmcp

论坛徽章:
0
2 [报告]
发表于 2006-03-22 08:37 |只看该作者
看看你客户端是不是安装了防火墙软件,不通是因为这个引起的,如果有防火墙,就不能通过广播方式访问。SGI那边不用设置了。

论坛徽章:
0
3 [报告]
发表于 2006-03-22 09:10 |只看该作者
客户端的防火墙已经设置了友好网络,对a网段的设置了信任区域,甚至连防火墙禁用也试过 ,还是不行

论坛徽章:
0
4 [报告]
发表于 2006-03-22 09:11 |只看该作者
还有,a网段还有一个rhel,一个sun,都可以通过广播方式访问,似乎不应该是因为防火墙的问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP