≡ Menu


Ubuntu Linux Configure Gateway / Default Routing IP Address

Q. How do I configure default router or gateway IP address under Ubuntu Linux / Debian Linux? How do I change default router / gateway IP under Ubuntu Linux?
[click to continue…]

Ubuntu Change IP

Q. How do I change IP address under Ubuntu Linux using GUI and command line options?
[click to continue…]

Debian IPv6 Virtual ( Additional ) Static Addresses Configuration

I know how to add additional IPv4 IP address using virtual IP address configuration under Debian Linux. How do I add additional IPv6 address (aliased IPv6 addresses) under Debian Linux server?
[click to continue…]

Ubuntu Static IP

Q. I've Intel Corporation 80003ES2 LAN Gigabit Ethernet Controller. How do I set static IP address settings for my Ubuntu Linux as follows:

DEVICE name : eth0
Type: static
Router IP:

How do I setup static IP address under Ubuntu?
[click to continue…]

Debian Linux Configure Network Interface Cards – IP address and Netmasks

How do I configure networking or network interface card on HP Debian Linux U1 Server?
[click to continue…]

Ubuntu Restart Networking Command

How do I restart networking on Ubuntu Linux system from a shell prompt?
[click to continue…]

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

Debian / Ubuntu Linux Setting a Default Gateway

Q. How do I setup a default gateway on Debian or Ubuntu Linux? My router IP is and I'd like to setup this as a default gateway for Debian Linux.

A. You can use command line tool such as
a] ip command - show / manipulate routing, devices, policy routing and tunnels

b] route command - show / manipulate the IP routing table

c] Save routing information to a configuration file so that after reboot you get same default gateway.

ip command to set a default router to

Login as the root and type:
# ip route add default via
$ sudo ip route add default via

route command to set a default router to

Login as the root and type:
# route add default gw
$ sudo route add default gw

Save routing information to a configuration file /etc/network/interfaces

Open /etc/network/interfaces file
# vi /etc/network/interfaces
$ sudo vi /etc/network/interfaces
Find eth0 or desired network interface and add following option
Save and close the file. Restart networking:
# /etc/init.d/networking restart
$ sudo /etc/init.d/networking restart

Linux Creating or Adding New Network Alias To a Network Card (NIC)

Q. I would like to create alias for my network card (NIC). How do I setup 2 IP address on One NIC? How do I add alias under Centos / Fedora / Debian / Ubuntu Linux?
[click to continue…]