Hi,
I'm running an archer c7 v2 behind a router. I disabled stuff on the archer (wan, wan6, nat/firewall, dnsmasq, ipv6-prefix, vlan2), added switch ports 1 and 6 to vlan1, and set a static address for the br-lan. It seems to work well, but I would like confirmation or clarification on some things.
First, does that setup sound sane? I've been trying to find information on such a configuration. The openwrt "dumb AP" article seems close, but doesn't quite match the archer setup.
Using swconfig, I can map switch port 1 to 5 to the physical RJ-45 jacks. Are the other two ports the two wireless radios?
Based on the last question, what are the original two vlans for? One radio plus the lan ports for vlan1? The other radio and the wan port for vlan2?
I think eth1 is the switch. What is eth0?
bridge name bridge id STP enabled interfaces
br-lan 7fff.e894f690xxxx no eth1
wlan0
wlan1
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
config interface 'lan'
option ifname 'eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '10.1.1.2'
option netmask '255.255.255.0'
option gateway '10.1.1.1'
option dns '10.1.1.1'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
# option ports '0 2 3 4 5'
option ports '0 1 2 3 4 5 6'
#config switch_vlan
# option device 'switch0'
# option vlan '2'
# option ports '1 6'
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether e8:94:f6:90:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP group default qlen 1000
link/ether e8:94:f6:90:xx:xx brd ff:ff:ff:ff:ff:ff
4: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
link/ether 16:1b:5f:0e:xx:xx brd ff:ff:ff:ff:ff:ff
5: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
link/ether 42:14:2c:33:xx:xx brd ff:ff:ff:ff:ff:ff
14: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether e8:94:f6:90:xx:xx brd ff:ff:ff:ff:ff:ff
inet 10.1.1.2/24 brd 10.1.1.255 scope global br-lan
valid_lft forever preferred_lft forever
inet6 fe80::ea94:f6ff:fe90:xxxx/64 scope link
valid_lft forever preferred_lft forever
15: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP group default qlen 1000
link/ether 00:03:07:12:xx:xx brd ff:ff:ff:ff:ff:ff
inet6 fe80::203:7ff:fe12:xxxx/64 scope link
valid_lft forever preferred_lft forever
16: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP group default qlen 1000
link/ether e8:94:f6:90:xx:xx brd ff:ff:ff:ff:ff:ff
inet6 fe80::ea94:f6ff:fe90:xxxx/64 scope link
valid_lft forever preferred_lft forever