[ale] [ALE] Setting up DHCP with Wireless

Alex Carver agcarver+ale at acarver.net
Mon Sep 18 01:44:27 EDT 2023


First question:

Why not run a local DHCP just for your test devices and make the ARM 
board a router?

On 2023-09-16 19:08, Chuck Payne via Ale wrote:
> So,
> 
> I am trying to setup an arm board that has the following setup
> 
> eth0
> eth1
> lan0 at eth1
> lan1 at eth1
> lan2 at eth1
> lan3 at eth1
> 
> Because of the part of the house I am on, I can't use ethernet. So I have a
> wifi card in. So I have wlan0.
> 
> Being that eth0 should be wan, and lan0 to lan3 are lan. Now here is what I
> am trying to do, and it's gonna be a bit crazy.
> 
> I like to use the arm board ( Banana-Pi BPi-R2 Pro ) as a hub for other
> small board devices on my desk.
> 
> I am running Bullseye, and I installed isc-dhcp-relay. In hopes that I can
> just pull in a device into one of the four lan ports.
> 
> Here's what I got setup so far
> 
> # Defaults for isc-dhcp-relay initscript
> # sourced by /etc/init.d/isc-dhcp-relay
> # installed at /etc/default/isc-dhcp-relay by the maintainer scripts
> 
> #
> # This is a POSIX shell fragment
> #
> 
> # What servers should the DHCP relay forward requests to?
> SERVERS="192.168.107.1"
> 
> # On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
> INTERFACES="eth1 wlan0"
> 
> # Additional options that are passed to the DHCP relay daemon?
> OPTIONS=""
> 
> I am assuming, which is bad for me that I need to wlan0 to issue the
> request, correct? Or do I need lan0 at eth1 thru lan3 at eth1 to pass the
> request. Which now makes me ask, how will they be able to pass traffic from
> the wlan0 to those lanx ports?
> 
> Is it possible to do what I am wanting? I want to test ethernet devices,
> thus why I am not using a wireless usb dongle. I have plenty. Oh, did I
> tell you that I have already install OpenMediaVault on this board, so
> another reason for me to get it working.
> 
> Thanks for any help with my crazy idea.
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo



More information about the Ale mailing list