OpenWrt Forum Archive

Topic: Kamikaze on WRTSL54GS - networking

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi,

I've been successful in building Kamikaze from the trunk branch. After flashing, I'm able to connect to the linksys via telnet, but I can't seem to get WAN networking to function. Can anyone point me at applicable documentation? Should it be as simple as assigning an IP to the vlan/eth1?

thanks in advance,
ted

Did you check the Wiki page on the SL? The network architecture on the SL is different from G/GL units.  It has 3 interfaces, one each for WAN, LAN, and WLAN. So no VLAN trickery needed.

The wan interface is eth1. After configuring eth1, I can't ping to/from the linksys wan, but the linksys MAC does show up in the arp of my gateway. Should it be necessary to change the iptables configuration?

The gateway is 10.10.0.1.

The linksys eth1 has been assigned 10.10.0.117.

Pinging gateway -> linksys and linksys -> gateway causes endless arp request/reply pairs.

If I bring up br0:1 with a 10.10.0.x address, I'm able to ping in both directions.

Any hints would be greatly appreciated.

00:16:39.090039 arp who-has 10.10.0.1 tell 10.10.0.117
00:16:39.091525 arp reply 10.10.0.1 is-at 00:01:42:70:a4:51 (oui Unknown)
00:16:40.090037 arp who-has 10.10.0.1 tell 10.10.0.117
00:16:40.091511 arp reply 10.10.0.1 is-at 00:01:42:70:a4:51 (oui Unknown)
00:16:41.149770 arp who-has 10.10.0.1 tell 10.10.0.117
00:16:41.151202 arp reply 10.10.0.1 is-at 00:01:42:70:a4:51 (oui Unknown)
00:16:42.140037 arp who-has 10.10.0.1 tell 10.10.0.117
00:16:42.141580 arp reply 10.10.0.1 is-at 00:01:42:70:a4:51 (oui Unknown)
br0       Link encap:Ethernet  HWaddr 00:14:BF:E5:39:B2
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4430 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2547 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:272867 (266.4 KiB)  TX bytes:362939 (354.4 KiB)

eth0      Link encap:Ethernet  HWaddr 00:14:BF:E5:39:B2
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:3712 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2622 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:317393 (309.9 KiB)  TX bytes:413767 (404.0 KiB)
          Interrupt:4

eth1      Link encap:Ethernet  HWaddr 00:90:4C:60:00:2B
          inet addr:10.10.0.117  Bcast:10.10.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:707 errors:0 dropped:0 overruns:0 frame:0
          TX packets:873 errors:0 dropped:0 overruns:0 carrier:865
          collisions:0 txqueuelen:1000
          RX bytes:48944 (47.7 KiB)  TX bytes:72926 (71.2 KiB)
          Interrupt:5

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:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7206 (7.0 KiB)  TX bytes:7206 (7.0 KiB)

vlan0     Link encap:Ethernet  HWaddr 00:14:BF:E5:39:B2
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:3726 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2592 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:251697 (245.7 KiB)  TX bytes:379421 (370.5 KiB)

vlan1     Link encap:Ethernet  HWaddr 00:14:BF:E5:39:B2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:24948 (24.3 KiB)
bridge name     bridge id               STP enabled     interfaces
br0             8000.0014bfe539b2       no              vlan0
                                                        eth1

Vincent,

Did you have to make any edits to S05netconfig or /etc/config/network?

thanks,
ted

Dude, I have not loaded Kamikaze on my SL unit.  I was just tossing out what I knew about the design. I admire your determination in trying out Kamikaze, but I'm on the sidelines at the moment too busy with work and all.

I have it working (wan, lan, masq) using the following interface configuration. Removing the bridge seems to be essential. eth1 is the wan, vlan0:1 is the lan.

eth0      Link encap:Ethernet  HWaddr 00:14:BF:E5:39:B2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12455 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2013 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:964931 (942.3 KiB)  TX bytes:240523 (234.8 KiB)
          Interrupt:4

eth1      Link encap:Ethernet  HWaddr 00:90:4C:60:00:2B
          inet addr:10.10.0.119  Bcast:10.10.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:8696 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16562 errors:0 dropped:0 overruns:0 carrier:16390
          collisions:0 txqueuelen:1000
          RX bytes:843759 (823.9 KiB)  TX bytes:2975878 (2.8 MiB)
          Interrupt:5

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:414 errors:0 dropped:0 overruns:0 frame:0
          TX packets:414 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:54368 (53.0 KiB)  TX bytes:54368 (53.0 KiB)

vlan0     Link encap:Ethernet  HWaddr 00:14:BF:E5:39:B2
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:12456 errors:0 dropped:0 overruns:0 frame:0
          TX packets:634 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:740791 (723.4 KiB)  TX bytes:119063 (116.2 KiB)

vlan0:1   Link encap:Ethernet  HWaddr 00:14:BF:E5:39:B2
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1

Could you please post your /etc/config/network and /etc/config/wireless files please?

Thanks,

--Yan

The discussion might have continued from here.