我正在尝试使用 ifconfig 在嵌入式 linux 上配置网络接口:
ifconfig eth0 192.168.0.101 netmask 255.255.255.0
但我不知道如何将默认网关添加为 ifconfig 参数,
有任何想法吗?
linux networking gateway ifconfig
gateway ×1
ifconfig ×1
linux ×1
networking ×1