- 论坛徽章:
- 0
|
irix怎样实现网关和路由的功能,用什么软件
还没解决。我按照 IRIX Admin: Networking and Mail 文档照下面去做
Configuring a Router With Two Interfaces
The /etc/init.d/network script is designed to automatically detect and configure a router with two interfaces if the default naming scheme for the interfaces is used. By default, the Internet addresses of the primary and secondary interfaces are derived from the /etc/sys_id file. The primary interface uses the name in the sys_id file. The secondary interface prefixes gate- to the name specified in the sys_id file.
To set up a router with two interfaces using the default naming scheme, follow this procedure:
1.
Log in as root.
2.
Assign valid Internet names and addresses to both interfaces in the /etc/hosts file. For example, the /etc/hosts file entries for the primary and secondary interfaces on the station biway might look like this:
198.70.75.2 biway.salad.com biway
198.70.80.3 gate-biway.salad.com gate-biway
3.
Ensure that the router has the appropriate name in its /etc/sys_id file. Following this example, the /etc/sys_id file should look like this:
biway
4.
Reconfigure the kernel and reboot the station to initialize your changes and interfaces. Some systems prompt you for permission, as in the following example. Others simply return a shell prompt. In either case, enter the reboot command when the kernel has been reconfigured:
/etc/autoconfig
Automatically reconfigure the operating system? (y/n)y
reboot
然后在内网机器上加
route add 要访问的公网ip irix的内网ip
但出不去,在irix上 用
netstat -s -p ip |grep forward
看到(forwarding enabled)。
我的系统是
6.5 6.5.6m
IRIX64 6.5 10181058 IP27
大家邦我看下怎么办
谢谢上两位,但我不明白你们的方法,具体要怎么作,如果可以再帮我下 |
|