又黎Wireless bridge networking

本帖最後由 saiaskia 於 2014-2-18 12:18 編輯

首先:
1. Asus N16 (original fw) ip:192.168.1.1 main
2. Buffalo WHR-G300N  (ddwrt/openwrt) ip:192.168.1.10 second


G300N 刷過openwrt/ddwrt,
行client mode去n16 ping gateway冇time out. 但係行wireless bridge一定有time out

g300n後面d device 拎dhcp全部一樣mac address
點解會咁 T______T

唔係好明你指乜.但試試wireless channel睇下.
或者睇下有冇著錯左另一部的dhcp,restart一次..

以前試過用呢類型的野,但長用好慢....

TOP

本帖最後由 saiaskia 於 2014-2-18 12:21 編輯

回復 2# zenchiu


試過轉channel都一樣

諗一個問題先, 點解行client mode ping出去冇事
所有野正常行到, 係client bridge mode ping gateway 有timeout出現(即係有d lag)
係咪同d packet flow有關係~
dhcp, lan setting果d完全正確

TOP

Does wireless client support bridging mode? I remember reading somewhere during the setup of bridging mode of VM in CentOS, saying the bridging mode won't work on wireless device as most wireless client doesn't support bridging.

TOP

回復 4# ronstudio


It does and confirmed. I believe it is not about centos or vm problem. Even i can make wireless bridging with my Windows 8. It's only about networking. But there is lots of limitation by using client mode...such as it can't recognize  the mac address of devices behind the wireless bridge.

BTW are you using centos as gateway? Which  software do you use?

TOP

I tried to setup a Linux box as router before, and even bought a I340-T4 for that. Just by installing a linux and re-compiling the kernel to support IP routing, the setup was pretty easy for basic routing.

Later I was lazy and worrying the security without the corresponding knowledge to expose my Linux box facing the internet directly, so buy a asus router instead

Just during the setup of VM like virtualbox or KVM, as I like to use those VM as being the server, so I have to change the default network config from NAT to bridging mode.

TOP

回復 6# ronstudio


  =.=insecure...

TOP

haha, it certainly was~ I didn't even know how to configure iptables at that time~

TOP

唔同牌子行bridge mode 好多時會有問题.
DHCP由asus router派?

TOP

g300n後面d device 拎dhcp全部一樣mac address
saiaskia 發表於 18-2-2014 09:37


我同你情況一樣,又係試到 Client Router 後面啲 devices 在 DHCP 顯示相同的 MAC address。

我懷疑 wireless client bridge 原理和 NAT 類似,不過唔係 IP 層面,而係 MAC 層面。

這種 wireless client bridge 的駁法,我發覺有啲 services 是不能跨越 client router,如 DLNA。其他 ping、上網則沒有問題。

我的設備如下:
1. Asus RT-AC56U (Merlin firmware v3.0.0.4_374.39_0)
2. Buffalo WHR-HP-G300-N (DD-WRT firmware r23320-fix)

Buffalo 行 client bridge 連接 Asus,Asus 負責 DHCP server。

TOP