作者KarasuTW (ヨウキな昼间のオバケ)
看板Trace
标题Re: [问题] 有可以模拟网路卡(虚拟网路卡)的软体 …
时间Tue Apr 4 09:30:07 2006
※ 引述《sanbis (方正)》之铭言:
: 照这里的动作做过以後,在区域连线中 IP 位址的确是出来了,
: 目前设定下载机 192.168.50.1 作业机192.168.50.0
设定 IP 的时候尾数不可以用 0 和 255 ^^" 这些 IP 有特殊意义的
有些 router 会用掉 1 所以实际最好是从 2 开始设。
: 不过....
: 在之後使用 route 指令却出现问题....
: 照原本所说使用 route 指令追加静态路由:
: 因此在作业机上下指令
: route -p add 192.168.50.1 MASK 255.255.255.255 127.0.0.1
: ^另一台电脑的IP
不好意思,最後面的 127.0.0.1 要改成自己的 IP (192.168.1.x) :P 我搞错了
假设一台是 192.168.50.2 一台是 192.168.50.3 的情况:
在 192.168.50.3 那台:
route -p add 192.168.50.2 MASK 255.255.255.255 192.168.50.3
route print 应该在最下面会有这行:
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.50.2 255.255.255.255 192.168.50.3 1
然後上面的 Active Routes 要有这两行:
Active Routes:
Network Destination Netmask Gateway Interface Metric
[deleted]
192.168.50.3 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.50.2 255.255.255.255 192.168.50.3 192.168.50.3 1
请再试一次看看 ^^"
--
And I began to wonder... the dream I can't remember.
When I wake up in the morning, where in the world did they go?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.170.28.217