S
SvenB
Jungspund
Hi,
wollte heute zu meinem Server eine zweite Ip Adresse hinzufügen. Hab dafür die interfaces wie folgt configuriert:
auto lo
iface lo inet loopback
#Alte Standart Ip Adresse:
auto eth0
iface eth0 inet static XXX.XXX.XXX.XX1
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
network XXX.XXX.XXX.XXX
broadkast XXX.XXX.XXX.XXX
getaway XXX.XXX.XXX.XXX
dns-nameservers XXX.XXX.XXX.XXX
#Neue Zusatz IP Adresse:
auto eth0
iface eth0 inet static XXX.XXX.XXX.XX
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
network XXX.XXX.XXX.XXX
broadkast XXX.XXX.XXX.XXX
getaway XXX.XXX.XXX.XXX
dns-nameservers XXX.XXX.XXX.XXX
so nur wenn ich nun netowrking restarten will kommt dieser Fehler hier:
debian:/home# /etc/init.d/networking restart
* /etc/network/options is deprecated.
Setting up IP spoofing protection...done (rp_filter).
Reconfiguring network interfaces.../etc/network/interfaces:19: interface eth0 declared allow-auto twice
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:19: interface eth0 declared allow-auto twice
ifup: couldn't read interfaces file "/etc/network/interfaces"
failed.
Und es funktioniert weiterhin nur die alte Ip.
Jemand ne idee?
Muss ich noch andere einstellungen in der Interfaces vornehmen?
Greets
Sven
wollte heute zu meinem Server eine zweite Ip Adresse hinzufügen. Hab dafür die interfaces wie folgt configuriert:
auto lo
iface lo inet loopback
#Alte Standart Ip Adresse:
auto eth0
iface eth0 inet static XXX.XXX.XXX.XX1
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
network XXX.XXX.XXX.XXX
broadkast XXX.XXX.XXX.XXX
getaway XXX.XXX.XXX.XXX
dns-nameservers XXX.XXX.XXX.XXX
#Neue Zusatz IP Adresse:
auto eth0
iface eth0 inet static XXX.XXX.XXX.XX
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
network XXX.XXX.XXX.XXX
broadkast XXX.XXX.XXX.XXX
getaway XXX.XXX.XXX.XXX
dns-nameservers XXX.XXX.XXX.XXX
so nur wenn ich nun netowrking restarten will kommt dieser Fehler hier:
debian:/home# /etc/init.d/networking restart
* /etc/network/options is deprecated.
Setting up IP spoofing protection...done (rp_filter).
Reconfiguring network interfaces.../etc/network/interfaces:19: interface eth0 declared allow-auto twice
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:19: interface eth0 declared allow-auto twice
ifup: couldn't read interfaces file "/etc/network/interfaces"
failed.
Und es funktioniert weiterhin nur die alte Ip.
Jemand ne idee?
Muss ich noch andere einstellungen in der Interfaces vornehmen?
Greets
Sven