Here is my network topology:
[DSL Router] <- Ethernet -> [t16] <- Ethernet -> [t15] <- WiFi -> [t21]
Computer t16 runs CentOS 7, two NICs - one to Internet side and the second one "Shared to other computers" per NetworkManager. It's default IP address is 10.42.0.1. The LAN is thus on the 10.42.0 subnet. This computer also provided DHCP for the LAN with reserved addresses for physical machines and dynamic addresses for virtual machines.
Computer t15 also runs CentOS 7. It picks up its reserved address (10.42.0.115) on its Ethernet card. This part works fine and it can communicate with other computers on the LAN.
I enabled the WiFi card in t15 and configured it thus:
[WiFi]
SSID: Gerling
Mode: Hotspot
[Wifi Security]
WPA/WPA2 Personal (set password)
[IPv4 Settings]
Method: Shared to other computers
Address 10.42.0.215 Netmask 255.255.255.0 Gateway 10.42.0.1
Computer t21 is my Raspberry Pi running Ubuntu Mate 16.04. I configured its WiFi connection thus:
[WiFi]
SSID: Gerling
Mode: Client (also tried Adhoc)
[Wifi Security]
WPA/WPA2 Personal (set password)
[IPv4 Settings]
Method: DHCP
These settings seem to connect, at least that message is displayed by the NetworkManager applet. If I look at connection information I see:
[IPv4]
IP Address: 10.42.0.211
Broadcast: 10.42.0.255
Subnet mask: 255.255.255.0
Default Route: 10.42.0.1
This seems to be good (unless I am missing something). However, I cannot ping between t21 and t15. I have also tried manually configuring the address on t21. Same problem. The WiFi connects "mechanically" but I cannot ping between the computers.
In an earlier attempt I configured t15 manually to use the address 10.44.0.1 with the gateway 10.42.0.115 (its Ethernet card). I configured t21 to use 10.44.0.221. In this case I could ping between the computers and I could reach the Internet from t21. However, I could not reach t21 from other computers on my LAN as it was on a different subnet. Therefor I wished to put the WiFi hotspot on the 10.42.0 subnet. I realize I will need to reserve the IP addresses for the hotspot and t21 in my DHCP server so they do not get assigned to something else. First I need to get the hotspot working.
Can anyone point me to what I have done wrong???
TIA,
Ken
p.s. As I was proof reading this post I decided to pull the Ethernet cable from t15. I CAN now ping between t15 and t21. Now I am REALLY confused
