The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Пропал роутинг между VLAN'ами, !*! Sergo1, 17-Июл-06, 13:56  [смотреть все]
Схема:
2950 - 2821 - Internet

На 2950 есть vlan'ы на портах и один vlan на порту HWIC'а на 2821:
После отруба электричества произошли странные изменения в конфиге - нет маршрутизации
между vlan'ом на 2821 и 2950, а все остальное - есть и работает.
В таблице маршрутизации присутствуют записи на подсети и дефолтный выход в интернет.

Конфиг на 2821

!
interface GigabitEthernet0/0
description Connection to Internet
ip address 212.248.125.14 255.255.255.252
ip route-cache flow
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/3/0
description Trunk Connection to Catalyst
switchport trunk allowed vlan 1-6,8-104,106-1005
switchport mode trunk
duplex full
speed 100
!
interface FastEthernet0/3/1
description VLAN 8 to NETUP UTM Server
switchport access vlan 8
duplex full
speed 100
!
interface FastEthernet0/3/2
shutdown
!
interface FastEthernet0/3/3
!
interface Vlan1
no ip address
no mop enabled
!
interface Vlan8
ip address 195.210.178.253 255.255.255.252
!
interface Vlan103
ip address 195.210.178.17 255.255.255.240


(просткипаны другие vlan'ы)
!
ip classless
ip route 0.0.0.0 0.0.0.0 212.248.125.13
ip flow-export version 5
ip flow-export destination 195.210.178.254 9996
!
!
scheduler allocate 20000 1000
!
end
-----------------------------------------------
Конфиг на 2950:


    


        
C2950#sh run            
Building configuration...                        
          
!
!
!
interface FastEthernet0/1                        
description                                                                
switchport access vlan 101                          
switchport mode access                      
no cdp enable              
!
interface FastEthernet0/2                        
shutdown        
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/3                        
description Connection to 3-d                                                          
switchport access vlan 103                          
switchport mode access                      
duplex full            
speed 100          
!
interface FastEthernet0/4                        
shutdown        
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/5                        
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/6                        
description Connection to 6-th                                            
switchport access vlan 106                          
switchport mode access                      
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/7                        
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/8                        
description Connection to 8-th                                          
switchport access vlan 108                          
switchport mode access                      
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/9                        
description Connection to 9-th flore                                              
switchport access vlan 109                          
switchport mode access                      
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/10                          
description Connection to 10-th, 11-th                                    
switchport access vlan 110                          
switchport mode access                      
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/11                          
switchport access vlan 111                          
switchport mode access                      
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/12                          
description                                                    
switchport access vlan 112                          
switchport mode access                      
duplex full            
speed 100          
no cdp enable              
!
interface FastEthernet0/13                        
switchport access vlan 113                          
switchport mode access                      
duplex full            
speed    
no cdp enable              
!
interface FastEthernet0/14                          
shutdown        
no cdp enable              
!
interface FastEthernet0/15                          
shutdown        
no cdp enable              
!
interface FastEthernet0/16                          
shutdown        
no cdp enable              
!
interface FastEthernet0/17                          
shutdown        
no cdp enable              
!
interface FastEthernet0/18                          
shutdown        
no cdp enable              
!
interface FastEthernet0/19                          
shutdown        
no cdp enable              
!
interface FastEthernet0/20                          
shutdown        
no cdp enable              
!
interface FastEthernet0/21                          
switchport access vlan 103                          
switchport mode access                      
duplex full            
speed 100          
no cdp enable              
!
interface FastEt              
description Connection MB to Internet                                      
switchport access vlan 103                          
switchport mode access                      
duplex full            
speed 100          
!
interface FastEthernet0/23                          
description Connection to Our LAN                                  
switchport access vlan 103                          
switchport mode access                      
duplex full            
speed 100          
!
interface FastEthernet0/24                          
description Connection to cisco2821 -> Internet
switchport trunk allowed vlan 1,8,101,103,106,108-110,112,113,1002-1005
switchport mode trunk
duplex full
speed 100
!
interface Vlan1
no ip address
no ip route-cache
!
!
end

  • Пропал роутинг между VLAN'ами, !*! Sergo1, 16:35 , 17-Июл-06 (1)
    Может есть какие-то предположения?
    • Пропал роутинг между VLAN'ами, !*! Изгой, 07:01 , 18-Июл-06 (2)
      >Может есть какие-то предположения?

      Перезагрузите ещё раз и то идругое и то что между ними на всякий случай.

      • Пропал роутинг между VLAN'ами, !*! Sergo1, 10:48 , 18-Июл-06 (4)
        >Перезагрузите ещё раз и то идругое и то что между ними на
        >всякий случай.

        Да вот надо будет сделать, только на выходных - сейчас пока все работает, просто я не могу со своего компа на сервер статистики заходить, а трафик считается. Это так... локальные неудобства и некоторая непонятка, почему не работает, когда все прописано.

    • Пропал роутинг между VLAN'ами, !*! ilya, 07:39 , 18-Июл-06 (3)
      >Может есть какие-то предположения?


      посмотрите sh ip route NETWORK
      в качестве сети - сеть которая маршрутизится через VLANы

      • Пропал роутинг между VLAN'ами, !*! Sergo1, 10:53 , 18-Июл-06 (5)
        >посмотрите sh ip route NETWORK
        >в качестве сети - сеть которая маршрутизится через VLANы

        Все видно и так и эдак, аж прикольно:

        astcisco#sh ip route
        Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
               D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
               N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
               E1 - OSPF external type 1, E2 - OSPF external type 2
               i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
               ia - IS-IS inter area, * - candidate default, U - per-user static route
               o - ODR, P - periodic downloaded static route

        Gateway of last resort is 212.248.125.13 to network 0.0.0.0

             212.248.125.0/30 is subnetted, 1 subnets
        C       212.248.125.12 is directly connected, GigabitEthernet0/0
             195.210.178.0/24 is variably subnetted, 8 subnets, 2 masks
        C       195.210.178.232/30 is directly connected, Vlan101
        C       195.210.178.240/30 is directly connected, Vlan109
        C       195.210.178.244/30 is directly connected, Vlan108
        C       195.210.178.248/30 is directly connected, Vlan112
        C       195.210.178.252/30 is directly connected, Vlan8
        C       195.210.178.32/28 is directly connected, Vlan106
        C       195.210.178.48/28 is directly connected, Vlan113
        C       195.210.178.16/28 is directly connected, Vlan103
        S*   0.0.0.0/0 [1/0] via 212.248.125.13

        astcisco#sh ip route 195.210.178.16
        Routing entry for 195.210.178.16/28
          Known via "connected", distance 0, metric 0 (connected, via interface)
          Routing Descriptor Blocks:
          * directly connected, via Vlan103
              Route metric is 0, traffic share count is 1

        astcisco#sh ip route 195.210.178.252
        Routing entry for 195.210.178.252/30
          Known via "connected", distance 0, metric 0 (connected, via interface)
          Routing Descriptor Blocks:
          * directly connected, via Vlan8
              Route metric is 0, traffic share count is 1

        astcisco#sh ip route 195.210.178.253
        Routing entry for 195.210.178.252/30
          Known via "connected", distance 0, metric 0 (connected, via interface)
          Routing Descriptor Blocks:
          * directly connected, via Vlan8
              Route metric is 0, traffic share count is 1

        astcisco#sh ip route 195.210.178.254
        Routing entry for 195.210.178.252/30
          Known via "connected", distance 0, metric 0 (connected, via interface)
          Routing Descriptor Blocks:
          * directly connected, via Vlan8
              Route metric is 0, traffic share count is 1

        • Пропал роутинг между VLAN'ами, !*! ilya, 10:56 , 18-Июл-06 (6)
          >>посмотрите sh ip route NETWORK
          >>в качестве сети - сеть которая маршрутизится через VLANы
          >
          >Все видно и так и эдак, аж прикольно:
          >
          >astcisco#sh ip route
          >Codes: C - connected, S - static, R - RIP, M -
          >mobile, B - BGP
          >       D - EIGRP, EX -
          >EIGRP external, O - OSPF, IA - OSPF inter area
          >       N1 - OSPF NSSA external
          >type 1, N2 - OSPF NSSA external type 2
          >       E1 - OSPF external type
          >1, E2 - OSPF external type 2
          >       i - IS-IS, su -
          >IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
          >       ia - IS-IS inter area,
          >* - candidate default, U - per-user static route
          >       o - ODR, P -
          >periodic downloaded static route
          >
          >Gateway of last resort is 212.248.125.13 to network 0.0.0.0
          >
          >     212.248.125.0/30 is subnetted, 1 subnets
          >C       212.248.125.12 is directly connected, GigabitEthernet0/0
          >
          >     195.210.178.0/24 is variably subnetted, 8 subnets, 2
          >masks
          >C       195.210.178.232/30 is directly connected, Vlan101
          >
          >C       195.210.178.240/30 is directly connected, Vlan109
          >
          >C       195.210.178.244/30 is directly connected, Vlan108
          >
          >C       195.210.178.248/30 is directly connected, Vlan112
          >
          >C       195.210.178.252/30 is directly connected, Vlan8
          >
          >C       195.210.178.32/28 is directly connected, Vlan106
          >
          >C       195.210.178.48/28 is directly connected, Vlan113
          >
          >C       195.210.178.16/28 is directly connected, Vlan103
          >
          >S*   0.0.0.0/0 [1/0] via 212.248.125.13
          >
          >astcisco#sh ip route 195.210.178.16
          >Routing entry for 195.210.178.16/28
          >  Known via "connected", distance 0, metric 0 (connected, via interface)
          >
          >  Routing Descriptor Blocks:
          >  * directly connected, via Vlan103
          >      Route metric is 0, traffic share
          >count is 1
          >
          >astcisco#sh ip route 195.210.178.252
          >Routing entry for 195.210.178.252/30
          >  Known via "connected", distance 0, metric 0 (connected, via interface)
          >
          >  Routing Descriptor Blocks:
          >  * directly connected, via Vlan8
          >      Route metric is 0, traffic share
          >count is 1
          >
          >astcisco#sh ip route 195.210.178.253
          >Routing entry for 195.210.178.252/30
          >  Known via "connected", distance 0, metric 0 (connected, via interface)
          >
          >  Routing Descriptor Blocks:
          >  * directly connected, via Vlan8
          >      Route metric is 0, traffic share
          >count is 1
          >
          >astcisco#sh ip route 195.210.178.254
          >Routing entry for 195.210.178.252/30
          >  Known via "connected", distance 0, metric 0 (connected, via interface)
          >
          >  Routing Descriptor Blocks:
          >  * directly connected, via Vlan8
          >      Route metric is 0, traffic share
          >count is 1


          а между какими сетями нет маршрутизации?




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру