#chmod+x/etc/rc2.d/S99proxyarp;改变文件属性,让其可执行
四、完成以上所有设置后,重启SUN工作站。
五、检验效果:
重启后,我们用接口查询命令即可看到ipdptp0接口已启动,但还没有up:
#ifconfig-a;列出系统中的所有网络接口
lo0:flags=849ΙUP,LOOPBACK,RUNNING,MULTICASTΛmtu8232
inet127.0.0.1netmaskff000000
hme0:flags=863ΙUP,BROADCAST,NOTRAILERS,RUNNING,MULTICASTΛ
mtu1500
inet192.9.200.1netmaskffffff00broadcast192.9.200.255
ether8:0:20:1:2:3
ipdptp0:flags=8d0ΙPOINTOPOINT,RUNNING,NOARP,MULTICASTΛmtu8232
inet192.9.200.1--Λ0.0.0.0netmaskffffff00
ether0:0:0:0:0:0
在客户机上(例如WIN95),在控制面板中将拨号网络设置好后,新建一个拨号连接并设好TCP/IP的地址(这些步骤已有许多介绍,这里不再详述)即可向工作站拨号上网。注册成功后,我们用接口查询命令可看到ipdptp0接口已up:
#ifconfig-a;列出系统中的所有网络接口
lo0:flags=849ΙUP,LOOPBACK,RUNNING,MULTICASTΛmtu8232
inet127.0.0.1netmaskff000000
hme0:flags=863ΙUP,BROADCAST,NOTRAILERS,RUNNING,
MULTICASTΛmtu1500
inet192.9.200.1netmaskffffff00broadcast192.9.200.255
ether8:0:20:1:2:3
ipdptp0:flags=28d1ΙUP,POINTOPOINT,RUNNING,NOARP,MULTICAST,
UNNUMBEREDΛmtu1500
标签: