Kubernetes 1.10 flannel Network from Scratch

Created a kubernetes cluster(baremetal ) with two master nodes and two minion node with 1 Ha proxy .
but now i was getting fail to setup a network communication with different container running on each nodes to communicate each other tried googling but not getting a proper guide for setup flannel overlay from Scratch on baremetal. can any one help to resolve the issue .