Hello, I configured the network on the Banana Pi - R1 using Ubuntu 18.04. Using isc-dhcp-server, I used LAN ports in bridge mode. You can see my configuration below. However, the windows devices that I connect to via LAN port get the IP address I gave from dhcp but do not have internet access. After entering the ipconfig / release ipconfig / renew commands through the Windows command prompt and making the network connections problem several times, internet access comes. The troubleshooting process I do here sometimes isnât a solution, but after a few times the ethernet cable is plugged in and out, it can be solved. So it doesnât make sense. What do you think is wrong? How can I solve this problem?
/etc/network/interfaces
interfaces(5) file used by ifup(8) and ifdown(8)
auto = Start the interface(s) at boot.
iface = interface
auto lo iface lo inet loopback
allow-hotplug - Start the interface when a âhotplugâ event is detected.
In real world, this is used on the same situations of auto but the difference is
that it will wait for an event like âplug the cableâ on ethernet interfaces.
allow-hotplug eth0 allow-hotplug wlan0
** LAN config VLAN 1, WAN port **
receive IP-Address from your Router or Cable modem
auto eth0.101 iface eth0.101 inet dhcp
** LAN config VLAN 2, for the 4 ports **
generate IP-Address for connected devices
auto eth0.102 iface eth0.102 inet manual
** WLAN config **
generate IP-Address for connected devices
auto wlan0 iface wlan0 inet manual
** Bridge config **
auto br0 iface br0 inet static address 10.0.0.1