root@eclair:/nfs# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.241.130
netmask 255.255.255.0
gateway 192.168.241.2
allow-hotplug usb0
auto usb0
iface usb0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
root@eclair:/nfs#
usb0网卡hotplug 配置
最新推荐文章于 2024-08-28 08:39:35 发布
本文展示了如何在Linux系统中通过编辑/etc/network/interfaces文件来配置网络接口。文中提供了具体的配置实例,包括设置静态IP地址、子网掩码、默认网关及USB网络接口的配置。
7509

被折叠的 条评论
为什么被折叠?



