I have 2 laptops both connected on the same LAN using wifi . In One laptop I have working internet connection which i shared to laptop 2 using Ethernet , as i wanted to create a new gateway on the same LAN , so that clients connected to LAN via my gateway have an access to the internet .
The internet sharing via ethernet is working on laptop 2 and for the ethernet interface and the ip configuration are as
eth0
Connection mode - Shared to other Computers
IP - 192.168.137.2
Subnet -24
Gateway - 192.168.137.1
DNS - 8.8.8.8 ,4.4.4.4
The ip configuration of wireless interface wlan0 on the same compute are as follows (This interface will act as gateway )
wlan0
Connection mode - Manual
IP - 192.168.144.111
Subnet -24
Gateway - EMPTY
DNS - EMPTY
The clients connected on the same network have ip configuaration as
interface - eth0/wlan0
Connection mode - Manual
IP - 192.168.144.X
Subnet -24
Gateway - 192.168.144.111
DNS - 8.8.8.8 ,4.4.4.4
I have enabled ip_forwarding in my linux pc but clients connected to same subnet are not able to connect to the internet.