I have the following IPs but I can't bind them to my machine I am getting errors.
Here are the IPs I own.
2607:5300:60:1234::/64 - Came with server
158.69.123.123/29 - Bought after owner server
167.114.123.123 - Came with server
Here is my file
auto eth0
iface eth0 inet static
address 116.114.123.98
netmask 255.255.255.0
network 116.114.123.0
broadcast 116.114.123.255
gateway 116.114.123.254
iface eth0 inet6 static
address 2607:5300:60:1234::
netmask 64
post-up /sbin/ip -family inet6 route add 2607:5300:60:79ff:ff:ff:ff:ff dev eth0
post-up /sbin/ip -family inet6 route add default via 2607:5300:60:79ff:ff:ff:ff:ff
pre-down /sbin/ip -family inet6 route del default via 2607:5300:60:79ff:ff:ff:ff:ff
pre-down /sbin/ip -family inet6 route del 2607:5300:60:79ff:ff:ff:ff:ff dev eth0
Thank you for taking the time to read this question!
Here is the error I am getting
# /etc/init.d/networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not r[warnble some interfaces ... (warning).
[....] Reconfiguring network interfaces...RTNETLINK answers: File exists
**Failed to bring up eth0.**
RTNETLINK answers: File exists
RTNETLINK answers: File exists
done.