看板 LinuxDev 關於我們 聯絡資訊
我想要在我的機器上假冒出一個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
Whitianga:聽起來有點像是teaming的技術 03/07 21:59
motics:bridge起來,另外限制eth0<->eth1之間的packets... 03/07 22:31
Knudsen:Thanks! 我選擇用teaming/bonding方式做了 03/08 15:33
Knudsen:因為bridge會有spaning tree, 還是謝謝大家了 03/08 15:33
Knudsen:我參考Document/networking/bonding做了, 可以work! THX! 03/08 15:34