zhengzkkai / x-wrt

Automatically exported from code.google.com/p/x-wrt
0 stars 0 forks source link

webif does not cope with VLAN setup #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>What steps will reproduce the problem?

1. Configure VLANs (in webif) as per:
vlan0 ports: 0 5*  network: lan
vlan1 ports: 1 5*  network: lan
vlan2 ports: 2 5*  network: lan
vlan3 ports: 3 5*  network: lan
vlan4 ports: 4 5*  network: lan

This is to have the same subnet on all ports, but being able to use
iptables to filter on a per port basis.

>What is the expected output?

[result.png, but all "None" replaced with "lan"]

>What do you see instead?

[result.png]
That is, only one VLAN is assigned to the "lan" bridge.

>What version of the product are you using? On what operating system and
web browser?

8.09.rc1 on a wrt54gl v1.1, runs Linux 2.6.25.17 according to webif.

>Please provide any additional info below.

Manually editing /etc/config/network and doing the changes, namely,

config 'interface' 'lan'
        option 'ifname' 'br-lan eth0.0 eth0.1 eth0.2 eth0.3 eth0.4'

produces the desired setup. It is therefore my belief that webif
incorrectly turns all but one interface to the network "None".

Original issue reported on code.google.com by jeng...@inai.de on 24 Dec 2008 at 12:46

Attachments:

GoogleCodeExporter commented 9 years ago
The page has not been checked on the 2.6 kernel yet.

Original comment by kemen04@gmail.com on 28 Dec 2008 at 3:47

GoogleCodeExporter commented 9 years ago
fixed in r4662.

Original comment by kemen04@gmail.com on 16 Jan 2009 at 10:56