Quantcast
Channel: Programmer's Town - Unix
Viewing all articles
Browse latest Browse all 227

//programmer2640.rssing.com/chan-67947766/article210-live.html

$
0
0

Problem about bridge creation.
Ubuntu 17 LTS
In netplan here such config with static white ip, all works.
network:
version: 2
renderer: networkd
ethernets:
enp2s0:
dhcp4: no
dhcp6: no
addresses: [0.0.0.0/27]
gateway4: 5.5.5.5
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Now I want to create a bridge to this , studied mountain  and instructions.
AND
I do for example here so:
network:
version: 2
renderer: networkd
ethernets:
enp2s0:
dhcp4: no
bridges:
br0:
interfaces: [enp2s0]
dhcp4: true
parameters:
stp: false
forward-delay: 0
As a result a network .
All right, here so tried:
network:
version: 2
renderer: networkd
ethernets:
enp2s0:
dhcp4: no
dhcp6: no
bridges:
br0:
interfaces: [enp2s0]
dhcp4: no
addresses: [0.0.0.0/24]
gateway4: 5.5.5.5
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
the network falls.
Yes I a pancake cannot understand in what a problem the one who knows this netplan that here not so?


Viewing all articles
Browse latest Browse all 227

Latest Images

Trending Articles



Latest Images