Hey there,
I am using an ASUS Lyra (MAP-AC2200) which only has two ethernet ports. They are not colored or have any specific label indicating which port is lan or wan.
OpenWRT assigns the eth1 port ( the port next to the power cable input ) to lan and the other port eht0 to wan.
Regarding to the Lyra (MAP-AC2200) Openwrt Wiki setup page ( https://openwrt.org/toh/asus/lyra_map-ac2200 ):
It has one 1G LAN port and one 1G WAN port, with six internal antennas.
I want to know if I can use that WAN port as LAN port and what is the proper way on how to configure that?
My thought were to
- simply put eth0 to the LAN zone or
- bridge eth0 and eth1 and removing the whole wan section in
/etc/config/network
- For example:
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
list ports 'eth0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
# option ip6assign '60'
#config interface 'wan'
# option device 'eth0'
# option proto 'dhcp'
#config interface 'wan6'
# option device 'eth0'
# option proto 'dhcpv6'