Debian bind multiple IP network settings

Debian bind multiple IP network settings

1. Edit /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

allow-hotplug eth0
iface eth0 inet static

 address 67.229.xxx.xxx netmask 255.255.255.248 network 67.229.xxx.xxx broadcast 67.229.xxx.xxx gateway 67.229.xxx.xxx # dns-* options are implemented by the resolvconf package, if installed dns-search hostxxxx.kryptservers.com

auto eth0:0
iface eth0:0 inet static
address 67.229.xxx.xxx
netmask 255.255.255.248

auto eth0:1
iface eth0:1 inet static
address 67.229.xxx.xxx
netmask 255.255.255.248

pre-up iptables-restore < /etc/iptables.up.rules

2. Restart
service networking start

<<:  Chicago VPS: $20/month/8GB RAM/250GB HDD/5TB traffic/5 IP/New York

>>:  TweNtion: $13/year/512MB/15GB SSD/500GB bandwidth/KVM/Los Angeles/Free Cpanel/WHM

Recommend

GeekStorage.com is probably going to run away

Since yesterday (the 26th), my forum on GeekStora...

Create a watchable YouTube site using You2PHP

You2PHP is a Youtube traffic proxy script develop...

How to clear office365 globally without SMS

1. Log in to Azure: https://aad.portal.azure.com ...

AlphaRacks: $15/year/1GB memory/20GB space/1.5TB traffic/KVM/Los Angeles

AlphaRacks, which has been introduced many times,...