D
D
den199482017-09-08 15:28:21
Computer networks
den19948, 2017-09-08 15:28:21

Why after creating a bridge in Ububntu there is a local network, but no internet?

Created a network bridge for lxc. The whole order of command execution:

ifconfig enp5s0f0 down
brctl addbr br0
brctl setfd br0 0
brctl addif br0 enp5s0f0
ifconfig enp5s0f0 192.168.1.1 up
ifconfig br0 192.168.1.10/24 up
route add default gw 192.168.0.1

After that, the network itself is there, but there is no access to the Internet.
Tell me where I could be wrong.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Chudnovsky, 2017-09-08
@Frankenstine

The last command does not give an error? :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question