How do I start, stop, or restart networking service under HP-UX, OpenBSD, AIX and other Unix like operating systems?
[continue reading…]
networking service
How do I disable the route 169.254.0.0 / 255.255.0.0 from CentOS or RHEL 6 Linux server?
[continue reading…]
How do I configure the Internet Protocol version 4 (IPv4) properties of a network connection with a static IP address for servers running Linux operating systems? How do I configure static IP address under Debian Linux or Redhat / RHEL / Fedora / Redhat Enterprise Linux server?
[continue reading…]
How do I start / stop or restart networking service under Suse Linux without rebooting the server?
[continue reading…]
[continue reading…]
[continue reading…]
Q. How do I setup up a default Gateway for all interfaces (eth0 and eth1) under CentOS Linux 5?
A.There are different ways to setup TCP/IP hosts so that you can reach to remote destinations. The simplest one is to setup default gateway by modifying the /etc/sysconfig/network
Setup a default Gateway
Open /etc/sysconfig/network file:
# vi /etc/sysconfig/network
Setup GATEWAY={Router-IP}, if router IP is 74.86.49.129, type:
GATEWAY=74.86.49.129
Save and close the file. Here is my complete file:
NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=wan.nixcraft.in
GATEWAY=74.86.49.129
You need to restart networking service:
# /etc/init.d/networking restart