Coder Social home page Coder Social logo

vclcloud's Introduction

This script sets up a tunnel between Two machines on different network and an virtual interface between two machines on the same network. It makes all the appropriate routing table enteries so a connection can be established between the first machine and the last machine.


Instructions and Assumptions
Assumptions:
1.	Script will be run as root
2.	Script Assumes that cluster_info file is present at /etc and it contains the public IP addresses 	of all three machines namely in the format
	Parent=152.x.x.x
	Child=152.x.x.x
	Child=152.x.x.x 
3.	Root login available on B and C through public network using public keys
4.	Instead of conventional tunnel IP addresses mentioned in the HW, different IP addresses have been used to avoid confusion.
They are:
Tunnel IP A: 192.168.25.11
Tunnel IP B: 192.168.25.12
Vinrtual Interface IP A 	     : 192.168.30.11
Virtual Interface IP B		:192.168.30.12
Virttual Interface eth0:25

Instructions:
1.	Unzip SCRIPTSjdmehta at home
2.	Run the command bash SCRIPTjdmehta
3.	The script intermittently pings for sanity so it might appear that code has stopped but it is not so. Please wait for the code to terminate.

PS: Instead of root we could use $USER to make this script more generalized

vclcloud's People

Contributors

jinaymehta25 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.