SoC开发板设置网口IP为固定IP

Posted xiaomeige

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SoC开发板设置网口IP为固定IP相关的知识,希望对你有一定的参考价值。

 vi /etc/network/interfaces 编辑这个文件

 

     #iface eth0 inet dhcp  找到修改这个,前面加#

     iface eth0 inet static  改为静态分配ip

        address 192.168.35.225

        netmask 255.255.255.0

        gateway 192.168.35.254

     保持,然后reboot

以上是关于SoC开发板设置网口IP为固定IP的主要内容,如果未能解决你的问题,请参考以下文章