Hi all,
I tried to set up an alias for my lan but without success.
my /etc/config/network show
config interface loopback
...
...
config interface lan
option type bridge
option ifname eth0 eth1
option proto dhcp
config alias
option interface lan
option proto static
option ipaddr 192.168.1.30
option netmask 255.255.255.0
I undertood that alias can be configured only on real interfaces (eth, ath, wlan, etc etc) but in network configuration of openwrt wiki appear to be possible.
Another way to do this:
config interface loopback
...
...
config interface lan
option type bridge
option ifname eth0 eth1
option proto dhcp
config interface alias
option ifname br-lan:1
option proto static
option ipaddr 192.168.1.30
option netmask 255.255.255.0
but i think that is'n the openwrt right way.
Can anyone help me please?
Rgds
Filippo Sallemi