[Berlin-wireless] AR7240/AR9330 Switch mit VLAN: interface hört nichts

Thomas Mellenthin thomas
So Jun 16 16:54:46 CEST 2013


Hi,

ich versuche gerade auf einem WR741ND einen der 4 LAN-Ports zu einem
separaten Interface zu machen.

LAN-Port 1 soll zu WAN2 werden. Die Interfaces eth0.1 und eth0.2 werden
angelegt, aber leider passiert dort nichts.
Der DHCP server am interface 'lan' empfängt nichts und an 'wan2' gibt es
auch keinen dhclient-traffic. In der Firewall-config ist wan2 in der
gruppe 'wan'.

Wenn ich die VLAN-Config entferne und eth0 wieder zum lan-Interface
macht, funktioniert diese Seite wie erwartet. Also etwa so:

config interface 'lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ifname 'eth0'
        option type 'bridge'


Habe ich irgend etwas übersehen? /etc/config/network sieht so aus
(bereinigt um wifi und loopback):

config interface 'lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ifname 'eth0.1'

config switch
        option name 'eth0'
        option reset '1'
        option enable '1'
        option enable_vlan '1'

config switch_vlan
        option device 'eth0'
        option vlan '1'
        option vid '1'
        option ports '0 2 3 4'

config switch_vlan
        option device 'eth0'
        option vlan '2'
        option vid '2'
        option ports '1'

config interface 'wan2'
        option proto 'dhcp'
        option ifname 'eth0.2'

config interface 'wan'
        option proto 'dhcp'
        option ifname 'eth1'



viele Grüße,

// melle

-- xmpp: melle at jabber.ccc.de passion: http://mellenthin.de F489 2C4F
E8C2 9A15 DBCB mission: http://freifunk-potsdam.de 127C 81B6 FDC3 7C1A
FF85 pubkey: http://mellenthin.de/key.txt





Mehr Informationen über die Mailingliste Berlin