Friday, 11 October 2013

Setup: Linux Static TCP/IP Settings



Setup: Linux Static TCP/IP Settings
You need to update and/or edit the network configuration files. This tutorial provides procedures to configure a static IP address on a computer running the following operating systems:
1.     RHEL / Red hat / Fedora / CentOS Linux eth0 config file - /etc/sysconfig/network-scripts/ifcfg-eth0
2.     RHEL / Red hat / Fedora / CentOS Linux eth1 config file - /etc/sysconfig/network-scripts/ifcfg-eth1
3.     Debian / Ubuntu Linux - /etc/network/interfaces
In this example you will use the following Internet Protocol Version 4 (TCP/IPv4) Properties including IP, default gateway, and preferred DNS servers:

§  IP address: 192.168.1.10
§  Netmask: 255.255.255.0
§  Hostname: server1.cyberciti.biz
§  Domain name: cyberciti.biz
§  Gateway IP: 192.168.1.254
§  DNS Server IP # 1: 192.168.1.254
§  DNS Server IP # 2: 8.8.8.8
§  DNS Server IP # 3: 202.54.2.5

No comments:

Post a Comment