≡ Menu

/etc/network/interfaces

How To Setup Bonded (bond0) and Bridged (br0) Networking On Ubuntu LTS Server

I want to setup KVM bridge with bonding on Ubuntu Linux 16.04 LTS server. I have total four Intel I350 Gigabit network connection (NICs). I would like bonding/enslaving eth0 through eth2 into one bonded interface called bond0 with 802.3ad dynamic link aggregation mode. How do I configure bridging and bonding with Ubuntu Server 16.04 LTS?
[click to continue…]

How To Setup Bridge (br0) Network on Ubuntu Linux 14.04 and 16.04 LTS

I am a new Ubuntu Linux 16.04 LTS user. How do I setup a network bridge on the host server powered by Ubuntu 14.04 LTS or 16.04 LTS operating system?
[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 205.153.203.98 via 205.153.203.97.

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

Debian / Ubuntu Linux: Setup Wireless Access Point (WAP) with Hostapd

I‘ve got a spare USB Wireless Adapters (WIFI adapter/dongle) and my ISP router does not support wireless option. How do I turn my home nas server into a wireless access point (WAP) that allows wireless devices to connect to a wired network using Wi-Fi under a Debian or Ubuntu Linux operating systems without purchasing additional WPA box? How do I setup an Access Point (AP) mode Wi-Fi hotspot on a Debian or Ubuntu Linux operating systems?
[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…]

Linux Display Ethernet Bridge Name and Information

How do I display a list of bridges under Linux? How do I show info about the Ethernet bridge configuration in the Linux kernel?
[click to continue…]

Debian Linux Configure Wireless Networking With WPA2

I‘ve Atheros AR5001 wifi a/b/g card detected and supported natively under Linux. How do I configure my wireless card with WPA2 networking using /etc/network/interfaces file?
[click to continue…]

Ubuntu: SIOCADDRT: File exists Error and Solution

I‘m typing the following command under Ubuntu Linux:

route add default gw 192.168.3.2 eth0

But it is giving me out the following error:

SIOCADDRT: File exists

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

KVM Guest: Shared Physical Network Device With Host (bridging configuration)

The NAT based connectivity is useful for easy deployments. However I want to use full bridging, where the guest is connected directly to the LAN. How do setup and share physical network with host and rest of the LAN under Linux?
[click to continue…]