Re: [bitfolk] Network not coming up

Top Page

Reply to this message
Author: Gavin Westwood
Date:  
To: users
Subject: Re: [bitfolk] Network not coming up
Hello Henry.

I was caught out by this with a home server running 18.04.  The way you
configure networking has changed from that version to use a system
called Netplan (https://netplan.io).

You'll need to create a .yaml file called "/etc/netplan/config.yaml" and
then run `sudo netplan apply` to set up the networking according to it. 
See https://netplan.io/examples for examples.

Thanks

Gavin

On 09/11/2018 14:40, Henry Gomersall wrote:
> Following an upgrade to Ubuntu 18.04, my network is not coming up
> properly. The interface seems to come up, but traffic is not being
> routed properly.
>
> 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.
>
> /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

>
> auto eth0:1
> iface eth0:1 inet static
>         address 212.13.195.128
>         netmask 255.255.255.255

>
> iface eth0 inet6 static
> 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

>
> auto eth0:1
> iface eth0:1 inet static
>         address 212.13.195.128
>         netmask 255.255.255.255
>         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

>
>
> _______________________________________________
> users mailing list
> users@???
> https://lists.bitfolk.com/mailman/listinfo/users