Networks: Difference between revisions

From Unix Lab
Content added Content deleted
No edit summary
No edit summary
Line 55: Line 55:
VLAN100 10.0.2.0/24
VLAN100 10.0.2.0/24
=Address=
=Address=
==10.0.2.0/24 VLAN100==

GLOBAL1 (reserved 10 IP)
10.0.2.2 R1 r1.glb1.lab
10.0.2.3 dns1 dns1.glb1.lab
CDN1 (reserved 20 IP)
10.0.2.11 R1 r1.cdn1.lab
10.0.2.12 dns1 dns1.cdn1.lab
ISP1 (reserved 10 IP)
10.0.2.31 R1 r1.isp1.lab
10.0.2.32 R2 r2.isp1.lab
10.0.2.33 R3 r3.isp1.lab
10.0.2.34 dns1 dns1.isp1.lab
ISP2 (reserved 10 IP)
10.0.2.41 R1 r1.isp2.lab
10.0.2.42 R2 r2.isp2.lab
10.0.2.43 R3 r3.isp2.lab
10.0.2.44 dns1 dns1.isp2.lab
ISP3 (reserved 10 IP)
10.0.2.51 R1 r1.isp3.lab
10.0.2.52 R2 r2.isp3.lab
10.0.2.53 R3 r3.isp3.lab
10.0.2.54 dns1 dns1.isp3.lab
ISP4 (reserved 10 IP)
10.0.2.61 R1 r1.isp4.lab
10.0.2.62 R2 r2.isp4.lab
10.0.2.63 R3 r3.isp4.lab
10.0.2.64 dns1 dns1.isp4.lab
ORG1 (reserved 20 IP)
10.0.2.71 R1 r1.org1.lab
ORG2 (reserved 20 IP)
10.0.2.91 R1 r1.org2.lab
=Libvirt netrowks=
=Libvirt netrowks=
[https://github.com/grzesieklog/unix-lab/blob/63e1fda86680eba49c5f8c41939a3286f1512f39/hv/net/swglobal.xml swglobal.xml]
[https://github.com/grzesieklog/unix-lab/blob/63e1fda86680eba49c5f8c41939a3286f1512f39/hv/net/swglobal.xml swglobal.xml]

Revision as of 10:05, 30 July 2023

Network Topology

Global Network Topology
Global Network Topology

Maps

GLOBAL1 AS001  R1 VLAN 100,101,103,104,105,201
CDN1    AS002  R1 VLAN 100,102,103,106,107,301,302
               R2 VLAN 100,301,303
ISP1    AS003  R1 VLAN 100,104,109,401,402
               R2 VLAN 100,106,110,402,403
               R3 VLAN 100,108,401,403,404
ISP2    AS004  R1 VLAN 100,105,111,501,502
               R2 VLAN 100,107,112,502,503
               R3 VLAN 100,108,501,503,504
ISP3    AS005  R1 VLAN 100,109,114,601,603
               R2 VLAN 100,111,115,602,603
               R3 VLAN 100,113,601,602,604
ISP4    AS006  R1 VLAN 100,110,701,703
               R2 VLAN 100,112,116,702.703
               R3 VLAN 100,113,701,702,704
ORG1           R1 VLAN 100,114,1101
ORG2           R1 VLAN 100,115,116,1201

Networks

10.0.2.0/24  back MGMT (each host has individual interface in this VLAN)
192.0.2.0/24 public IPv4 (special scope for doc)

By VLAN

VLAN20 172.16.3.0/24 DMZ
VLAN21 10.28.13.0/24 LAB (WAN{1,2,3})

192.0.2.0/24

# public IPv4 - two host network /30
VLAN101 192.0.2.0/30 # first 64
VLAN102 192.0.2.4/30
VLAN103 192.0.2.8/30
VLAN104 192.0.2.12/30
VLAN105 192.0.2.16/30
VLAN106 192.0.2.20/30
VLAN107 192.0.2.24/30
VLAN108 192.0.2.28/30
VLAN109 192.0.2.32/30
VLAN110 192.0.2.36/30
VLAN111 192.0.2.40/30
VLAN112 192.0.2.44/30
VLAN113 192.0.2.48/30
VLAN301 192.0.2.52/30
...alignment
# public IPv4 - six host network /29
VLAN201 192.0.2.128/29 # third 64
VLAN302 192.0.2.136/29
VLAN404 192.0.2.144/29
VLAN504 192.0.2.152/29
VLAN604 192.0.2.160/29
VLAN704 192.0.2.168/29
VLAN804 192.0.2.176/29
VLAN904 192.0.2.184/29

10.0.2.0/24

VLAN100 10.0.2.0/24

Address

10.0.2.0/24 VLAN100

GLOBAL1 (reserved 10 IP)
10.0.2.2    R1       r1.glb1.lab
10.0.2.3    dns1   dns1.glb1.lab
CDN1 (reserved 20 IP)
10.0.2.11   R1       r1.cdn1.lab
10.0.2.12   dns1   dns1.cdn1.lab
ISP1 (reserved 10 IP)
10.0.2.31   R1       r1.isp1.lab
10.0.2.32   R2       r2.isp1.lab
10.0.2.33   R3       r3.isp1.lab
10.0.2.34   dns1   dns1.isp1.lab
ISP2 (reserved 10 IP)
10.0.2.41   R1       r1.isp2.lab
10.0.2.42   R2       r2.isp2.lab
10.0.2.43   R3       r3.isp2.lab
10.0.2.44   dns1   dns1.isp2.lab
ISP3 (reserved 10 IP)
10.0.2.51   R1       r1.isp3.lab
10.0.2.52   R2       r2.isp3.lab
10.0.2.53   R3       r3.isp3.lab
10.0.2.54   dns1   dns1.isp3.lab
ISP4 (reserved 10 IP)
10.0.2.61   R1       r1.isp4.lab
10.0.2.62   R2       r2.isp4.lab
10.0.2.63   R3       r3.isp4.lab
10.0.2.64   dns1   dns1.isp4.lab
ORG1 (reserved 20 IP)
10.0.2.71   R1       r1.org1.lab
ORG2 (reserved 20 IP)
10.0.2.91   R1       r1.org2.lab

Libvirt netrowks

swglobal.xml

virsh net-define swglobal.xml
virsh net-start swglobal
virsh net-autostart swglobal
virsh net-list --all