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

Re: Help: br0 brings down ethernet



Alain D D Williams wrote: 
> Most of it works nicely; one problem is starting a network bridge takes down
> the ethernet connection.
> 
> Can anyone please offer any clues:
> 
> /etc/network/interfaces.d/br0 contains:
> iface br0 inet static
> 	bridge_ports enp3s0

This tells br0 to eat enp3s0. That's your problem.

> 	address 10.239.239.254
> 	broadcast 10.239.239.255
> 	netmask 255.255.255.0
> 	# Without this: when a VM starts the rest of the machine loses Internet connectivity - dunno why
> 	bridge_stp off
> 	bridge_maxwait 0
> 	bridge_fd 0
> 
> /etc/network/interfaces.d/enp3s0 contains:
> auto enp3s0
> iface enp3s0 inet static
> 	address 192.188.145.2
> 	broadcast 192.188.145.255
> 	netmask 255.255.255.0
> 	gateway 192.188.145.1
> 

Options:

1. keep enp3s0 and br0 separate; turn on routing and route between them.

2. make enp3s0 a blank interface (no IP assignments), keep it as an
assigned port of br0, and make sure br0 has the IP assignment to the
outside world. You can have multiple IPs per NIC.


-dsr-


Reply to: