Hi Henry,
On Fri, Nov 09, 2018 at 02:40:05PM +0000, Henry Gomersall wrote:
Andy checked and he can ping my VPS some within
Bitfolk, but from the
machine I cannot see the outside world, nor can I see the machine from
the outside world.
Because it seems possible to ping it from within 85.119.80.0/21, I
think this means it does not have a default route. You can confirm
this by typing:
$ ip route
Do you see a "default via …" line?
If not, do:
$ sudo ip route add default via 85.119.80.1
Does that cause it to work?
/etc/network/interfaces is as below. Does anybody have
any ideas as to
what is wrong?
#### BEGIN
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 85.119.83.128
netmask 255.255.248.0
gateway 85.119.80.1
This looks okay.
auto eth0:1
iface eth0:1 inet static
address 212.13.195.128
netmask 255.255.255.255
The above should be removed as it is a legacy IP address that won't
work any more. It shouldn't be causing any problems but is best
gone.
iface eth0 inet6 static
auto lo
iface lo inet loopback
It's weird that you have another "auto lo" and "iface lo…" here.
Is
it a cut and paste error?
>
> auto eth0
> iface eth0 inet static
> address 85.119.83.128
> netmask 255.255.248.0
> gateway 85.119.80.1
>
auto eth0:1
iface eth0:1 inet static
address 212.13.195.128
netmask 255.255.255.255
Assuming the above is cut and paste error…
address 2001:ba8:1f1:f1e5::2
netmask 64
gateway fe80::fcff:ffff:feff:ffff
pre-up echo "/sbin/modprobe ipv6" &&
/sbin/modprobe ipv6 || true
post-up echo "/proc/sys/net/ipv6/conf/default/forwarding=0" &&
echo 0 > /proc/sys/net/ipv6/conf/default/forwarding || true
post-up echo "/proc/sys/net/ipv6/conf/all/forwarding=0" &&
echo 0 > /proc/sys/net/ipv6/conf/all/forwarding || true
post-up echo "/proc/sys/net/ipv6/conf/default/accept_ra=0" &&
echo 0 > /proc/sys/net/ipv6/conf/default/accept_ra || true
post-up echo "/proc/sys/net/ipv6/conf/all/accept_ra=0" &&
echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra || true
post-up echo "/proc/sys/net/ipv6/conf/$IFACE/accept_ra=0" &&
echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra || true
post-up echo "/proc/sys/net/ipv6/conf/default/autoconf=0" &&
echo 0 > /proc/sys/net/ipv6/conf/default/autoconf || true
post-up echo "/proc/sys/net/ipv6/conf/all/autoconf=0" &&
echo 0 > /proc/sys/net/ipv6/conf/all/autoconf || true
post-up echo "/proc/sys/net/ipv6/conf/$IFACE/autoconf=0" &&
echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf || true
#### END
Try simplifying the above to:
iface eth0 inet6 static
address 2001:ba8:1f1:f1e5::2
netmask 64
gateway 2001:ba8:1f1:f1e5::1
So, whole file should be:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 85.119.83.128
netmask 255.255.248.0
gateway 85.119.80.1
iface eth0 inet6 static
address 2001:ba8:1f1:f1e5::2
netmask 64
gateway 2001:ba8:1f1:f1e5::1
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting