Bridge與iptables - Linux

Table of Contents

※ 引述《cancerjung (非誠勿擾)》之銘言:
: 小弟最近在做一個模擬,目的是架設一個Bridge當作Switch使用。
: 如下方示意圖:
: ( LAN ) <----> ( Linux bridge ) <----> ( Gateway ) <----> ( Internet )
: eth0 eth1
: 我用VMware架了一個Ubuntu,並且分配兩張網卡(eth0、eth1)給Ubuntu。
: 但架設Ubuntu的主機與LAN裡的其他主機接在同一台Switch上,
: 造成我的Bridge接收不到LAN內其他主機傳送的封包。
: 想請問板上大大,能夠用iptable解決這個問題嗎?
: 可以的話,又該如何設定呢?

用這篇來個照樣造句吧

http://kadok0520.pixnet.net/blog/post/25498831

應該可以幫到你的忙


--

All Comments

Cara avatarCara2009-12-15
原來不需要用到iptables,等等先試一下,感謝=]
Oscar avatarOscar2009-12-20
you must use NAT of iptables