This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
оборудование_уровня_3_cisco_router [2022/02/26 07:44] val [Настройка DHCP сервиса] |
оборудование_уровня_3_cisco_router [2024/06/20 15:58] (current) val [Настройка DHCP сервиса] |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Настройка интерфейсов ===== | ===== Настройка интерфейсов ===== | ||
+ | |||
+ | * [[https://www.cisco.com/c/ru_ru/support/docs/switches/catalyst-2950-series-switches/24042-158.html|Настройка транкинга EtherChannel и 802.1Q между коммутатором Catalyst с фиксированной конфигурацией L2 и маршрутизатором (InterVLAN Routing)]] | ||
+ | |||
+ | ==== Базовая ==== | ||
<code> | <code> | ||
- | interface FastEthernet1/0 | + | !interface FastEthernet1/0 |
- | description connection to LAN | + | ! description connection to LAN |
- | ip address 192.168.X.1 255.255.255.0 | + | ! ip address 192.168.X.1 255.255.255.0 |
- | no shutdown | + | ! no shutdown |
! | ! | ||
- | interface FastEthernet1/1 | + | !interface FastEthernet1/1 |
- | !interface FastEthernet0/0 | + | interface FastEthernet0/0 |
description connection to ISP | description connection to ISP | ||
ip address 172.16.1.X 255.255.255.0 | ip address 172.16.1.X 255.255.255.0 | ||
Line 24: | Line 28: | ||
</code> | </code> | ||
- | ==== Trunk EtherChannel ==== | + | ==== EtherChannel ==== |
+ | |||
+ | <code> | ||
+ | interface Port-channel1 | ||
+ | description connection to LAN | ||
+ | ip address 192.168.X.1 255.255.255.0 | ||
+ | no shutdown | ||
+ | duplex full ! for GNS | ||
+ | |||
+ | interface FastEthernet1/0 | ||
+ | channel-group 1 | ||
+ | no shutdown | ||
+ | |||
+ | interface FastEthernet1/1 | ||
+ | channel-group 1 | ||
+ | ! no shutdown ! for course with GNS | ||
+ | </code> | ||
- | * [[https://www.cisco.com/c/ru_ru/support/docs/switches/catalyst-2950-series-switches/24042-158.html|Настройка транкинга EtherChannel и 802.1Q между коммутатором Catalyst с фиксированной конфигурацией L2 и маршрутизатором (InterVLAN Routing)]] | ||
- | * Trunk | + | ==== Trunk ==== |
<code> | <code> | ||
!interface FastEthernet1/0.2 | !interface FastEthernet1/0.2 | ||
Line 53: | Line 72: | ||
==== c использованием DNS ==== | ==== c использованием DNS ==== | ||
<code> | <code> | ||
- | ip name-server 172.16.1.254 | + | !ip name-server 172.16.1.254 |
- | !ip name-server 192.168.X.10 | + | ip name-server 192.168.X.10 |
ip domain-name corpX.un | ip domain-name corpX.un | ||
Line 65: | Line 84: | ||
!no ip domain-lookup | !no ip domain-lookup | ||
- | !ip host server 192.168.X.10 | + | !ip host server 192.168.X.10 !Рекомендуется для rcmd |
</code> | </code> | ||
Line 77: | Line 96: | ||
default-router 192.168.X.1 | default-router 192.168.X.1 | ||
- | dns-server 172.16.1.254 | + | ! dns-server 172.16.1.254 |
- | ! dns-server 192.168.X.10 | + | dns-server 192.168.X.10 |
domain-name corpX.un | domain-name corpX.un | ||
Line 89: | Line 108: | ||
</code><code> | </code><code> | ||
#show ip dhcp binding | #show ip dhcp binding | ||
+ | |||
+ | #clear ip dhcp binding 192.168.X.10N | ||
</code> | </code> | ||
===== Настройка NTP сервиса ===== | ===== Настройка NTP сервиса ===== | ||
Line 119: | Line 140: | ||
deny ip any any ! log | deny ip any any ! log | ||
- | ! interface FastEthernet0/0 | + | interface FastEthernet0/0 |
- | interface FastEthernet1/1 | + | |
ip access-group ACL_FIREWALL in | ip access-group ACL_FIREWALL in | ||
Line 178: | Line 198: | ||
! ip flow-export destination server 9555 | ! ip flow-export destination server 9555 | ||
- | interface FastEthernet1/0 | + | |
+ | !interface FastEthernet1/0 | ||
+ | interface Port-channel1 | ||
ip route-cache flow | ip route-cache flow | ||
- | interface FastEthernet1/1 | + | !interface FastEthernet1/1 |
+ | interface FastEthernet0/0 | ||
ip route-cache flow | ip route-cache flow | ||
</code> | </code> |