Tomasz Orłowski schrieb: > Tomasz Chmielewski napisał(a): >> By default, all LAN ports are enabled. > > I had a different default settings after my first boot of your > system+kernel. > I had eth0 and eth0.1 configured, only LAN ports were working and > "robocfg show" gave this output > > asus-debian:~/robocfg# ./robocfg show > Switch: enabled > Port 0(W): DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00 > Port 1(4): 10HD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00 > Port 2(3): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00 > Port 3(2): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00 > Port 4(1): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00 > Port 5(C): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00 > VLANs: BCM5325/535x enabled mac_check mac_hash > vlan0: 1 2 3 4 5u > vlan1: 0 5u > > ...so robocfg returns good settings. vlan0 for LAN ports and vlan1 for > WAN. > But I think eth0 should be up but not configured because according to > this link... > http://wiki.openwrt.org/OpenWrtNVRAM#head-95280771dd53dfa34aa45b2bea4f20c06f366cb2 > ...it represents whole interface. > > So shouldn't I have: > eth0 up and not configured > eth0.0 up and configured representing WAN port > eth0.1 up and configured representing LAN port It depends on how you want to use it. If you don't need separate interfaces, don't configure VLANs, and enable a switch for all five interfaces (which would be eth0). If you want five separate interfaces, configure VLANs for five ports. -- Tomasz Chmielewski http://wpkg.org |