初级会员

- 积分
- 100
- 金钱
- 100
- 注册时间
- 2012-10-30
- 在线时间
- 11 小时
|
1金钱
本帖最后由 jinyi7016 于 2023-5-5 16:33 编辑
- root@ATK-IMX6U:/etc/network# cat interfaces
- # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
- # The loopback interface
- auto lo
- iface lo inet loopback
- # Wired or wireless interfaces
- auto eth0
- #iface eth0 inet dhcp
- #iface eth1 inet dhcp
- iface eth0 inet static
- address 192.168.24.10
- netmask 255.255.0.0
- gateway 192.168.24.1
- inface eth1 inet static
- address 192.168.1.250
- netmask 255.255.0.0
- gateway 192.168.1.1
复制代码
如上设置后,无效
|
|