Manage two network interfaces - sharing and shared

Added code for managing two network interfaces - one which is to be
shared (public network) and second which will use it (home network)