各位好,
我常在不同網路區段使用筆電
因此常需要變更 IP 位址
但有一個網路區段很奇怪, 變更完以後不能上網路
但切換到 Windows 以後, 同樣的設定卻又正常
最後查到
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.101.0 * 255.255.255.0 U 1 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default my.router 0.0.0.0 UG 0 0 0 eth0
當然我設定 Gateway 的時候, 是直接輸入 IP 而不是上面這個 my.router
請問哪裡可以關閉這個解析功能,
ps, 最後是在 /etc/hosts 填上 my.router 正確的 ip
但我希望不必改這個檔案.
--
All Comments