Tema: Re: TP-LINK WR1034ND Openwrt ir gala
Autorius: Zygios
Data: 2011-03-01 12:01:58
Mano ect/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' 'eth0.2'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.1.254'
option 'netmask' '255.255.255.0'
config 'interface' 'wan'
option 'ifname' 'eth0.1'
option 'proto' 'dhcp'

config 'interface' 'vlan6'
option 'ifname' 'eth0.6'
option 'proto' 'dhcp'
option 'metric' '20'

config 'interface' 'vlan5'
option 'ifname' 'eth0.5'
option 'proto' 'dhcp'
option 'metric' '10'

config 'switch'
option 'name' 'rtl8366rb'
option 'reset' '1'
option 'enable_vlan' '1'

config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '6'
option 'ports' '0t 4 5t'

config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '5'
option 'ports' '0t 5t'

config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '1'
option 'ports' '0 5t'

config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '2'
option 'ports' '1 2 3 5t'

Prisegu dar paveiksliukus kaip atrodo Openwrt network langas ir kokius IP 
gaunu ir dar vienas kaip vietoje Motorolos i 4 porta pajungiu kompa.

"rycius" <rycius@ryci.us> wrote in message 
news:ikia8d$a5m$1@trimpas.omnitel.net...
> Tai reiskias tas portas i kuri kishi motorola bus ne tam vlan'e. Pradziai
> bent jau parodyk switcho konfig'a. (cat /etc/config/network)
>
> On Mon, 28 Feb 2011 20:44:29 +0200, Zygios wrote:
>
>> Svieki,
>> Gal kas yra pasileide TP-Link WR1034ND su openwrt gala. Skaitineju kelis
>> saitus, bet kazkaip nesiseka paleisti. Viska dariau kaip parasyta cia
>> http://rpc.one.pl/index.php/lista-artykulow/34-openwrt/81-konfiguracja-
> switch-vlan-na-podstawie-swconfig-w-routerze-wr1043nd-pod-openwrt
>> paskutinis pavyzdys, bet prie 4 porto pajungus motorola galos nerodo,
>> bandau prijungti PC su automatiniu IP, bet tikrai negaunu IP
>> 10.xx.xx.xx, prasideda lygtais 192.xxx.xx.xx.
>