मेरे नेटवर्क पर अजीब 2960 व्यवहार


10

मेरी इमारतों में सिस्को राउटर और स्विच का एक गुच्छा है। असल में, हर इमारत में एक राउटर और एक या अधिक स्विच होते हैं। मैं प्रत्येक भवन के लिए सिर्फ दो वीएलएएन का उपयोग करता हूं: वीएलएएन 1 डेटा वीएलएएन (मूल के रूप में अच्छी तरह से) है और वीएलएएन 200 आवाज वीएएन है। प्रत्येक स्विच का वीएलएएन अपने संबंधित भवन के राउटर (802.1q) पर एक उपप्रकारक से "जुड़ा हुआ" है, और प्रत्येक स्विच पर, राउटर के सबर्नेटफेस से जुड़े पोर्ट को एक ट्रंक पोर्ट के रूप में कॉन्फ़िगर किया गया है, इसलिए हमारे पास दो वीएलएएनएल आसन्न हैं।

बात यह है कि, मैंने देखा है, IOS 12.2 के साथ स्विच करता है, जब मैं एक दूरस्थ सबनेट तक पहुँचने (पिंग) की कोशिश करता हूं, तो सही VLAN इंटरफ़ेस को "चुन सकता है"। सभी स्विच में 192.168.X.0/24डेटा और 10.10.X.0 /24आवाज के लिए है, इसलिए यदि मैं पिंग करने की कोशिश करता हूं 192.168.1.2, तो स्विच 192.168.20.2अपने स्रोत पिंग के इंटरफ़ेस के रूप में VLAN इंटरफ़ेस ( ) का उपयोग करता है, और अगर मैं अपने कॉल मैनेजर को पिंग करने का प्रयास करता हूं ( 10.10.254.1), तो स्विच 10.10.248.2अपने स्रोत के रूप में VLAN इंटरफ़ेस का उपयोग करता है। ।

IOS 15 (नए वाले) के साथ स्विच, एक ही कॉन्फ़िगरेशन के साथ और एक ही तरह के राउटर से जुड़े (जैसे IOS 12.2 के साथ स्विच), सही VLAN इंटरफ़ेस का उपयोग न करें। वे हमेशा आवाज वीएलएएन इंटरफेस (मेरे मामले में 200) का उपयोग करते हैं, इसलिए मुझे स्रोत इंटरफ़ेस चुनना होगा अगर मैं दूरस्थ डिवाइस (निश्चित रूप से दूरस्थ गंतव्य सबनेट पर निर्भर करता है) से उत्तर की अपेक्षा करना चाहता हूं। अजीब व्यवहार के बाद से मैं मूल रूप से एक ही विन्यास का उपयोग कर रहा हूँ, लेकिन विभिन्न स्थानों में। नए स्विच "दोहरे- ipv4-and-ipv6" टेम्पलेट का उपयोग करते हैं और पुराने (12.2) "डेस्कटॉप डिफ़ॉल्ट" टेम्पलेट का उपयोग करते हैं। स्विच के पीछे के कंप्यूटर में कोई कनेक्टिविटी समस्या नहीं होती है क्योंकि राउटर पैकेट को सही गंतव्य पर ले जाता है, लेकिन स्विच क्यों नहीं करता है? कोई उपाय?

मुझे यकीन नहीं है कि अगर मेरे स्विच "रूक sdm पसंद" के परिणाम के नीचे, रूटिंग का समर्थन करते हैं:

  default             Default bias
  dual-ipv4-and-ipv6  Support both IPv4 and IPv6
  lanbase-routing     Supports both IPv4 and IPv6 Static Routing
  qos                 QoS bias

यह स्विच कॉन्फ़िगरेशन है:

Current configuration : 9403 bytes
!
! Last configuration change at 00:09:28 UTC Mon Jun 27 2011 by admin
! NVRAM config last updated at 23:32:34 UTC Sun Jun 26 2011 by admin
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!

