I could do the setup quite simple in CentOS, but that's not the case for Ubuntu and Debian.
For Debian, I just followed this tutorial. We need to add an extra network card virtually as noted here
For Ubuntu that I used (Ubuntu 16.04 LTS) it seems that I had another problem, there was no eth0....but renamed to enp0s3 etc which quite yucky...
So I need to get back the eth0 convention, hence I need to this first, refer here .. then only I could proceed with the manual network card assignment as in here