Friday, June 1, 2012

Configuring Static IP on Linux

Steps based on Fedora 15.

vim /etc/sysconfig/network-scripts/ifcfg-<interface name>

DEVICE=<device name>
IPADDR=192.168.1.10
NETMASK=255.255.255.0
BOOTPROTO=static
ONBOOT=yes
BROADCAST=192.168.1.255
NETWORK=192.168.1.0

No comments:

Post a Comment