So I know I can trade using local communication, but if I get another 2DS and I need to connect it to my Wi-fi will it work?
Your 2DS will still be able to connect to the Internet, as this doesn't require Nintendo servers. However, any usage of Internet on the 2DS outside of Pokemon Bank and Transporter will be restricted.
Hope this helps!