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/03/25 11:06] val [EtherChannel] |
оборудование_уровня_3_cisco_router [2024/06/20 15:58] (current) val [Настройка DHCP сервиса] |
||
---|---|---|---|
Line 12: | Line 12: | ||
==== Базовая ==== | ==== Базовая ==== | ||
<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 72: | 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 96: | 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 108: | 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 138: | 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 198: | Line 199: | ||
- | interface FastEthernet1/0 | + | !interface FastEthernet1/0 |
- | !interface Port-channel1 | + | interface Port-channel1 |
ip route-cache flow | ip route-cache flow | ||
- | interface FastEthernet1/1 | + | !interface FastEthernet1/1 |
- | !interface FastEthernet0/0 | + | interface FastEthernet0/0 |
ip route-cache flow | ip route-cache flow | ||
</code> | </code> |