Net330: IPSEC - ConnorEast/Tech-Journal GitHub Wiki
champ-router(config-isakmp)#
CLI | CLI |
---|---|
champ-router(config)# | interface FastEthernet0/1 |
champ-router(config-if)# | ip address 172.16.84.1 255.255.255.0 |
champ-router(config-if)# | exit |
champ-router(config)# | interface FastEthernet0/0 |
champ-router(config-if)# | ip address 216.93.144.2 255.255.255.0 |
champ-router(config-if)# | exit |
champ-router(config)# | access-list 101 permit ip 172.16.84.0 0.0.0.255 192.168.25.0 0.0.0.255 |
champ-router(config)# | crypto isakmp policy 10 |
champ-router(config-isakmp)# | encryption aes 256 |
champ-router(config-isakmp)# | authentication pre-share |
champ-router(config-isakmp)# | group 5 |
exit | |
champ-router(config)# | crypto isakmp key NET330 address 140.230.18.2 |
champ-router(config)# | crypto ipsec transform-set VPN-SET esp-aes esp-sha-hmac |
champ-router(config)# | crypto map VPN-MAP 10 ipsec-isakmp |
champ-router(config-crypto-map)# | description VPN connection to Middlebury |
champ-router(config-crypto-map)# | set peer 140.230.18.2 |
champ-router(config-crypto-map)# | set transform-set VPN-SET |
champ-router(config-crypto-map)# | match address 101 |
champ-router(config-crypto-map)# | exit |
champ-router(config)# | interface FastEthernet 0/0 |
champ-router(config-if)# | crypto map VPN-MAP |
champ-router(config-if)# | exit |
champ-router(config)# | interface FastEthernet0/0 |
champ-router(config-if)# | crypto map VPN-MAP |
champ-router(config-if)# | ip route 0.0.0.0 0.0.0.0 216.93.144.1 |
CLI | CLI |
---|---|
mid-router(config)# | interface FastEthernet0/0 |
mid-router(config-if)# | ip address 140.230.18.2 255.255.255.0 |
mid-router(config-if)# | exit |
mid-router(config)# | interface FastEthernet0/1 |
mid-router(config-if)# | ip address 192.168.25.1 255.255.255.0 |
mid-router(config-if)# | exit |
mid-router(config)# | access-list 101 permit ip 192.168.25.0 0.0.0.255 172.16.84.0 0.0.0.255 |
mid-router(config)# | crypto isakmp policy 10 |
mid-router(config-isakmp)# | encryption aes 256 |
mid-router(config-isakmp)# | authentication pre-share |
mid-router(config-isakmp)# | group 5 |
mid-router(config-isakmp)# | exit |
mid-router(config)# | crypto isakmp key NET330 address 216.93.144.1 |
mid-router(config)# | no crypto isakmp key NET330 address 216.93.144.1 |
mid-router(config)# | crypto isakmp key NET330 address 216.93.144.2 |
mid-router(config)# | crypto ipsec transform-set VPN-SET esp-aes esp-sha-hmac |
mid-router(config)# | crypto map VPN-MAP 10 ipsec-isakmp |
mid-router(config-crypto-map)# | description VPN connection to Champlain |
mid-router(config-crypto-map)# | set peer 216.93.144.2 |
mid-router(config-crypto-map)# | set transform-set VPN-SET |
mid-router(config-crypto-map)# | match address 101 |
mid-router(config-crypto-map)# | exit |
mid-router(config)# | int fa0/0 |
mid-router(config-if)# | crypto map VPN-MAP |
mid-router(config-if)# | exit |