A quanto ricordo configurando il mio, nella configurazione base su openwrt sono implementate le VLAN per separare la porta wan da quelle LAN. Forse c'è qualche configurazione hardware delle VLAN che va on conflitto.
Inviato da Nexus 7 Il giorno 16/gen/2013 11:57, "Luca Postregna" <luca.postre...@gmail.com> ha scritto: > In questi giorni sto sbattendo la testa per la configurazione del mio > router domestico tplink wr1043nd. > Questo router deve gestire la mia connessione verso internet (pppoe), > oltre che fare da gw_server nella mesh, collegato a sua volta ad una > nanostation. > > Sto avendo seri problemi nella configurazione dello switch integrato, > unico lato wan e lan/mesh. > > La configurazione che desidero raggiungere prevede eth0.1 (porte 123) lato > lan, eth0.2 (wan/pppoe) ed eth0.3 (porta 4) per la mesh. > > L'unica configurazione che attualmente mi permette di configurare la > pppoe, e mettere il tplink nella mesh è quella di buttare tutta la eth0 > nella bat0 e disabilitare l'opzione enable_vlan nello switch. > > Ho provato svariate configurazioni, come mettere tutto il bridge br-lan > (con dentro bat0 e eth0.1) dentro la bat0, anche allo stesso modo sulla > nanostation, ma l'unico risultato che ottenevo è quello di rendere i device > irraggiungibili su qualsiasi interfaccia, se a loro volta erano connessi in > ethernet. > > La stessa configurazione però non mi permette più di accedere via ethernet > al tplink con i normali client della lan sulle porte della eth0.1. > > Qualcuno mi da una mano? > > Di seguito qualche informazione sulle configurazioni direttamente dal > tplink: > > > > root@kozlic:~# ip a s > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state > UP qlen 1000 > link/ether f8:d1:11:4b:2e:50 brd ff:ff:ff:ff:ff:ff > inet6 fe80::fad1:11ff:fe4b:2e50/64 scope link > valid_lft forever preferred_lft forever > 4: sit0: <NOARP> mtu 1480 qdisc noop state DOWN > link/sit 0.0.0.0 brd 0.0.0.0 > 5: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan > state UP qlen 32 > link/ether f8:d1:11:4b:2e:50 brd ff:ff:ff:ff:ff:ff > 6: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state > UP > link/ether f8:d1:11:4b:2e:50 brd ff:ff:ff:ff:ff:ff > inet 192.168.0.1/24 brd 192.168.0.255 scope global br-lan > inet6 2001:470:1f09:79e::1/64 scope global > valid_lft forever preferred_lft forever > inet6 fe80::fad1:11ff:fe4b:2e50/64 scope link > valid_lft forever preferred_lft forever > 7: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue > master br-lan state UP > link/ether f8:d1:11:4b:2e:50 brd ff:ff:ff:ff:ff:ff > 8: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue > state UP > link/ether f8:d1:11:4b:2e:50 brd ff:ff:ff:ff:ff:ff > inet6 fe80::fad1:11ff:fe4b:2e50/64 scope link > valid_lft forever preferred_lft forever > 9: pppoe-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc > pfifo_fast state UNKNOWN qlen 3 > link/ppp > inet 88.149.244.68 peer 81.174.0.21/32 scope global pppoe-wan > 10: bat0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master > br-lan state UNKNOWN > link/ether 22:4c:d4:99:c0:6a brd ff:ff:ff:ff:ff:ff > 11: 6in4-henet: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1472 qdisc noqueue > state UNKNOWN > link/sit 88.149.244.68 peer 216.66.80.26 > inet6 2001:470:1f08:79e::2/64 scope global > valid_lft forever preferred_lft forever > inet6 fe80::5895:f444/128 scope link > valid_lft forever preferred_lft forever > > > > > root@kozlic:~# batctl if > eth0: active > > > > root@kozlic:~# batctl o > [B.A.T.M.A.N. adv 2012.3.0, MainIF/MAC: eth0/f8:d1:11:4b:2e:50 (bat0)] > Originator last-seen (#/255) Nexthop [outgoingIF]: > Potential nexthops ... > dc:9f:db:0b:af:2e 0.510s (198) dc:9f:db:0b:af:b9 [ eth0]: > dc:9f:db:0b:af:b9 (198) > 90:f6:52:f2:8c:2a 0.510s (178) dc:9f:db:0b:af:b9 [ eth0]: > dc:9f:db:0b:af:b9 (178) > dc:9f:db:0b:af:b9 0.470s (254) dc:9f:db:0b:af:b9 [ eth0]: > dc:9f:db:0b:af:b9 (254) > > > > > > root@kozlic:~# cat /etc/config/network > > 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 'bat0 eth0.1' > option type 'bridge' > option proto 'static' > option ipaddr '192.168.0.1' > option ip6addr '2001:470:1f09:79e::1/64' > option netmask '255.255.255.0' > > config interface 'wan' > option ifname 'eth0.2' > option proto 'pppoe' > option username 'XXX' > option password 'YYY' > > config interface 'henet' > option proto '6in4' > option peeraddr '216.66.80.26' > option ip6addr '2001:470:1f08:79e::2/64' > option tunnelid '190038' > option username '9189d3307308cd85f9d908fb23935a94' > option password 'XXX' > > config interface 'mesh' > option ifname 'eth0' > option proto 'none' > > config switch > option name 'rtl8366rb' > option reset '1' > option enable_vlan '0' > > config switch_vlan > option device 'rtl8366rb' > option vlan '1' > option ports '1 2 3 4 5t' > > config switch_vlan > option device 'rtl8366rb' > option vlan '2' > option ports '0 5t' > > > > > root@kozlic:~# cat /etc/config/wireless > config wifi-device radio0 > option type mac80211 > option channel 11 > option macaddr f8:d1:11:4b:2e:50 > option hwmode 11ng > option htmode HT20 > list ht_capab SHORT-GI-40 > list ht_capab DSSS_CCK-40 > > config wifi-iface > option device radio0 > option network lan > option mode ap > option ifname ap0 > option ssid www.iulii.net-ap > option encryption none > #config wifi-iface > # option device radio0 > # option network mesh > # option mode adhoc > # option ifname adhoc0 > # option bssid '02:aa:bb:cc:dd:ee' > # option ssid www.iulii.net-mesh > # option encryption none > # option disabled 1 > root@kozlic:~# cat /etc/config/batman-adv > config 'mesh' 'bat0' > option 'interfaces' 'mesh' > option 'gw_mode' 'server' > option 'vis_mode' 'server' > > > > > > > > -- > luca.postregna.name > twitter.com/lucapost > > _______________________________________________ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > >
_______________________________________________ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless