多IP應用雲主機切換出口IP地址[Linux系統教程]

發佈時間:2020-06-09


1.查看外網網卡設備 和 網關

執行命令: ip route show

image.png

2.更換出口ip為 211.149.140.130

執行命令: ip route change default via 211.149.140.1 dev eth0 src 211.149.140.130

3. 查看結果

執行命令: ip route show

image.png