osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18.04 networking


On Tue, May 1, 2018 at 7:48 AM, Tom H <tomh0665 at gmail.com> wrote:
>
> root at sophia:~# cat /etc/netplan/bridge0-enp0s3.yaml
> network:
>     version: 2
>     ethernets:
>         enp0s3:
>             dhcp4: no
>     bridges:
>         bridge0:
>             interfaces:
>             - enp0s3
>             addresses:
>             - 192.168.1.111/24
>             nameservers:
>                 addresses:
>                 - 8.8.8.8
>                 search: []
>             parameters:
>                 stp: no

I forgot "gateway4: 192.168.1.1" in "bridge0-enp0s3.yaml"!