I'm running TVheadend on my Pi 2 with Raspbian 8 Jessie. I would like to use an Sat over IP receiver with Tvheadend and to be able to receive all 4 streams of the receiver I need 4 (virtual) IP's on my Pi. This project is related to this tutorial.
What I already did was configuring /etc/interfaces/
and /etc/dhcpd.conf
.
But ifconfig
still shows only one IP Adress.
This is my /etc/network/interfaces/
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.24
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0:1
iface eth0:1 inet manual
vlan-raw-device eth0
auto eth0:2
iface eth0:2 inet manual
vlan-raw-device eth0
auto eth0:3
iface eth0:3 inet manual
vlan-raw-device eth0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
And this is my /etc/dhcpd.conf
nohook lookup-hostname
interface eth0
static ip_address=192.168.0.24/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
interface eth0:1
static ip_address=192.168.0.71/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
interface eth0:2
static ip_address=192.168.0.72/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
interface eth0:3
static ip_address=192.168.0.73/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
Does anybody know what could be the problem?