Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#5013 closed defect (fixed)

LuCI doesn't like vlans

Reported by: Daniel Dickinson <cshore@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

With VLANs enabled (at least on a 63xx-based board), LuCI times out after pressing any action that should result in saving of configuration actions to happen. That is Save, Save & Apply, and Add Entry type actions on network change pages (at least) result in the browser reporting that the website is not responding (timeout).

Attachments (9)

vlan-luci.txt (13.2 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
working http with vlan, on computer (i.e. not router)
luci-vlan0.txt (8.0 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
working http with vlan, on eth1.0 (vlan0)
luci-eth1.txt (8.0 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
working http with vlan, on eth1 (switch ether port when no vlans)
vlan-luci-non.txt (20.4 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
failing POST (Save) in LuCI; computer
luci-non-vlan0.txt (7.4 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
failing POST (Save) in LuCI; vlan0 (eth1.0)
luci-non-eth1.txt (7.4 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
failing POST (Save) in LuCI; eth1 (switch ether)
vlan-opkg.txt (10.4 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
Failing opkg update; computer
opkg-vlan0.txt (2.0 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
Failing opkg update; vlan0 (eth1.0)
opkg-eth1.txt (2.2 KB) - added by Daniel Dickinson <cshore@…> 9 years ago.
Failing opkg update; eth1 (switch ether)

Download all attachments as: .zip

Change History (16)

comment:1 Changed 9 years ago by marca56@…

Not a bug... I'll send an email explaining.

marc.

comment:2 Changed 9 years ago by Daniel Dickinson <cshore@…>

the GW6000 doesn't support programming the switch however my Comtrend board does, so this is in fact a bug. It turns out that it's nothing to do with LuCI. The problem is that some packets aren't making to through the switch.

SSH seems to work fine, but httpd POST to the router (e.g. Save or Save & Apply in LuCI) shows packets leaving my host, but the micro-httpd on the router never receives them (unfortunately I wasn't able to packet trace on the router because of the next problem) nor do replies to http requests from the router to my host (e.g. for opkg update).

tcpdump on the host shows

13:01:20.962883 arp who-has 192.168.2.1 tell brennin.fionavar.dd
13:01:20.963145 arp reply 192.168.2.1 is-at 00:30:da:47:bd:b6 (oui Unknown)
13:01:40.530938 IP (tos 0x0, ttl 64, id 61061, offset 0, flags [DF], proto TCP (6), length 1500) brennin.fionavar.dd.http-alt > 192.168.2.1.57540: . 1:1461(1460) ack 116 win 92

...

Ok, it looks like POSTing (e.g. here in Trac) fails on the WAN from the host through the router (on a vlan'ed port) as well.

comment:3 Changed 9 years ago by Daniel Dickinson <cshore@…>

For the tcpdump logs I am attaching

/etc/network/config

config 'interface' 'loopback'
	option 'ifname' 'lo'
	option 'proto' 'static'
	option 'ipaddr' '127.0.0.1'
	option 'netmask' '255.0.0.0'

config 'interface' 'lan'
	option 'ifname' 'eth1.0'
	option 'proto' 'static'
	option 'ipaddr' '192.168.2.1'
	option 'netmask' '255.255.255.0'
	option 'defaultroute' '0'
	option 'peerdns' '0'
	option 'macaddr' '00:30:da:47:bd:b6'
	option 'nat' '1'

config 'interface' 'bench'
	option 'ifname' 'eth1.1'
	option 'proto' 'static'
	option 'ipaddr' '192.168.3.1'
	option 'netmask' '255.255.255.0'
	option 'defaultroute' '0'
	option 'peerdns' '0'
	option 'macaddr' '00:30:da:47:bd:b7'
	option 'nat' '1'
	
config 'interface' 'wan'
	option 'ifname' 'eth2'
	option 'proto' 'pppoe'
	option 'username' 'username'
        option 'password' 'password'
	option 'defaultroute' '1'
	option 'peerdns' '1'
	option 'mtu' '1412'
	option 'pppd_options' 'persist'

config 'route'
	option 'interface' 'lan'
	option 'target' '192.168.5.0'
	option 'netmask' '255.255.255.0'
	option 'gateway' '192.168.2.2'

config 'switch' 'eth1'
        option 'vlan0' '0 1 2 5*'
        option 'vlan1' '3 5t'

ifconfig -a reports:

eth0      Link encap:Ethernet  HWaddr 00:30:DA:47:BD:B4  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 

eth1      Link encap:Ethernet  HWaddr 00:30:DA:47:BD:B5  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2910 (2.8 KiB)  TX bytes:6108 (5.9 KiB)
          Interrupt:15 

eth1.0    Link encap:Ethernet  HWaddr 00:30:DA:47:BD:B6  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2490 (2.4 KiB)  TX bytes:6108 (5.9 KiB)

eth1.1    Link encap:Ethernet  HWaddr 00:30:DA:47:BD:B7  
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth2      Link encap:Ethernet  HWaddr 00:60:0F:53:EB:B8  
          UP BROADCAST RUNNING MULTICAST  MTU:1412  Metric:1
          RX packets:122 errors:78 dropped:0 overruns:0 frame:78
          TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6637 (6.4 KiB)  TX bytes:9765 (9.5 KiB)

imq0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1965 (1.9 KiB)  TX bytes:1965 (1.9 KiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:216.183.151.73  P-t-P:216.183.151.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1412  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1289 (1.2 KiB)  TX bytes:537 (537.0 B)

Changed 9 years ago by Daniel Dickinson <cshore@…>

working http with vlan, on computer (i.e. not router)

Changed 9 years ago by Daniel Dickinson <cshore@…>

working http with vlan, on eth1.0 (vlan0)

Changed 9 years ago by Daniel Dickinson <cshore@…>

working http with vlan, on eth1 (switch ether port when no vlans)

Changed 9 years ago by Daniel Dickinson <cshore@…>

failing POST (Save) in LuCI; computer

Changed 9 years ago by Daniel Dickinson <cshore@…>

failing POST (Save) in LuCI; vlan0 (eth1.0)

Changed 9 years ago by Daniel Dickinson <cshore@…>

failing POST (Save) in LuCI; eth1 (switch ether)

Changed 9 years ago by Daniel Dickinson <cshore@…>

Failing opkg update; computer

Changed 9 years ago by Daniel Dickinson <cshore@…>

Failing opkg update; vlan0 (eth1.0)

Changed 9 years ago by Daniel Dickinson <cshore@…>

Failing opkg update; eth1 (switch ether)

comment:4 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed with [16302].

comment:5 Changed 9 years ago by Daniel Dickinson <crazycshore@…>

This bug should probably be renamed 'Problems with vlan on brcm63xx', or cloned and the opkg part open but the LuCI part closed (LuCI still doesn't work with vlan, but the problem has changed and is reported in another ticket).

opkg update still hangs with vlans active but works with no vlans.

comment:6 Changed 7 years ago by anonymous

do not kill Lucy she is a nice and famous elephant

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.