顯示具有 bridge 標籤的文章。 顯示所有文章
顯示具有 bridge 標籤的文章。 顯示所有文章

2017年8月14日

bi-r1s bridge設定

使用電腦連接bpi-r1s,開啟http://192.168.100.1:8080
輸入帳密,再把點選[運作模式]/bridge。記得把dhcp server關掉。
這樣就可以取得上層所發的IP。至於如何回到設定呢?把網卡設成固定IP,在192.168.100.x的網段即可。網路接法不需要改變。


2017年4月14日

bridge

安裝套件
sudo apt-get install bridge-utils
sudo apt-get install uml-utilities
增加權限
sudo chmod 666 /dev/net/tun

編輯網路界面

在檔案裡面增加下列的字
auto br0
iface br0 inet dhcp
    bridge_ports eth0
auto eth0
iface eth0 inet manual
    up ifconfig $IFACE 0.0.0.0 up
    up ip link set $IFACE promisc on
    down ip link set $IFACE promisc off
    down ifconfig $IFACE down

重啟網路
sudo /etc/init.d/networking restart