UPDATE:
To reverify, ifdown command fails always. net-tools is broken after the update.
I have done extensive testing on my scripts adding Y/N questions to verify that each command succeeded. They do.
Therefore, the ip and ifconfig commands do succeed inside of scripts (but not ifdown). I was incorrect about that.
What really happens:
At the point where the bridge is made and tap0 and enp3s0 are added to it the ipaddr of enp3s0 goes from 0.0.0.0 back to 192.168.1.130 thus breaking the bridge.
Both tap0 and enp3s0 must be 0.0.0.0. promiscuous mode, and up inside the bridge br0 to work properly.
I am digging deeper on why this happens.
As a temp fix I reset enp3s0 to the correct settings a 2nd time after the bridge is made.
Also, after the bridge is removed enp3s0 never performs dhcp to regain its original ipaddr.
That is also an issue.
UPDATE:
To reverify, ifdown command fails always. net-tools is broken after the update.
I have done extensive testing on my scripts adding Y/N questions to verify that each command succeeded. They do.
Therefore, the ip and ifconfig commands do succeed inside of scripts (but not ifdown). I was incorrect about that.
What really happens:
At the point where the bridge is made and tap0 and enp3s0 are added to it the ipaddr of enp3s0 goes from 0.0.0.0 back to 192.168.1.130 thus breaking the bridge.
Both tap0 and enp3s0 must be 0.0.0.0. promiscuous mode, and up inside the bridge br0 to work properly.
I am digging deeper on why this happens.
As a temp fix I reset enp3s0 to the correct settings a 2nd time after the bridge is made.
Also, after the bridge is removed enp3s0 never performs dhcp to regain its original ipaddr.
That is also an issue.