CodePudding user response:
This is very simpleCodePudding user response:
Eve simulator do interface might be different configuration about soPC1:
IP 192.168.100.1 255.255.255.0 gateway 192.168.100.254
PC2:
IP 192.168.1.1 255.255.255.0 gateway 192.168.1.254
L2SW: empty with
R1:
The hostname R1
!
Interface Loopback0
IP address 1.1.1.1 255.255.255.255
!
Interface Ethernet0/0
IP address 20.0.0.1 255.255.255.0
IP NAT outside
IP ospf network point - to - point
!
Interface Ethernet0/1
IP address 192.168.1.254 255.255.255.0 secondary
IP address 192.168.100.254 255.255.255.0
IP NAT inside
!
The router ospf 1
The router - id 1.1.1.1
The network 20.0.0.0 0.0.0.255 area 1
!
IP NAT pool server 20.0.0.1 20.0.0.1 netmask 255.255.255.0
IP NAT NAT pool inside source list server
!
IP access - the list standard NAT
Permit 192.168.100.0 0.0.0.255
Permit 192.168.1.0 0.0.0.255
R2:
The hostname R2
!
Interface Loopback0
IP address 2.2.2.2 255.255.255.255
!
Interface Ethernet0/0
IP address 20.0.0.2 255.255.255.0
IP ospf network point - to - point
!
Interface Ethernet0/1
IP address 30.10.1.2 255.255.255.0
IP ospf network point - to - point
!
The router ospf 1
The router - id 2.2.2.2
The network 20.0.0.0 0.0.0.255 area 1
The network 30.10.1.0 0.0.0.255 area 0
L3SW:
The hostname L3SW
!
Interface Loopback0
IP address 20.20.20.20 255.255.255.255
! Interface Ethernet0/1
No switchport
IP address 30.10.1.3 255.255.255.0
IP ospf network point - to - point
!
Interface Ethernet0/2
No switchport
IP address 200.10.1.254 255.255.255.0
!
The router ospf 1
The router - id 20.20.20.20
Redistribute connected subnets
The network 30.10.1.0 0.0.0.255 area 0
Server:
IP 200.10.1.6 255.255.255.0 gateway 200.10.1.254