Hi everyone!

I need my switch port 1 be like a extension of wifi interface.

Right now all my switch ports are a bridge to the wan connection.

Its possible to make something like i'm asking?

Thanks

here is my network file

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fd19:d578:67b6::/48'

config interface 'lan'
option ifname 'eth1'
option force_link '1'
option type 'bridge'

config  interface 'wifi'
        option ifname 'eth1'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option ipaddr '13.0.0.1'
        option netmask '255.255.252.0'
        option ip6assign '60'

config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
        option peerdns '0'
        option dns '208.67.222.123 208.67.220.123'

config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'

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

config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0'

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 2 3 4 5 6'



-- 
Fábio Oliveira - Public Key
<http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x42AC3018C11E30BF>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to