≡ Menu

ip command

CentOS Linux: Add Static Routing

I am a new CentOS Linux sysadmin. How can I add static route On CentOS Enterprise Linux server running on HP amd64 server?
[click to continue…]

Linux Rename Eth0 Network Interface Card Name [ Udev ]

A wireless NIC is showing as wlan0 but I need to be appear as eth1. How can I rename wlan0 devices through udev as eth1? How do I change or rename eth0 as wan0 under Linux operating systems?
[click to continue…]

Debian Linux: Configure Network Interfaces As A Bridge / Network Switch

My server has five Ethernet ports and one ADSL port. How do I setup IPv4 software bridge using Debian Linux operating systems so that the rest of five ports act as a network switch?
[click to continue…]

Ubuntu Linux Add Static Route

I've two network interfaces. One connected to eth0 and another connected to eth1 as follows:

eth0 => private network with private IP in 10.x.x.x/8 range.
eth1 => ISP router with public IP via

How do I setup persistent static route so that traffic route via router only?
[click to continue…]

Linux Network Statistics Tools / Commands

How do I find out the current network interface throughput statistics on Linux (CentOS or Debian based distro)? How do I see current kernel snmp counters and network interface statistics on Linux operating systems?
[click to continue…]

Linux ip Command Examples


I am a new Linux system admin user. How do I use ip command line utility to display or configure networking, routing, and tunnels on Linux operating systems? How do I configures or displays network interface parameters for a network using TCP/IP on Linux operating systems?
[click to continue…]

CentOS / RHEL: Remove Routes / From the System

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

Ubuntu: SIOCADDRT: File exists Error and Solution

I'm typing the following command under Ubuntu Linux:

route add default gw eth0

But it is giving me out the following error:

SIOCADDRT: File exists

How do I fix this problem?
[click to continue…]

Linux Find Out My IP Number ( IP Address )

How do I find out ip number (IP Address) of my Linux server using command line options?
[click to continue…]

ping command: TTL Expired In Transit Error and Solution

When I try to ping other UNIX / Linux / BSD or MS-Windows servers in our network I get the following message:

TTL Expired In Transit

How do I fix this problem?
[click to continue…]