≡ Menu

networking service

How do I start, stop, or restart networking service under HP-UX, OpenBSD, AIX and other Unix like operating systems?
[click to continue…]

How do I disable the route / from CentOS or RHEL 6 Linux server?
[click to continue…]

Linux Static IP Address Configuration

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?
[click to continue…]

How do I start / stop or restart networking service under Suse Linux without rebooting the server?
[click to continue…]

How do I restart or start or stop networking service on Slackware Linux using command line option?
[click to continue…]

HowTo: Linux Restart Network Interface

How do I restart network interface under Linux operating systems after making changes to IP configuration without rebooting the box?
[click to continue…]

Red Hat / CentOS Linux Setting a Default Gateway

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, type:
Save and close the file. Here is my complete file:

You need to restart networking service:
# /etc/init.d/networking restart