Labor 1: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 52: Zeile 52:
 
*Standardgateway 192.168.0.1
 
*Standardgateway 192.168.0.1
 
==R1==
 
==R1==
 +
<pre>
 +
ip dhcp pool valn2
 +
network 172.16.0.0 255.255.255.0
 +
default-router 172.16.0.1
 +
!
 +
ip dhcp pool valn3
 +
network 172.16.1.0 255.255.255.0
 +
default-router 172.16.1.1
 +
!
 +
ip dhcp pool vlan5
 +
network 192.168.0.0 255.255.255.0
 +
default-router 192.168.0.1
 +
!
 +
ip dhcp pool vlan6
 +
network 192.168.1.0 255.255.255.0
 +
default-router 192.168.1.1
 +
 +
 +
 +
interface FastEthernet0/0
 +
description transit
 +
ip address 192.168.7.1 255.255.255.0
 +
duplex half
 +
!
 +
interface FastEthernet1/0
 +
no ip address
 +
duplex auto
 +
speed auto
 +
!
 +
interface FastEthernet1/0.2
 +
encapsulation dot1Q 2
 +
ip address 172.16.0.1 255.255.255.0
 +
!
 +
interface FastEthernet1/0.3
 +
encapsulation dot1Q 3
 +
ip address 172.16.1.1 255.255.255.0
 +
!
 +
interface FastEthernet1/1
 +
no ip address
 +
duplex auto
 +
speed auto
 +
!
 +
interface FastEthernet1/1.5
 +
encapsulation dot1Q 5
 +
ip address 192.168.0.1 255.255.255.0
 +
!
 +
interface FastEthernet1/1.6
 +
encapsulation dot1Q 6
 +
ip address 192.168.1.1 255.255.255.0
 +
!
 +
interface FastEthernet2/0
 +
no ip address
 +
shutdown
 +
duplex auto
 +
speed auto
 +
!
 +
interface FastEthernet2/1
 +
no ip address
 +
shutdown
 +
duplex auto
 +
speed auto
 +
!
 +
interface FastEthernet3/0
 +
no ip address
 +
shutdown
 +
duplex auto
 +
speed auto
 +
!
 +
interface FastEthernet3/1
 +
no ip address
 +
shutdown
 +
duplex auto
 +
speed auto
 +
!
 +
</pre>
 +
 +
<pre>
 +
 +
S*    0.0.0.0/0 [1/0] via 192.168.7.2
 +
      172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
 +
C        172.16.0.0/24 is directly connected, FastEthernet1/0.2
 +
L        172.16.0.1/32 is directly connected, FastEthernet1/0.2
 +
C        172.16.1.0/24 is directly connected, FastEthernet1/0.3
 +
L        172.16.1.1/32 is directly connected, FastEthernet1/0.3
 +
      192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
 +
C        192.168.0.0/24 is directly connected, FastEthernet1/1.5
 +
L        192.168.0.1/32 is directly connected, FastEthernet1/1.5
 +
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
 +
C        192.168.1.0/24 is directly connected, FastEthernet1/1.6
 +
<pre>
  
 
=Logischer Netzwerk Plan=
 
=Logischer Netzwerk Plan=
 
{{#drawio:lab1-logischer-plan}}
 
{{#drawio:lab1-logischer-plan}}

Version vom 30. Januar 2023, 14:37 Uhr

Physikalischer Netzwerk Plan

Maschinen

kali

Netzwerkkarten

eth0
  • 192.168.7.2/24
eth1
  • 192.168.88.2/24

Routen

  • default via 192.168.88.1
  • 11.12.19.0.0/24 via 192.168.7.1
  • 24.12.20.0/24 via 192.168.7.1
  • 172.16.0.0/24 via 192.168.7.1
  • 172.16.1.0/24 via 192.168.7.1
  • 192.168.0.0/24 via 192.168.7.1
  • 192.168.1.0/24 via 192.168.7.1
  • 192.168.8.0/24 via 192.168.7.1

IPForward

  • aktiv

Nat

  • SNAT auf eth1 192.168.88.2

CL1Win10

Netzwerkkarten

Ethernet-Adapter Ethernet
  • 172.16.0.3/24

Routen

  • Standardgateway 172.16.0.1

SRV3Win2019

Netzwerkkarten

Ethernet-Adapter Ethernet
  • 172.16.1.2/24

Routen

  • Standardgateway 172.16.1.1

SRV2Win2016

Netzwerkkarten

Ethernet-Adapter Ethernet
  • 192.168.1.2/24

Routen

  • Standardgateway 192.168.1.1

SRV1Win2012

Netzwerkkarten

Ethernet-Adapter Ethernet
  • 172.16.0.2/24

Routen

  • Standardgateway 172.16.0.1

CL2Win81

Netzwerkkarten

Ethernet-Adapter Ethernet
  • 192.168.0.2/24

Routen

  • Standardgateway 192.168.0.1

R1

ip dhcp pool valn2
 network 172.16.0.0 255.255.255.0
 default-router 172.16.0.1
!
ip dhcp pool valn3
 network 172.16.1.0 255.255.255.0
 default-router 172.16.1.1
!
ip dhcp pool vlan5
 network 192.168.0.0 255.255.255.0
 default-router 192.168.0.1
!
ip dhcp pool vlan6
 network 192.168.1.0 255.255.255.0
 default-router 192.168.1.1



interface FastEthernet0/0
 description transit
 ip address 192.168.7.1 255.255.255.0
 duplex half
!
interface FastEthernet1/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet1/0.2
 encapsulation dot1Q 2
 ip address 172.16.0.1 255.255.255.0
!
interface FastEthernet1/0.3
 encapsulation dot1Q 3
 ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet1/1
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet1/1.5
 encapsulation dot1Q 5
 ip address 192.168.0.1 255.255.255.0
!
interface FastEthernet1/1.6
 encapsulation dot1Q 6
 ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet2/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet2/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet3/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet3/1
 no ip address
 shutdown
 duplex auto
 speed auto
!

S*    0.0.0.0/0 [1/0] via 192.168.7.2
      172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C        172.16.0.0/24 is directly connected, FastEthernet1/0.2
L        172.16.0.1/32 is directly connected, FastEthernet1/0.2
C        172.16.1.0/24 is directly connected, FastEthernet1/0.3
L        172.16.1.1/32 is directly connected, FastEthernet1/0.3
      192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.0.0/24 is directly connected, FastEthernet1/1.5
L        192.168.0.1/32 is directly connected, FastEthernet1/1.5
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, FastEthernet1/1.6

Logischer Netzwerk Plan