-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGuide.sh
More file actions
executable file
·53 lines (51 loc) · 1.36 KB
/
Guide.sh
File metadata and controls
executable file
·53 lines (51 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
echo "========================================"
echo " Virtual Router Lab Deployment Guide"
echo "========================================"
echo
echo "1. Create two virtual machines:"
echo " - Router VM"
echo " - Server VM"
echo
echo "2. Install Debian 12 on both VMs."
echo
echo "3. Configure VM networks:"
echo
echo " Run On the host:"
echo "1. gh repo clone Tarbox/Virtual-Lab-Router-VM-Server-VM-KVM-"
echo "2. cd Virtual-Lab-Router-VM-Server-VM-KVM-"
echo "3. chmod +x create_lab_network.sh"
echo "./create_lab_network.sh"
echo
echo " Router VM:"
echo " Interface 1 -> NAT (internet)"
echo " Interface 2 -> labnet"
echo
echo " Server VM:"
echo " Interface 1 -> labnet"
echo
echo "4. Clone this repository inside BOTH VMs:"
echo
echo " apt install git"
echo " git clone https://github.com/YOUR_USERNAME/router-lab.git"
echo
echo "5. Run setup scripts:"
echo
echo " Router VM:"
echo " cd router-lab/scripts"
echo " sudo ./setup_router.sh"
echo
echo " Server VM:"
echo " cd router-lab/scripts"
echo " sudo ./setup_server.sh"
echo
echo "After setup:"
echo "Server VM should have internet access through Router VM."
echo
echo "Test with:"
echo " ping 8.8.8.8"
echo " traceroute google.com"
echo
echo "========================================"
echo "Deployment instructions finished."
echo "========================================"