[問題] fake interface?

看板LinuxDev作者 (true me)時間16年前 (2009/03/07 20:05), 編輯推噓0(005)
留言5則, 3人參與, 最新討論串1/1
我想要在我的機器上假冒出一個network interface, 假設叫做fake_int好了, 機器上有兩個真實的network interface: eth0 & eth1 我想要從fake_int出去的所有packet可以從eth0&eth1各送出去一份 從eth0和eth1進來的packet都會收到fake_int ip address是bind在fake_int上 像是可以這樣設定 ifconfig eth0 up ifconfig eth1 up ifcnofig fake_int inet 10.0.0.1 netmask 255.0.0.0 up 請問有人知道怎麼做到嗎? Thanks! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.209.21

03/07 21:59, , 1F
聽起來有點像是teaming的技術
03/07 21:59, 1F

03/07 22:31, , 2F
bridge起來,另外限制eth0<->eth1之間的packets...
03/07 22:31, 2F

03/08 15:33, , 3F
Thanks! 我選擇用teaming/bonding方式做了
03/08 15:33, 3F

03/08 15:33, , 4F
因為bridge會有spaning tree, 還是謝謝大家了
03/08 15:33, 4F

03/08 15:34, , 5F
我參考Document/networking/bonding做了, 可以work! THX!
03/08 15:34, 5F
文章代碼(AID): #19icBqeZ (LinuxDev)
文章代碼(AID): #19icBqeZ (LinuxDev)