歡迎您光臨本站 註冊首頁

配置透明網關

←手機掃碼閱讀     火星人 @ 2014-03-29 , reply:0

系統:Debian/Linux 4.0

1、安裝bridge-utils
apt-get install bridge-utils

2、添加網橋
brctl addbr br_name

3、添加網卡
ifconfig eth0 0.0.0.0 promisc
ifconfig eth1 0.0.0.0 promisc
brctl addif br_name eth0
brctl addif br_name eth1

4、為網橋設置IP
ifconfig br_name *.*.*.8 netmask 255.255.240

[火星人 ] 配置透明網關已經有83次圍觀

http://coctec.com/docs/linux/show-post-200509.html