This is a network setup in a lab of academic institution PC1: Connected to wired LAN socket of Lab. Connection is DHCP.
Default Route: 10.21.107.254
Primary DNS: 10.24.0.193
Secondary DNS: 10.24.0.194
IP shown on www.whatismyip.com: 18.104.22.168
A wireless router is connected to another LAN socket of the same lab (hopefully of same network). IP allotted to router through DHCP is
Default Gateway: 10.21.107.254
DHCP Server : 10.24.4.7
DNS Server : 10.24.0.193, 10.24.0.194
Router LAN settings are
Router IP: 10.0.0.1
PC2 is getting internet through wireless router. IP settings received by PC2 are
IP shown on www.whatismyip.com: 22.214.171.124
As per my understanding, I should see the same ip on www.whatismyip.com from both PC, but this is not the case here.