First of all, i am sorry i don't know much about networking and i am beginner in linux networking. Please help me with my problem.
For ethernet router, eth1 is not assigned with static IP until a device is connected to the eth1 port but for wifi hotspot it is assigned with a static IP even if there is no device connected.
What i am doing wrong. How to get a static IP for eth1 port even if no device is connected? Is there any way to assign default inet addr to ethernet ports?
Ethernet router configuration bash script is here
Wifi hotspot configuration bash script is here