<br><br><div class="gmail_quote">On Fri, Jun 3, 2011 at 6:42 AM, Juliusz Chroboczek <span dir="ltr"><<a href="mailto:jch@pps.jussieu.fr">jch@pps.jussieu.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> (the switch is bridged to the wireless interfaces, normally)<br>
<br>
</div>Are you sure about that? </blockquote><div><br>Pretty sure. The mac addr obtained for the bridge appears to be derived from the wireless chip. When I tried to break apart the wired and wireless devices completely in my testing last week, I was unable to get the wired interface to work at all without disabling the wireless, due to the lack of a distinct mac for it (or so I thought)<br>
<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">The usual configuration is to use a hardware<br>
switch between the wired ports, but bridge the wired and wireless ports<br>
in software. Can you post the output of brctl show?<br>
<br><br></blockquote><div> <br>This is from last nights cerowrt build...<br><br></div><div>root@cero1:~# brctl show<br>bridge name bridge id STP enabled interfaces<br>br-lan 8000.c43dc7a37679 no eth0.1<br>
wlan0<br> wlan3<br><br>And the mac addr for eth0 is the same as wlan0<br><br>root@cero1:~# ifconfig eth0<br>eth0 Link encap:Ethernet HWaddr C4:3D:C7:A3:76:79 <br>
inet6 addr: fe80::c63d:c7ff:fea3:7679/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:3420 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:16 <br> RX bytes:0 (0.0 B) TX bytes:460327 (449.5 KiB)<br> Interrupt:4 <br><br>root@cero1:~# ifconfig eth1<br>eth1 Link encap:Ethernet HWaddr C4:3D:C7:A3:76:7A <br>
inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0<br> inet6 addr: fe80::c63d:c7ff:fea3:767a/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:118658 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:62344 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:5 <br> RX bytes:153610689 (146.4 MiB) TX bytes:5861647 (5.5 MiB)<br> Interrupt:5 <br><br>root@cero1:~# ifconfig wlan0<br>
wlan0 Link encap:Ethernet HWaddr C4:3D:C7:A3:76:79 <br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:3413 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:4 <br> RX bytes:0 (0.0 B) TX bytes:506686 (494.8 KiB)<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
At any rate, you should be able to program the switch to put each port<br>
on a different vlan -- that's how the separation between LAN and WAN<br>
ports is usually implemented.<br></blockquote><div><br>Although an interesting idea, I wasn't planning to route, at this point, each individual wired port - just break apart the wired and wireless interfaces enough to look at and optimize their behavior better. <br>
</div><div><br>The external interface (to the internet) runs through the switch (on a dedicated port) and has it's own phy, so far as I can tell. <br><br>The internal (to-the-switch) interface is just borrowing the wireless mac, so far as I can tell, at present. That's basically all the wifi setup script does.<br>
<br>There's a wiring diagram that more or less explains these oddities on pages 16 and 17 of:<br><br>rtl8366_8369_datasheet_1-1.pdf<br><br>which appears to be the most comprehensive document on this chipset series. There is a mildly better diagram on the 1.4 data sheet specific to the 8366S. <br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="#888888">
-- Juliusz<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Dave Täht<br>SKYPE: davetaht<br>US Tel: 1-239-829-5608<br><a href="http://the-edge.blogspot.com" target="_blank">http://the-edge.blogspot.com</a> <br>