【Debian Redhat network config】教程文章相关的互联网学习教程文章

Debian Redhat network config【代码】

For Debian Linux# dhcp auto eth0 iface eth0 inet dhcp# static auto eth0 iface eth0 inet static address 10.16.3.99 netmask 255.255.255.0 network 10.16.3.0 broadcast 10.16.3.255 gateway 10.16.3.1/etc/init.d/networking restartFor Redhat Linux临时修改网卡IP ifconfig eth0 172..16.0.5/16 up添加网关 route add default gw 172.16.0.111临时修改默认的DNS vim /etc/resolv.conf vim /etc/sysconfig/network-scrip...