-
-
Save thuliumsystems/8ce2463c6169df44d83246cb3c33f619 to your computer and use it in GitHub Desktop.
CyS+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| enable | |
| configure terminal | |
| hostname R1 | |
| no ip domain-lookup | |
| ip cef | |
| ! | |
| interface ethernet0/0 | |
| description LINK-DEBIAN | |
| ip address 191.168.0.2 255.255.255.252 | |
| ip nat outside | |
| no shut | |
| ! | |
| interface ethernet0/1 | |
| description LINK-UBUNTU | |
| ip address 192.168.10.1 255.255.255.0 | |
| no shut | |
| ! | |
| interface ethernet0/2 | |
| description LAN-KALI-WINDOWS | |
| ip address 192.168.11.1 255.255.255.0 | |
| no shut | |
| ! | |
| ip route 0.0.0.0 0.0.0.0 191.168.0.1 | |
| end | |
| wr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| enable | |
| configure terminal | |
| hostname SW1 | |
| no ip domain-lookup | |
| ip cef | |
| ! | |
| interface e0/0 | |
| description Uplink-to-R1 | |
| switchport mode access | |
| switchport access vlan 10 | |
| no shut | |
| ! | |
| interface e0/1 | |
| description KALI | |
| switchport mode access | |
| switchport access vlan 10 | |
| no shut | |
| ! | |
| interface vlan 10 | |
| ip address 192.168.11.254 255.255.255.0 | |
| no shut | |
| ! | |
| vlan 10 | |
| name LAN-CLIENTS | |
| ! | |
| ip default-gateway 192.168.11.1 | |
| end | |
| wr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| network: | |
| version: 2 | |
| ethernets: | |
| enp0s3: | |
| dhcp4: no | |
| addresses: [192.168.10.2/24] | |
| routes: | |
| - to: default | |
| via: 192.168.10.1 | |
| nameservers: | |
| addresses: [1.1.1.1, 8.8.8.8] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment