Skip to content

himrock922/jail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This is a shell script that can be used to build automatic network topology as shown in the figure below in jail.

Figure
			
			----------------------------
			|			   |
	      ----------|			   |---------
	      |		|	    host           |	    |
	      |		----------------------------	    |
	      |		    |               |		    |
	      |		    |               |	            |
	---------	---------	---------	---------
	|	|	|	|	|	|	|	|
	|	|	|	|	|	|	|	|
    ----|       |---    |	|       |	|	|	|
    |	|jail#1 |  |	|jail#2 |	|jail#3 |	|jail#4 |
    |	---------  | 	---------	---------	---------
    |              |        |               |               |
---------      ----------   |               |   	    |
|	|      |	|   |               |		    |
|	|      |	|   |               |		    |
|jail#5 |      |jail#6  |   |               |		    |
---------      ----------   |               |		    |
     		            |               |		    |
			---------       ---------	---------
                        |	|       |	|  	|	|
                        |	|       |	|   	|	|
                        |jail#7 |       |jail#8 |    	|jail#9	|
                        ---------	---------	---------
		
Network Address
HOST-jail#1	192.168.1.0/24
HOST-jail#2	192.168.2.0/24
HOST-jail#3	192.168.3.0/24
HOST-jail#4	192.168.4.0/24

jail#1-jail#5,jail#6(jail#5-jail#6 switching hub connection) 192.168.5.0/24
jail#2-jail#7						     192.168.7.0/24
jail#3-jail#8						     192.168.8.0/24
jail#4-jail#9				                     192.168.9.0/24

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published