- 论坛徽章:
- 0
|
对SGI不熟,请大家多多指教
IRIX6.5
网络状况
- sgi 9# ifconfig -a
- ef0: flags=415c43<UP,BROADCAST,RUNNING,FILTMULTI,MULTICAST,CKSUM,DRVRLOCK,LINK0,IPALIAS>
- inet 192.168.5.111 netmask 0xffffff00 broadcast 192.168.5.255
- lo0: flags=1849<UP,LOOPBACK,RUNNING,MULTICAST,CKSUM>
- inet 127.0.0.1 netmask 0xff000000
复制代码
因为现在想该机器能够被另外一个网段a.64.133.*(a不等于192)的机器通过xdmcp访问,首先考虑的就是添加一个alias
参考了http://bbs.chinaunix.net/viewthread.php?tid=28520&highlight=两个ip
- Creating an IP Aliases File
- 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:
- Edit ipaliases.options using your favorite editor:
- # vi /etc/config/ipaliases.options
- Your entries should look similar to the example below. In this example, broadcasting is performed on the Ethernet but not the FDDI network:
- ec0 128.64.56.51 netmask 0xffffff00 broadcast 128.64.56.255
- ec0 128.64.56.12 netmask 0xffffff00 broadcast 128.64.56.255
- ipg0 190.111.79.16 netmask 0xffffff00
- ipg0 190.111.79.10 netmask 0xffffff00
- Create an ipaliases file and set IP aliasing on in the file:
- # chkconfig ipaliases on
- Stop and restart the network to put your changes into effect:
- /etc/init.d/network stop
- /etc/init.d/network start
复制代码
这片文章后,考虑到O2上内置网卡是ec0, Octnae上是ef0噢
修改上面的部分,其余照抄
ef0 a.64.133.111 netmask 0xffffff00 broadcast a.64.133.255
之后
- ifconfig -a
- ef0: flags=415c43<UP,BROADCAST,RUNNING,FILTMULTI,MULTICAST,CKSUM,DRVRLOCK,LINK0,IPALIAS>
- inet 192.168.5.111 netmask 0xffffff00 broadcast 192.168.5.255
- inet a.64.133.111 netmask 0xffffff00 broadcast a.64.133.255
- lo0: flags=1849<UP,LOOPBACK,RUNNING,MULTICAST,CKSUM>
- 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 |
|