/etc/sysconfig/network-scripts/ifcfg-eth1
# Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:1A:4B:E1:31:F0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
IPADDR=222.111.143.208
NETMASK=255.255.255.0
GATEWAY=222.182.143.1
[root@localhost ~]#
##Ubuntu
sudo vi /ect/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 210.129.123.138
netmask 255.255.255.0
gateway 210.129.123.1
dns-nameservers 168.126.63.1 168.126.63.2
# network 210.129.123.0
# broadcast 210.129.123.255
sudo /etc/init.d/networking restart