!
boot-start-marker
boot-end-marker
!
enable secret 5 *Removed*
!
username admin privilege 15 secret 5 *Removed*
no aaa new-model
system mtu routing 1500
!
!
ip domain-name lvdomain.local
ip name-server 192.168.0.43
ip name-server 192.168.0.45
!
mls qos map cos-dscp 0 8 16 24 32 46 48 56
mls qos srr-queue input bandwidth 70 30
mls qos srr-queue input threshold 1 80 90
mls qos srr-queue input priority-queue 2 bandwidth 30
mls qos srr-queue input cos-map queue 1 threshold 2 3
mls qos srr-queue input cos-map queue 1 threshold 3 6 7
mls qos srr-queue input cos-map queue 2 threshold 1 4
mls qos srr-queue input dscp-map queue 1 threshold 2 24
mls qos srr-queue input dscp-map queue 1 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue input dscp-map queue 1 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 32 33 40 41 42 43 44 45
mls qos srr-queue input dscp-map queue 2 threshold 3 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 4 5
mls qos srr-queue output cos-map queue 2 threshold 1 2
mls qos srr-queue output cos-map queue 2 threshold 2 3
mls qos srr-queue output cos-map queue 2 threshold 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 0
mls qos srr-queue output cos-map queue 4 threshold 3 1
mls qos srr-queue output dscp-map queue 1 threshold 3 32 33 40 41 42 43 44 45
mls qos srr-queue output dscp-map queue 1 threshold 3 46 47
mls qos srr-queue output dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 2 threshold 1 26 27 28 29 30 31 34 35
mls qos srr-queue output dscp-map queue 2 threshold 1 36 37 38 39
mls qos srr-queue output dscp-map queue 2 threshold 2 24
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 11 13 15
mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
mls qos queue-set output 1 threshold 1 100 100 50 200
mls qos queue-set output 1 threshold 2 125 125 100 400
mls qos queue-set output 1 threshold 3 100 100 100 400
mls qos queue-set output 1 threshold 4 60 150 50 200
mls qos queue-set output 1 buffers 15 25 40 20
mls qos
!
crypto pki trustpoint TP-self-signed-3287232768
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-3287232768
 revocation-check none
 rsakeypair TP-self-signed-3287232768
!
!
crypto pki certificate chain TP-self-signed-3287232768
 certificate self-signed 01
  *Removed*
        quit
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
vlan internal allocation policy ascending
!
!
class-map match-all AutoQoS-VoIP-RTP-Trust
  match ip dscp ef
class-map match-all AutoQoS-VoIP-Control-Trust
  match ip dscp cs3  af31
!
policy-map AutoQoS-Police-CiscoPhone
 class AutoQoS-VoIP-RTP-Trust
   set dscp ef
  police 1000000 8000 exceed-action policed-dscp-transmit
 class AutoQoS-VoIP-Control-Trust
   set dscp cs3
  police 1000000 8000 exceed-action policed-dscp-transmit
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/1
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/2
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/3
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/4
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/5
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/6
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/7
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/8
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/9
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/10
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/11
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface FastEthernet0/12
 description *****IP PHONES and PC*****
 switchport voice vlan 200
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 auto qos trust
 spanning-tree portfast
 service-policy input AutoQoS-Police-CiscoPhone
!
interface GigabitEthernet0/1
 description *****Trunk to FRIAS.3580.1941*****
 switchport mode trunk
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust cos
 auto qos trust
!
interface GigabitEthernet0/2
 description *****Trunk to FRIAS.3580.1941*****
 switchport mode trunk
 srr-queue bandwidth share 1 30 35 5
 queue-set 2
 priority-queue out
 mls qos trust cos
 auto qos trust
!
interface Vlan1
 description *****3580 Data VLAN 1*****
 ip address 192.168.26.2 255.255.255.0
 no ip route-cache
!
interface Vlan200
 description *****3580 Voice VLAN 200*****
 ip address 10.10.253.2 255.255.255.0
 no ip route-cache
!
ip http server
ip http authentication local
ip http secure-server
!
!
snmp-server community public RO
!
ipv6 access-list IPv6_In_Traffic_Shutdown
 deny ipv6 any any
!
!
line con 0
line vty 0 4
 logging synchronous
 login local
 length 0
line vty 5 15
 login
!
end

4
क्या आप एक से काम करता है और एक है कि नहीं करता है से विन्यास पोस्ट कर सकते हैं?
रॉन ट्रंक

4
कॉन्फ़िगर के अलावा, शायद एक काम करने वाले और गैर-काम करने वाले से एक शो आईपी मार्ग ?
टोड विलकॉक्स

स्विच हैं L2
अब्देल

