06-20-2023, 11:07 PM
Hi there. I'm running a Raspberry Pi 4b with the flashed SD card image, default config so far, trying unsuccessfully to use 2 network interfaces.
I'm aiming to position the Pi as a "man-in-the-middle" interface to ensure the features of KeexyBox can't be bypassed. My kids are getting to the age where they'd be smart enough to statically set an IP address and set the gateway to the router rather than KeexyBox. I don't want to allow them to do that.
I have the on-board interface and an external USB interface. Both are being recognised by the OS:
Despite both br0 and eth0 being up, I don't see eth0 as a selectable option in the admin, http://192.168.0.2:8001/config/network. Only eth1. If I select eth1 and reboot, it goes back to br0.
How can I get both physical network interfaces operational on two separate physical networks via those adapters?
I'm aiming to position the Pi as a "man-in-the-middle" interface to ensure the features of KeexyBox can't be bypassed. My kids are getting to the age where they'd be smart enough to statically set an IP address and set the gateway to the router rather than KeexyBox. I don't want to allow them to do that.
I have the on-board interface and an external USB interface. Both are being recognised by the OS:
Code:
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::dea6:32ff:fe37:221c prefixlen 64 scopeid 0x20<link>
ether dc:a6:32:37:22:1c txqueuelen 1000 (Ethernet)
RX packets 1775 bytes 234402 (228.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 445 bytes 56742 (55.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
ether dc:a6:32:37:22:1c txqueuelen 1000 (Ethernet)
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether dc:a6:32:37:22:1c txqueuelen 1000 (Ethernet)
RX packets 1775 bytes 259252 (253.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 451 bytes 57066 (55.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether a8:63:7d:61:64:5d txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Despite both br0 and eth0 being up, I don't see eth0 as a selectable option in the admin, http://192.168.0.2:8001/config/network. Only eth1. If I select eth1 and reboot, it goes back to br0.
How can I get both physical network interfaces operational on two separate physical networks via those adapters?