VLAN on Fritz

cybermaus

Neuer User
Mitglied seit
5 Mai 2008
Beiträge
104
Punkte für Reaktionen
2
Punkte
18
Hi all

I have a collection of OpenWRT based devices, and since recently also a Fritz 7270. And I have a small question about the latter. Since it is already such a nice open linux box with many items installed, I hoped to keep it resonably vannilla. I already managed to install and use Asterisk on it (on USB with root on USB), but in fact, I have taken it off and did a factory reset. Asterisk is running on a dedicated separate OpenWRT and it sits fine there.

But I would like to split the internal ethernet switch. So currently it is only one interface eth0 (and a virtual one eth0:1 for the 169 fallback address) But I would like to split of one of the 4 ports to be separate. (In essense, I would like one port to be bridged to dsl, the other normal eth. I *think* I know how to do the bridge in ar7)

In OpenWRT, VLAN is quite easy, and I am sure it should be possible on the Fritz in essence, as VLAN tagging is almost default on the linux kernel and most switch chipsets. But it does need to have support compiled in.

Does any one know if VLAN tagging is possible on Fritz, and if so, how?

Many thanks

(PS: sorry for the English. I can somewhat read German, but I would not like to try and write it, and completely mess all spelling up)
 
Hi cybermaus,

try "cpmaccfg" to seperate your ethernet ports into individuell ethernet devices. Then you can bridge and/or re-group the ports. The F!B's ethernet driver "cpmac" uses VLAN tagging internally, so it might not be possible to export the desired VLAN tags on LAN side. But I'm not really sure since the source code is complex and I haven't had enough time to fully study it...
 
Thanks, yes, that does seem to be what I meant.

Unfortunately, this command seems to only be part of freetz, not normal fritz, and even more unfortunately, freetz does not run on 7270 (only 7170)

Anyone else has any ideas? I suppose we can not just move the binary, that would only work if fritz and freetz are using the exact same kernel versions.


Thanks
 
Hi cybermaus,

Freetz works fine on a FB 7270 and cpmaccfg is also available for this FritzBox! But afaik the option "replace kernel" doesn´t work on 7270 yet. So you are probably limited to the predefined configs and you can´t use "special". But I never tested...
 
You are probably right. I am sdure I saw 7270 as an excluded model somewhere, but cannot find it now, so it was probably an old mail.
And indeed the brctl and cpmaccfg work very well. I installed just the binaries, and they worked without problem on my 7270 kernel 2.6.19.2

Less nice is, though I successfully managed to split the switch, and can make bridges at will, I seem unable to indlude the DSL ports into my bridge while keeping the normal router function going. The "mode = dsldmode_both" simply does not seem to do anything, and the "mode = dsldmode_full_bridge" does not activate the normal router functions.

I was hoping of keeping the normal 7270 mdm+router active, and allow one port to be a direct bridge to the DSL modem. This way, I can get multiple IP addresses. (This is possible with my provider, who does not use pppoe or pppoa, but classic bridged DSL, the "Zugangsdaten werden nicht benötigt" option)

It works when I use a separate DSL modem, connected to a physical switch, and then 2 separate routers. But I was hoping of reducing the footprint a little. No luck.

Well, thanks for the help anyway.
 
Ich möchte gerne nur die verschiedene Ethernet ports in separaten VLANs haben.
Braucht dass nur das Kommando 'cpmaccfg split'?

Ich habe im Moment kein Fritzbox mehr für Experimenten.
Gibt es noch anderen Wiki's?
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.