set IP address manually in Synology NAS via command

1. “vi /etc/sysconfig/network-scripts/ifcfg-eth0”
With an example config below:
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=<ip address>
NETMASK=<netmask eg.255.255.240.0>
2. After modifying IPADDR and NETMASK information, use the next command for changes to take effect.
“/etc/rc.network restart”

Tags:

3 responses to “set IP address manually in Synology NAS via command”

  1. Ric says :

    “pattern not found” anyone else getting this problem?

  2. shampo ketombe says :

    Nice post. I learn something totally new and challenging on websites I stumbleupon on a
    daily basis. It will always be interesting to read articles from other writers and practice something
    from other websites.

Leave a comment