2,187
edits
(Initial creation) |
(Added example config file) |
||
Line 9: | Line 9: | ||
# Restart server networking to apply | # Restart server networking to apply | ||
#* <code>/etc/init.d/network restart</code> | #* <code>/etc/init.d/network restart</code> | ||
'''Example <code>ifcfg-eth''x''</code> file...''' | |||
<pre> | |||
DEVICE=eth0 | |||
NM_CONTROLLED="yes | |||
ONBOOT=yes | |||
BOOTPROTO=static | |||
PEERDNS=no | |||
IPADDR=10.3.0.144 | |||
NETMASK=255.255.255.0 | |||
</pre> | |||
See [[Troubleshooting_(Ubuntu)#No_NIC|No NIC]] if you've changed the NIC (eg due to a VMware clone) | |||
[[Category:Linux]] |