filmov
tv
Видива урок Cisco Packet Tracer NAT (WSR)

Показать описание
******ЕСЛИ ЧТО-ТО НЕ РАБОТАЕТ, ИНОГДА ХВАТАЕТ ПРОСТО ПЕРЕЗАПУСТИТЬ ЦИСКО******
=================SW1=================
en
conf t
hostname SW1
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
exi
int r fa0/3-6
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
ex
int r fa0/3-4
channel-protocol lacp
channel-group 1 mode active
ex
int r fa0/5-6
channel-protocol pagp
channel-group 2 mode desirable
ex
int g0/2
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
exi
=================SW2=================
en
conf t
hostname SW2
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
ex
int r fa0/3-4
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
channel-protocol lacp
channel-group 1 mode passive
ex
int fa0/24
sw m a
sw a vl 120
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
switchport port-security violation restrict
exi
int fa0/2
sw m t
sw non
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
exi
=================SW3=================
en
conf t
hostname SW3
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
ex
int r fa0/5-6
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
channel-protocol pagp
channel-group 2 mode auto
ex
int fa0/24
sw m a
sw a vl 120
exi
int fa0/2
sw m t
sw non
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
exi
=================SW4=================
en
conf t
hostname SW4
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
ip add dhcp
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
exi
int r fa0/5-6
sw m a
sw a vl 130
sw v vl 110
ex
int fa0/1
sw m a
sw a vl 130
ex
int g0/1
sw m t
ex
=================SW5=================
en
conf t
hostname SW5
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
exi
=================HQ1=================
en
conf t
hostname HQ1
username admin priv 15 secret network
int g0/2
no sh
ex
int g0/2.120
encapsulation dot1Q 120
ip address 172.16.20.1 255.255.255.0
ex
ip dhcp pool DATA
network 172.16.20.0 255.255.255.0
default-router 172.16.20.1
ex
interface GigabitEthernet0/0
no sh
ip address 30.78.87.1 255.255.255.248
ex
ip route 22.41.45.0 255.255.255.252 GigabitEthernet0/0
router bgp 65000
neighbor 22.41.45.1 remote-as 65001
network 172.16.20.0 mask 255.255.255.0
network 30.78.87.0 mask 255.255.255.248
network 40.40.40.0 mask 255.255.255.248
ex
interface Tunnel1
ip address 40.40.40.1 255.255.255.248
tunnel source GigabitEthernet0/0
tunnel destination 24.41.25.1
ex
access-list 1 permit 172.16.20.0 0.0.0.255
ip nat inside source list 1 interface GigabitEthernet0/0 overload
=================SW1=================
en
conf t
hostname SW1
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
exi
int r fa0/3-6
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
ex
int r fa0/3-4
channel-protocol lacp
channel-group 1 mode active
ex
int r fa0/5-6
channel-protocol pagp
channel-group 2 mode desirable
ex
int g0/2
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
exi
=================SW2=================
en
conf t
hostname SW2
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
ex
int r fa0/3-4
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
channel-protocol lacp
channel-group 1 mode passive
ex
int fa0/24
sw m a
sw a vl 120
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
switchport port-security violation restrict
exi
int fa0/2
sw m t
sw non
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
exi
=================SW3=================
en
conf t
hostname SW3
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
ex
int r fa0/5-6
sw m t
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
channel-protocol pagp
channel-group 2 mode auto
ex
int fa0/24
sw m a
sw a vl 120
exi
int fa0/2
sw m t
sw non
switchport trunk native vlan 150
switchport trunk allowed vlan 100,120,130,150,160
exi
=================SW4=================
en
conf t
hostname SW4
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
ip add dhcp
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
exi
int r fa0/5-6
sw m a
sw a vl 130
sw v vl 110
ex
int fa0/1
sw m a
sw a vl 130
ex
int g0/1
sw m t
ex
=================SW5=================
en
conf t
hostname SW5
vl 100
na MGT
int vl 100
vl 110
na PHONES
int vl 110
vl 120
na DATA
int vl 120
vl 130
na OFFICE
int vl 130
vl 150
na NATIVE
int vl 150
vl 160
na SHUTDOWN
int vl 160
exi
=================HQ1=================
en
conf t
hostname HQ1
username admin priv 15 secret network
int g0/2
no sh
ex
int g0/2.120
encapsulation dot1Q 120
ip address 172.16.20.1 255.255.255.0
ex
ip dhcp pool DATA
network 172.16.20.0 255.255.255.0
default-router 172.16.20.1
ex
interface GigabitEthernet0/0
no sh
ip address 30.78.87.1 255.255.255.248
ex
ip route 22.41.45.0 255.255.255.252 GigabitEthernet0/0
router bgp 65000
neighbor 22.41.45.1 remote-as 65001
network 172.16.20.0 mask 255.255.255.0
network 30.78.87.0 mask 255.255.255.248
network 40.40.40.0 mask 255.255.255.248
ex
interface Tunnel1
ip address 40.40.40.1 255.255.255.248
tunnel source GigabitEthernet0/0
tunnel destination 24.41.25.1
ex
access-list 1 permit 172.16.20.0 0.0.0.255
ip nat inside source list 1 interface GigabitEthernet0/0 overload
Комментарии