0

I need to setup my RPI 4 to use Wi-Fi but with 2 IP addresses, one from DHCP and the other one static, can someone please help I am not sure how to do this, as I need to put this configuration in the DHCPCD.conf file, we are not use the network manager in this case.

Thanks

10
  • Why? This is not technically impossible but not using dhcpcd and frankly there is no point.
    – Milliways
    Feb 7, 2022 at 8:53
  • OK for us, we need it. In the Hospitality Industry you will get info from one vlan while other vlan provide internet access. so if not possible via dhcpcd then how? Feb 7, 2022 at 9:31
  • of course it's possible - it's fiddly with dhcpcd though (at least it used to be about 3 years ago) - best to switch to using NetworkManager - then it's really simple
    – Bravo
    Feb 7, 2022 at 9:39
  • Please explain how I must do it, so the Pi must still pickup a wifi ip from DHCP then also have the other static ip configured? Feb 7, 2022 at 11:11
  • I have tried leaving the ipv4 ip setup blank, and then just added a router ip for extra ip but it does not work Feb 7, 2022 at 11:15

1 Answer 1

1

To make a Raspberry Pi wireless bridge you will need a USB WiFi adapter. Check out the following links to see if these will help you build what you are looking for.

I haven't tested these myself so suggest building a wired Ethernet to WiFi Ethernet bridge using eth0 and wlan0 on the raspberry Pi. If that works then upgrade by adding a USB wireless adapter, and change eht0 to wlan1 or what ever the wireless adapter appears as.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.