請問一下我在linux(Centos)下,有兩張網卡,兩張網卡(eno1,eno2)都是192.168.1.x,當我使用:
curl ifconfig.me --interface eno1 時可以連線
curl ifconfig.me --interface eno2 就無法連線
而eno1是被設定為default連線網卡,所以可以從eno1出去,只要改eno2為default連線網卡,eno1也會同樣失敗
請問如何設定才可以讓兩個curl指令都可以順利連線,各走各的網卡?
感謝
內文搜尋

X