如何確認多個網路連線可以同時存在
可以執行 ping 指令,並指定來源端的 IP Address 來作測試:
$ ping -I 192.168.2.101 tw.yahoo.com
$ ping -I 172.17.0.1 tw.yahoo.com
也可以執行 wget 指令,並指定來源端的 IP Address 來作測試:
$ wget --bind-address 192.168.2.101 tw.yahoo.com
$ wget --bind-address 172.17.0.1 tw.yahoo.com
Reference
How to set which IP to use for a HTTP request?
文字內容 或 影像內容 部份參考、引用自網路,如有侵權,請告知。
全站熱搜
留言列表