January-25th-2021, 11:10 AM
(This post was last modified: January-25th-2021, 12:42 PM by Armin@netPI.)
To be honest I am not a networking specialist so I don't know what all is needed in all details.
I remember I had tested such a constellation once and one thing I remember was to enable in the firewall setting to set the eth0 interface to status "trusted". Then with an active access point you should be able to ping devices in the eth0 subnet from a PC for example that is connected to this access point as a client.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
January-25th-2021, 12:31 PM
Thanks Armin, yes, the default firewall setting is already set to Trusted.
Hi Armin, I found an old question from a customer, it seems that the IP addresses set in the access point must be completely different from those set in the Eth0 port.
So if the Eth0 port is set as IP: 192.168.2.1 and the SubNet: 255.255.255.0 the Wifi Access Point port "must" be IP: 17.100.4.16 Subnet: 255.255.0.0.
This way it works but I don't know why, my skills stop there, as a client of mine says: I'm a technician up to the curve... :-)
Thanks as always for your availability.
January-26th-2021, 01:33 PM
Well, thank you Renato for letting us all know that it works the way I described it.
Two physical interfaces with the very same IP network address room/pool will never work in general. This has nothing to do with netPI and wifi and eth0 doing parallel communications. This is just basic IP networking practice and knowledge in my eyes.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
May-31st-2022, 03:21 PM
(This post was last modified: May-31st-2022, 05:08 PM by Armin@netPI.)
Well Steph,
I don't know if it is possible with netPI since it does not support port forwarding. But as I said before I am no networking expert.
I analysed your PDF. Supposing you connect you Wifi tablet to the netPI Wifi access point ... then it would get an IP address in the range from 17.100.4.80 to 89.
In the most simpliest case it would get the first ip address 17.100.8.80 through netPI's Wifi DHCP server, right? Also your Wifi tablet should automatically receive a gateway address through the same netPI Wifi DHCP server. Which one is it? Is it 17.100.8.16 which is the Wifi IP address of netPI? The gateway address in your tablet is the first most relevant value to know to let the routing table in your tablet know where to send a ping to e.g. 192.168.1.100 to. Cause any IP address that is not in any known subnet will be sent to the default gateway which must be the netPI IP address. Else not even the ping ethernet frame is leaving your tablet at all.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
Thank you Steph for letting me know.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)