User Tools

Site Tools


оборудование_уровня_3_cisco_router

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
оборудование_уровня_3_cisco_router [2022/02/21 10:13]
val [Настройка DHCP сервиса]
оборудование_уровня_3_cisco_router [2025/04/22 12:43] (current)
val [Настройка маршрута по умолчанию]
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 
 +! ip address 192.168.X.1 255.255.255.0 
 +! no shutdown 
 +
 +!interface FastEthernet1/​1 
 +interface FastEthernet0/​0 
 + ​description connection to ISP 
 + ip address 172.16.1.X 255.255.255.0 
 +! duplex half 
 +! speed 100 
 +! no ip unreachables ​ ! for old GNS 
 +! mac-address e418.08f2.5900+X ! for old GNS 
 + no shutdown 
 +</​code>​ 
 + 
 +==== EtherChannel ==== 
 + 
 +<​code>​ 
 +interface Port-channel1
  ​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
-+ ​duplex full   for GNS 
-!interface ​FastEthernet0/0.2+ 
 +interface FastEthernet1/​0 
 + ​channel-group 1 
 + no shutdown 
 + 
 +interface FastEthernet1/​1 
 + ​channel-group 1 
 +! no shutdown ​ ! for course with GNS 
 +</​code>​ 
 + 
 + 
 +==== Trunk ==== 
 +<​code>​ 
 +!interface ​FastEthernet1/0.2
 ! description connection to LAN2 ! description connection to LAN2
 ! encapsulation dot1Q 2 ! encapsulation dot1Q 2
 ! ip address 192.168.100+X.1 255.255.255.0 ! ip address 192.168.100+X.1 255.255.255.0
 ! no shut ! no shut
-! 
-interface FastEthernet1/​1 
- ​description connection to ISP 
- ip address 172.16.1.X 255.255.255.0 
-! duplex half 
-! speed 100 
- no ip unreachables ​ ! for GNS 
- ​mac-address e418.08f2.5900+X ! for GNS 
- no shutdown 
 </​code>​ </​code>​
  
Line 34: Line 61:
 </​code>​ </​code>​
  
-Особенности GNS+Особенности ​old GNS
 <​code>​ <​code>​
 ip route 10.0.0.0 255.0.0.0 Null0 ip route 10.0.0.0 255.0.0.0 Null0
Line 45: 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 57: 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>​
  
 ===== Настройка DHCP сервиса ===== ===== Настройка DHCP сервиса =====
 <​code>​ <​code>​
-ip dhcp excluded-address 192.168.X.1 192.168.X.127 +ip dhcp excluded-address 192.168.X.1 192.168.X.100 
-ip dhcp excluded-address 192.168.X.250 192.168.X.254+ip dhcp excluded-address 192.168.X.110 192.168.X.254
  
 ip dhcp pool LAN ip dhcp pool LAN
Line 69: 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 81: 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 111: Line 140:
  ​deny ​  ip any any ! log  ​deny ​  ip any any ! log
  
-interface ​FastEthernet1/1+interface ​FastEthernet0/0
  ip access-group ACL_FIREWALL in  ip access-group ACL_FIREWALL in
  
Line 169: 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>​
оборудование_уровня_3_cisco_router.1645427581.txt.gz · Last modified: 2022/02/21 10:13 by val