Ticket #999 (closed bug: fixed)

Opened 2 years ago

Last modified 9 months ago

Wired network stopped working

Reported by: Paolo Bonzini <bonzini@…> Owned by:
Priority: normal Milestone:
Component: fon-network Version: 2.3.6.1 (Gari jr.)
Severity: unknown
Cc: Hardware: 2.0n (FON2300)

Description

I have connected my computer to the Fonera 2.0n via LAN port 1. Since about yesterday 7pm CET the wired network doesn't work anymore. Wireless works.

I tried different cables and different ports. The green led for the port blinks on the Fonera. I'll try later with another computer where I have wireshark.

ifconfig output:

br-lan    Link encap:Ethernet  HWaddr 00:18:84:89:86:A0  
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26892 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28170 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2380404 (2.2 MiB)  TX bytes:16453796 (15.6 MiB)

br-lan:1  Link encap:Ethernet  HWaddr 00:18:84:89:86:A0  
          inet addr:169.254.255.1  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr 00:18:84:89:86:A3  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38272 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37832 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:18179515 (17.3 MiB)  TX bytes:4047078 (3.8 MiB)
          Interrupt:3 

eth0.1    Link encap:Ethernet  HWaddr 00:18:84:89:86:A3  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:211166 (206.2 KiB)

