Please let me know how to set the IP address for the device connected to LAN0-3.
LAN0-3 are bridged to Interface br0 by default.
With the following commands, you can check the initially set values.
admin@amnimo:~$ amsh ← Transit to amsh mode.
amnimo$ enable ← Transit to administrator mode.
amnimo# configure ← Transit to configuration mode.
amnimo(cfg)# show config interface br0 ← Display the settings of br0.
# ---- interface br0 configure ----
There are 2 ways to assign an IP address to each device connected to LAN0-3.
If you set br0 as a DHCP server, an IP address will be automatically assigned to devices connected to LAN0-3. *Devices connected to LAN0-3 need to function as DHCP clients.
For the procedure for setting br0 as a DHCP server, refer to "Setting the DHCP Server".
amnimo(cfg)# show config dhcp
# ---- dhcp br0 configure ----
dynamic 192.168.0.1 192.168.0.4
leasetime 60 86400
Setting a fixed IP address for each device
For devices connected to LAN0-3, set a fixed IP address on the network where br0 is located.
In the example above, the network for br0 is 192.168.0.0/24. Therefore, it is necessary to set an IP address of 192.168.0.X for devices connected to LAN0-3.
Please sign in to leave a comment.