@ एबडेल यह पूरी तरह से संभव है कि आपका 2960 आईओएस 15.x सपोर्ट रूटिंग के साथ स्विच करता है, और यह आपको समझा सकता है कि आप क्या देख रहे हैं। : आईओएस 15.0 (1) के साथ 2960 पर आईपी रूटिंग कॉन्फ़िगर करने पर सिस्को से यह दस्तावेज़ देखें cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/...
टोड विलकॉक्स

1
मुझे इस कॉन्फ़िग में कोई कमांड ip default-gatewayया ip route 0.0.0.0 0.0.0.0कमांड नहीं दिखाई दिया । यदि आप स्वयं स्विच से पिंग कर रहे हैं, तो यह मुद्दा हो सकता है।
जस्टिन जहान

जवाबों:


1

सिस्को 2960 स्विच एक एल 3 सक्षम स्विच है। आज स्विच आमतौर पर L2 तक ही सीमित नहीं हैं और राउटर / स्विच डेलिनेशन पारंपरिक परिभाषाओं से धुंधला है।

आप ip routingअपने कॉन्फिग से कमांड को मिस कर रहे हैं। यदि आप इस कमांड को जोड़ते हैं, तो आप पाएंगे कि वीएलएएन एसवीआई स्विच पर एक दूसरे के बीच सीधे मार्ग कर सकते हैं। इस सुविधा के बारे में अधिक जानकारी यहां पाई जा सकती है: लेयर 3 स्विच पर इंटरव्लान रूटिंग कॉन्फ़िगर करें

हालाँकि, मुझे आपके स्विच पर किसी भी राउटिंग कॉन्फ़िगरेशन या डिफ़ॉल्ट गेटवे को कॉन्फ़िगर नहीं किया गया है, इसलिए मुझे संदेह है कि स्विच स्वयं किसी भी दूरस्थ नेटवर्क सहायता तक पहुंच सकता है। मुझे संदेह है कि प्रॉक्सी-एआरपी वह है जो यहां इस्तेमाल किया जा रहा है और प्रमुख वर्ग हैं जो वीएलएएन का चयन कर रहे हैं। प्रॉक्सी ARP


1
आपको लेयर -3 स्विच के रूप में उपयोग करने के लिए कम से कम आईपी बेस लाइसेंस की आवश्यकता होती है। यदि आपको LAN बेस मिलता है, तो यह एक लेयर-2-केवल स्विच है।
रॉन Maupin

1

मेरा अनुमान है कि स्थानीय नेटवर्क को रूटिंग टेबल में स्वचालित रूप से नहीं जोड़ा जाता है। जांचें show ip routeकि क्या वे आवश्यक होने पर स्थानीय मार्ग दिखाते हैं और जोड़ते हैं।


0

स्विच या राउटर डिफ़ॉल्ट रूप से आउटगोइंग इंटरफेस का उपयोग करता है, यदि आपके पास एक ही मुखौटा के साथ दो आउटगोइंग इंटरफेस हैं, तो मुझे लगता है कि स्विच सबसे कम आईपी पते का उपयोग करता है। मैं व्यक्तिगत अनुभव से जानता हूं कि, यदि आपके पास लूपबैक पर 32 बिट मास्क आईपी एड्रेस है तो स्विच उस आईपी का उपयोग सभी पिंग्स के लिए करेगा यदि आप स्रोत को परिभाषित नहीं करते हैं। आपके मामले में जब आप उस डिवाइस को पिंग करते हैं जो 10.xxx नेटवर्क की तुलना में किसी अन्य सबनेट पर होता है, तो आपको उत्तर नहीं मिलता है क्योंकि उस गेटवे को अन्य सबनेट के बारे में पता नहीं होता है, क्योंकि उसके वॉयस नेटवर्क से पता चलता है कि गेटवे केवल वॉयस आईपी एड्रेस के बारे में पता है।


0

आपने वॉयल वलान के लिए इन्टरफ़ेन्सेस को कॉन्फ़िगर किया है, कृपया इंटरफेस के लिए नीचे दिए गए कमांड का उपयोग करने का प्रयास करें

switchport mode dynamic desirable
switchport voice vlan 200
duplex auto
speed auto
mls qos trust device cisco-phone
mls qos trust cos
spanning-tree portfast
no shutdown

और भी डाल दिया ip default-gateway <ip of router interface>

हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.