小编Abd*_*hri的帖子

如何设置默认网关

我正在尝试使用 ifconfig 在嵌入式 linux 上配置网络接口:

ifconfig eth0 192.168.0.101 netmask 255.255.255.0
Run Code Online (Sandbox Code Playgroud)

但我不知道如何将默认网关添加为 ifconfig 参数,

有任何想法吗?

linux networking gateway ifconfig

15
推荐指数
3
解决办法
19万
查看次数

标签 统计

gateway ×1

ifconfig ×1

linux ×1

networking ×1