eth0.2    Link encap:Ethernet  HWaddr 00:18:84:89:86:A3  
          inet addr:10.37.251.110  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38272 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36690 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:17643707 (16.8 MiB)  TX bytes:3743706 (3.5 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.255.255.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8400 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8400 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1291080 (1.2 MiB)  TX bytes:1291080 (1.2 MiB)

ra0       Link encap:Ethernet  HWaddr 00:18:84:89:86:A0  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30123 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:3559382 (3.3 MiB)  TX bytes:17766035 (16.9 MiB)
          Interrupt:4 

ra1       Link encap:Ethernet  HWaddr 00:18:84:89:86:A1  
          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:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:192.168.182.1  P-t-P:192.168.182.1  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:947 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:85985 (83.9 KiB)  TX bytes:305783 (298.6 KiB)

iptables -n -v -L

Chain INPUT (policy ACCEPT 3 packets, 680 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    3   156 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID 
49228 6081K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
  841 43732 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0           
  262 16768 syn_flood  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp flags:0x17/0x02 
 2034  268K input_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 2034  268K input      all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    8   593 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID 
  777 46892 TCPMSS     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp flags:0x06/0x02 TCPMSS clamp to PMTU 
20539   15M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
  981  115K forwarding_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  981  115K forward    all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain OUTPUT (policy ACCEPT 6 packets, 800 bytes)
 pkts bytes target     prot opt in     out     source               destination         
   14 14980 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID 
45834 5406K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
  841 43732 ACCEPT     all  --  *      lo      0.0.0.0/0            0.0.0.0/0           
 6021  499K output_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 6021  499K output     all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain block_public (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       tcp  --  tun0   *       0.0.0.0/0            192.168.182.1       tcp dpt:!3990 
    0     0 DROP       all  --  tun0   *       0.0.0.0/0            192.168.10.1        
    0     0 DROP       all  --  tun0   *       0.0.0.0/0            10.37.251.110       

Chain forward (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  964  114K zone_lan_forward  all  --  br-lan *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_vpn_forward  all  --  tun-ovpn *       0.0.0.0/0            0.0.0.0/0           
   17  1088 zone_hotspot_forward  all  --  tun0   *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_wan_forward  all  --  eth0.2 *       0.0.0.0/0            0.0.0.0/0           

Chain forwarding_hotspot (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain forwarding_hotspotwifi (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain forwarding_lan (2 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain forwarding_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  981  115K input_inter  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain forwarding_vpn (2 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain forwarding_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain forwarding_wannet (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain input (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 1508  180K zone_lan   all  --  br-lan *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_vpn   all  --  tun-ovpn *       0.0.0.0/0            0.0.0.0/0           
  317 47123 zone_hotspot  all  --  tun0   *       0.0.0.0/0            0.0.0.0/0           
  137 31474 zone_wan   all  --  eth0.2 *       0.0.0.0/0            0.0.0.0/0           

Chain input_daemon (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 zone_wan_ACCEPT  udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:1194 

Chain input_hotspot (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain input_hotspotwifi (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain input_inter (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  tun0   *       0.0.0.0/0            10.37.251.0/24      

Chain input_lan (2 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain input_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 2034  268K block_public  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 2034  268K input_daemon  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain input_vpn (2 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain input_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    2   128 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           icmp type 8 state NEW,RELATED,ESTABLISHED 

Chain input_wannet (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain output (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 6021  499K zone_lan_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 5575  416K zone_vpn_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 5575  416K zone_wannet_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 5575  416K zone_wan_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  214 40760 zone_hotspotwifi_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  214 40760 zone_hotspot_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain output_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain reject (9 references)
 pkts bytes target     prot opt in     out     source               destination         
    3   306 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with tcp-reset 
  201 40288 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable 

Chain syn_flood (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  262 16768 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp flags:0x17/0x02 limit: avg 25/sec burst 50 
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_hotspot (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  317 47123 input_hotspot  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  317 47123 zone_hotspot_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_hotspot_ACCEPT (2 references)
 pkts bytes target     prot opt in     out     source               destination         
  317 47123 ACCEPT     all  --  tun0   *       0.0.0.0/0            0.0.0.0/0           
  208 39960 ACCEPT     all  --  *      tun0    0.0.0.0/0            0.0.0.0/0           

Chain zone_hotspot_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  tun0   *       0.0.0.0/0            0.0.0.0/0           
    0     0 DROP       all  --  *      tun0    0.0.0.0/0            0.0.0.0/0           

Chain zone_hotspot_REJECT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 reject     all  --  tun0   *       0.0.0.0/0            0.0.0.0/0           
    0     0 reject     all  --  *      tun0    0.0.0.0/0            0.0.0.0/0           

Chain zone_hotspot_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination         
   17  1088 zone_wan_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 forwarding_hotspot  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_hotspot_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_hotspotwifi (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 input_hotspotwifi  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_hotspotwifi_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_hotspotwifi_ACCEPT (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain zone_hotspotwifi_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain zone_hotspotwifi_REJECT (3 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain zone_hotspotwifi_forward (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 forwarding_hotspotwifi  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_hotspotwifi_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_lan (1 references)
 pkts bytes target     prot opt in     out     source               destination         
 1508  180K input_lan  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 1508  180K input_lan  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
 1508  180K zone_lan_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_ACCEPT (2 references)
 pkts bytes target     prot opt in     out     source               destination         
 1508  180K ACCEPT     all  --  br-lan *       0.0.0.0/0            0.0.0.0/0           
  446 83556 ACCEPT     all  --  *      br-lan  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  br-lan *       0.0.0.0/0            0.0.0.0/0           
    0     0 DROP       all  --  *      br-lan  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_REJECT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 reject     all  --  br-lan *       0.0.0.0/0            0.0.0.0/0           
    0     0 reject     all  --  *      br-lan  0.0.0.0/0            0.0.0.0/0           

Chain zone_lan_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  964  114K zone_wan_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 forwarding_lan  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 forwarding_lan  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_lan_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_vpn (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 input_vpn  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 input_vpn  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_vpn_ACCEPT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_vpn_ACCEPT (2 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  tun-ovpn *       0.0.0.0/0            0.0.0.0/0           
    0     0 ACCEPT     all  --  *      tun-ovpn  0.0.0.0/0            0.0.0.0/0           

Chain zone_vpn_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  tun-ovpn *       0.0.0.0/0            0.0.0.0/0           
    0     0 DROP       all  --  *      tun-ovpn  0.0.0.0/0            0.0.0.0/0           

Chain zone_vpn_REJECT (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 reject     all  --  tun-ovpn *       0.0.0.0/0            0.0.0.0/0           
    0     0 reject     all  --  *      tun-ovpn  0.0.0.0/0            0.0.0.0/0           

Chain zone_vpn_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 forwarding_vpn  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 forwarding_vpn  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_vpn_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination         
  206 40722 input_wan  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
  204 40594 zone_wan_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_ACCEPT (4 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  eth0.2 *       0.0.0.0/0            0.0.0.0/0           
 6116  458K ACCEPT     all  --  *      eth0.2  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  eth0.2 *       0.0.0.0/0            0.0.0.0/0           
    0     0 DROP       all  --  *      eth0.2  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_REJECT (2 references)
 pkts bytes target     prot opt in     out     source               destination         
  135 31346 reject     all  --  eth0.2 *       0.0.0.0/0            0.0.0.0/0           
    0     0 reject     all  --  *      eth0.2  0.0.0.0/0            0.0.0.0/0           

Chain zone_wan_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 forwarding_wan  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_wan_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_wannet (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 input_wannet  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_wannet_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

Chain zone_wannet_ACCEPT (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain zone_wannet_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain zone_wannet_REJECT (3 references)
 pkts bytes target     prot opt in     out     source               destination         

Chain zone_wannet_forward (0 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 forwarding_wannet  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
    0     0 zone_wannet_REJECT  all  --  *      *       0.0.0.0/0            0.0.0.0/0           

brctl show

bridge name	bridge id		STP enabled	interfaces
br-lan		8000.0018848986a0	no		eth0.1
							ra0

/etc/config/firewall

config 'defaults'
	option 'syn_flood' '1'
	option 'input' 'ACCEPT'
	option 'output' 'ACCEPT'
	option 'forward' 'REJECT'

config 'zone'
	option 'name' 'wannet'
	option 'input' 'REJECT'
	option 'output' 'REJECT'
	option 'forward' 'REJECT'

config 'zone' 'lan'
	option 'name' 'lan'
	option 'input' 'ACCEPT'
	option 'output' 'ACCEPT'
	option 'forward' 'REJECT'

config 'zone'
	option 'name' 'wan'
	option 'input' 'REJECT'
	option 'output' 'ACCEPT'
	option 'forward' 'REJECT'
	option 'masq' '1'

config 'zone'
	option 'name' 'hotspotwifi'
	option 'input' 'REJECT'
	option 'output' 'REJECT'
	option 'forward' 'REJECT'

config 'zone'
	option 'name' 'hotspot'
	option 'input' 'ACCEPT'
	option 'output' 'ACCEPT'
	option 'forward' 'REJECT'

config 'forwarding'
	option 'src' 'lan'
	option 'dest' 'wan'

config 'forwarding'
	option 'src' 'hotspot'
	option 'dest' 'wan'

config 'include'
	option 'path' '/etc/firewall.fon'

config 'zone' 'vpn'
	option 'input' 'ACCEPT'
	option 'forward' 'REJECT'
	option 'name' 'vpn'
	option 'output' 'ACCEPT'

/etc/config/plugfons does not give any clue as to whether I have v1 or v2 of the hotfix.

Attachments

Change History

Changed 2 years ago by anonymous

Oops, I have v2 of the hotfix. And I hadn't installed it yet (it wasn't so hot :) when I reported the problem, so it is not related to the hotfix. Can you change the summary?

Changed 2 years ago by anonymous

I've now placed the cable on the modem (disabling the Fonera WAN input) and network works, so it is not a cable problem.

Changed 2 years ago by matthijs

  • status changed from new to infoneeded
  • component changed from fon-base-firmware to fon-network
  • summary changed from Wired network not working, probably related to installed hotfix to Wired network stopped working

All of the output you pasted looks ok, so I don't think it's a firewall problem (and since wifi and lan are properly bridged, it would be weird if wireless did work).

Is it just the LAN ports that don't work, or doesn't the WAN port work either?

Did you try a reboot? It's a bit of a lame solution, but perhaps it works?

If you want to do some dumping, you can also install the tcpdump package on your Fonera (you'll want to install  http://wiki.fon.com/wiki/Plugin_opkgfix to fix opkg and then run opkg install update and opkg install tcpdump.

Changed 2 years ago by matthijs

Uh, w00ps, that should be opkg update and opkg install tcpdump :-)

Changed 2 years ago by anonymous

Yes, the WAN port works (i.e. the wireless really works, including getting an address via DHCP from the modem and connecting to the Internet):

tcpdump output on the client computer:

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type EN10MB (Ethernet), capture size 96 bytes
15:43:25.515790 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:43:27.228988 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:43:27.233038 IP6 fe80::216:cbff:fe9b:1a69 > ff02::1:ff9b:1a69: HBH ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::1:ff9b:1a69, length 24
15:43:28.183255 IP6 :: > ff02::1:ff9b:1a69: ICMP6, neighbor solicitation, who has fe80::216:cbff:fe9b:1a69, length 24
...
15:44:30.889732 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:44:32.606436 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:44:34.357531 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:44:34.363168 IP6 fe80::216:cbff:fe9b:1a69 > ff02::2: ICMP6, router solicitation, length 16
15:44:36.866923 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:44:36.872833 IP6 fe80::216:cbff:fe9b:1a69 > ff02::2: ICMP6, router solicitation, length 16
15:44:38.599316 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
...
15:44:51.902087 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:44:53.560158 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300
15:44:55.201050 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 00:16:cb:9b:1a:69 (oui Unknown), length 300

However, the eth0 on the Fonera only sees the WAN output and a bunch of other packets all from the client computer's wireless interface on 192.168.10.137. Here I'm connecting to the Fonera via the wireless, and filtering the WAN packets on 10.37.251.x (they are a lot):

root@Fonera:~# tcpdump -i eth0|fgrep -v 10.37.251
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
14:45:23.737734 IP 192.168.10.137.5353 > 224.0.0.251.5353: 0*- [0q] 13/0/0 (Cache flush) SRV[|domain]
14:45:23.738044 IP6 fe80::217:f2ff:fe50:4100.5353 > ff02::fb.5353: 0*- [0q] 13/0/0[|domain]
14:45:32.125353 IP 192.168.10.137.5353 > 224.0.0.251.5353: 0 [1a] [12q] PTR (QM)? _airport._tcp.local. PTR (QM)? _daap._tcp.local.[|domain]
14:45:32.125953 IP6 fe80::217:f2ff:fe50:4100.5353 > ff02::fb.5353: 0 [1a] [12q][|domain]
14:46:02.228192 IP 192.168.10.137.63746 > 192.168.10.255.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
14:46:02.230590 IP 192.168.10.137.63747 > 192.168.10.255.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
14:46:02.323406 arp who-has registerlafonera.fon.com tell 192.168.10.137
14:46:02.499674 IP 192.168.10.137.63746 > 192.168.10.255.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
14:46:02.501698 IP 192.168.10.137.63747 > 192.168.10.255.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
14:46:02.771017 IP 192.168.10.137.63746 > 192.168.10.255.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
14:46:02.772570 IP 192.168.10.137.63747 > 192.168.10.255.137: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST

So the eth0 interface on the Fonera sees none of the traffic sent to it by the client (running MacOS X here, I can try Linux or Windows as well).

Changed 2 years ago by matthijs

Could you try dumping on the eth0.1 interface? That's the real LAN interface, eth0 is both LAN and WAN (due to the use of an embedded switch which uses VLANs to distinguish between the WAN and LAN ports). Note that this doesn't necessarily mean eth0 shows both LAN and WAN traffic, it's a bit complicated...

Changed 2 years ago by anonymous

I'll try tomorrow, in the meanwhile this seems already problematic:

eth0.1    Link encap:Ethernet  HWaddr 00:18:84:89:86:A3  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:211166 (206.2 KiB)

Notice "RX bytes: 0".

Changed 2 years ago by matthijs

Hmm, good point. That zero counter was also present in your first ifconfig paste. At least that indicates we should be looking at a fairly low level, not firewalling rules etc.

Could you paste the output of the "switch dump", "switch vlan dump" and "switch reg r 48" commands? That shows the state of the internal switch in the Fonera.

Changed 2 years ago by anonymous

Argh, read your comment too late: rebooting didn't do it, but power off/on fixed it. :) Even lamer, but now I see a more reassuring

eth0      Link encap:Ethernet  HWaddr 00:18:84:89:86:A3  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19069 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14377 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2784441 (2.6 MiB)  TX bytes:1653646 (1.5 MiB)
          Interrupt:3 

eth0.1    Link encap:Ethernet  HWaddr 00:18:84:89:86:A3  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2455 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1801 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:301213 (294.1 KiB)  TX bytes:472025 (460.9 KiB)

eth0.2    Link encap:Ethernet  HWaddr 00:18:84:89:86:A3  
          inet addr:10.37.251.110  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16614 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12576 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2216262 (2.1 MiB)  TX bytes:1146455 (1.0 MiB)

and everything works perfectly. If I ever see it again, I will make sure to run those commands. You can close it.

Changed 2 years ago by matthijs

  • status changed from infoneeded to closed
  • resolution set to fixed

Weird, perhaps you had some sort of power dip that put the switch into an undefined state. Anyway, if rebooting didn't help, I doubt those commands would have returned something out of the ordinary: The switch is reconfigured on every boot by some init script, so the problem was probably even lower than that.

Good to hear it's working again!

Add/Change #999 (Wired network stopped working)

Author


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


Action
as closed
 
Note: See TracTickets for help on using tickets.