多IP應用云主機切換出口IP地址[Linux系統(tǒng)教程]
1.查看外網(wǎng)網(wǎng)卡設備 和 網(wǎng)關
執(zhí)行命令: ip route show
image.png
2.更換出口ip為 211.149.140.130
執(zhí)行命令: ip route change default via 211.149.140.1 dev eth0 src 211.149.140.130
3. 查看結(jié)果
執(zhí)行命令: ip route show
image.png
來源:西部數(shù)碼