≡ Menu

networking service

Unix HowTo: Start / Stop / Restart Network Service Command

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

CentOS / RHEL: Remove Routes 169.254.0.0 / 255.255.0.0 From the System

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

Linux Static IP Address Configuration

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

Slackware Linux Restart / Start / Stop Networking Service Command

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 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

HowTo Bind A Range Of IP’s in Debian / Ubuntu Linux

I‘ve recently installed Debian Linux 4.0 on my server and Ubuntu Linux 7.04 on Laptop. I would love to have a multiple IP address that I can use for verity of purposes. I would like to bind 4 IP’s to the ‘eth0’ device or NIC. How do I achieve this?
[click to continue…]