"[a-f]" erstattes med lag bokstav
"x" erstattes med lag nummer
> enable
# write erase
> enable
# configure terminal
(config)# hostname r-rr-1[a-f] //feks r-rr-1b
(config)# no ip domain-lookup
(config)# exit
(config)# interface f0/0
(config-if)# ip address 10.0.x.2 255.255.255.192
(config-if)# no shutdown
# show ip interface brief
# configure terminal
(config)#interface Vlan10
(config-if)#ip address 10.0.x.65 255.255.255.192
(config-if)#no shutdown
# configure terminal
(config)# interface f1/7
(config-if)# switchport access vlan 10
(config-if)# no shutdown
# show vlan-switch
(config)# interface f1/3
(config-if)# ip address 10.0.x.65 255.255.255.192
(config-if)# no shutdown
# show ip interface brief
Brukes mot klientene på TKN
(config)# ip dhcp pool tkn-klient
(dhcp-config)# network 10.0.x.64 255.255.255.192
(dhcp-config)# default-router 10.0.x.65
(dhcp-config)# lease 100
(dhcp-config)# exit
Sjekk dette ved å koble opp på int1/3 (de uten switch), eller int1/7 (de med switch)
Skru på telnet
(config)# username admin priv 15 secret Ving68 //STOR V!!
(config)# line vty 0 2
(config-line)# login local
(config-line)# end
Krypter traffikken (SSH)
(config)# ip domain-name ving68.no
R1(config)# crypto key gen rsa
(config)# ip ssh version 2
# copy running-config startup-config
enable
conf t
no pseudowire-class tunnel
l2tp-class networkstV3class
authentication
password L2TPv3
exit
pseudowire-class NETWORKPW
encapsulation l2tpv3
protocol l2tpv3 networkstV3class
ip local interface f0/0
interface FastEthernet0/1
description LAN Facing
no ip address
duplex auto
speed auto
xconnect 10.0.7.2 1 encapsulation l2tpv3 pw-class NETWORKPW