-1

I have a problem with my Raspberry pi. I have connected the PI to the wifi while setting it up for the first time and the internet access worked perfectly but when I connect it to a VLAN which does not have access to internet the connection to the internet is stopped. It seems that the PI automatically switches to the VLAN connection and then I cannot access the internet from the Pi. I need both the VLAN and wifi to work simultaneously as I need to push data to the cloud. Is it possible to have them working at the same time.

Thanks Bipra

  • Possible duplicate of [Static IP Issues For wlan0 and eth0](https://raspberrypi.stackexchange.com/questions/98074/static-ip-issues-for-wlan0-and-eth0) – Ingo May 03 '19 at 16:20
  • 1
    What is the meaning of "VLAN" in this context? Do you mean "LAN"? How is the LAN interface configured? Do you have a DHCP server that sets a default gateway? – RalfFriedl May 03 '19 at 17:00
  • "VLAN" sounds like a weird synonym for VPN, is that what you mean? – Dmitry Grigoryev May 14 '19 at 12:04
  • VLAN is a logical separation of different networks that share the same hardware. https://en.wikipedia.org/wiki/Virtual_LAN – kwasmich Sep 30 '20 at 06:14

1 Answers1

0

Your question provides insufficient information to provide a definitive answer, but Prevent dhcpcd from configuring a gateway on an interface in How to set up networking/WiFi describes a solution.

Milliways
  • 54,718
  • 26
  • 92
  • 182