CentOS Networking FAQ

How to set static ip..? [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=192.168.1.13 NETMASK=255.255.255.0 TYPE=Ethernet [root@localhost ~]# Edit your...

comments

How to set the static ip address in ubuntu..?

edit your /etc/network/interfaces file to auto eth0 iface eth0 inet static address 192.168.0.50 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 after that rebooting your network by excecuting the below...

comments