Hi Bernd & Kamil!
Problem Solved! thanks for your time.
El 14/01/15 a las 21:56, Bernd Naumann escibió:
If you configure a second wan you have to modify your
/etc/config/firewall, or disable it, and do it by hand. But the
easiest way is to add your new interface to the lan or wan section of
the firewall config, and then restart it with /etc/init.d/firewall restart
At final i was testing conecting over Wifi, this is not part of any vlan
and always get connected.
Also you have to delete my empty macaddr entries; or give it some sane
values. My problem was that sometimes booth WAN interfaces came you
with the same macadd, or other: the LAN and the WAN2 had the same or
something like this, and then things got messy
Yes i delete this macaddr and try to generate another too.
El 15/01/15 a las 01:25, Kamil Jońca escibió:
My configuration was:
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 'eth1.1'
option type 'bridge'
option proto 'static'
option 'ipaddr' '192.168.200.218'
option 'netmask' '255.255.255.0'
config interface 'lan3'
option ifname 'eth1.3'
option proto 'dhcp'
option defaultroute '0'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan 'eth0'
option device 'switch0'
option vlan '2'
option ports '5 6'
config switch_vlan 'eth1'
option device 'switch0'
option vlan '1'
option ports '0t 1 2 3 '
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 3'
I'm a newbie at vlan world. It's true you're wright Kamil.
This config works for me, it's similar to Kamil i tag on port 6 and
Kamil on port 0
I think this is because Port0 is attached to LAN and Port6 to Wan port.
Please let me know if i'm wrong.
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 ''
config interface 'lan'
option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.10.1'
config interface 'fibertel'
option proto 'dhcp'
option ifname 'eth0.2'
config interface 'arnet'
option proto 'dhcp'
option _orig_ifname 'eth1'
option _orig_bridge 'false'
option ifname 'eth0.3'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0 1 2 3'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '5 6t'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '4 6t'
Best regards!
Emiliano.
--
Emiliano Vazquez | PcCentro Informatica & CCTV
Office: +54 (11) 4635-3218 y Rotativas
http://www.pccentro.com.ar
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users