The OpenNET Project / Index page

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




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! DDD, 15-Окт-06, 19:23  [смотреть все]
Задача:
Дать IP адреса двум HWIC'овским портам и сделать их маршрутизируемыми....
В начале думал тупо повесить на нах вланы, не заработало...
Где то на этом форуме прочитал, что можно это сделать через BVI, тоже облом...:(
Как в случае с вланами, так и в случае с BVI, дальше чем сам себя, маршрутизатор, ни чего не видит...

з.ы.
Если один из шнурков воткнуть в GigabitEthernet0/0, и дать ему соответствующий адрес, то все работает...

Вот конфа:

bridge irb
!
!
!
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
no ip address
duplex auto
speed auto
media-type rj45
negotiation auto
!
interface GigabitEthernet0/1
ip address 192.168.0.254 255.255.255.0
duplex auto
speed auto
media-type rj45
negotiation auto
!
interface FastEthernet0/1/0
switchport access vlan 10
!
interface FastEthernet0/1/1
switchport access vlan 153
!

!
interface Vlan1
no ip address
!
interface Vlan10
no ip address
bridge-group 10
bridge-group 10 spanning-disabled
!
interface Vlan153
no ip address
bridge-group 1
bridge-group 1 spanning-disabled
!
interface BVI1
ip address x.x.x.x 255.255.255.252
!
interface BVI10
ip address y.y.y.y 255.255.255.252
!

  • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! universite, 21:01 , 15-Окт-06 (1)

    >з.ы.
    >Если один из шнурков воткнуть в GigabitEthernet0/0, и дать ему соответствующий адрес,
    >то все работает...

    Попробовать жестко выставить скорость и дуплекс интерфейса и не надеяться на параметр AUTO.

  • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! Nailer, 21:19 , 15-Окт-06 (2)
    >Задача:
    >Дать IP адреса двум HWIC'овским портам и сделать их маршрутизируемыми....
    >В начале думал тупо повесить на нах вланы, не заработало...
    >Где то на этом форуме прочитал, что можно это сделать через BVI,
    >тоже облом...:(
    >Как в случае с вланами, так и в случае с BVI, дальше
    >чем сам себя, маршрутизатор, ни чего не видит...
    >
    >з.ы.
    >Если один из шнурков воткнуть в GigabitEthernet0/0, и дать ему соответствующий адрес,
    >то все работает...
    >
    >Вот конфа:
    >
    >bridge irb
    >!
    >!
    >!
    >interface GigabitEthernet0/0
    > description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
    > no ip address
    > duplex auto
    > speed auto
    > media-type rj45
    > negotiation auto
    >!
    >interface GigabitEthernet0/1
    > ip address 192.168.0.254 255.255.255.0
    > duplex auto
    > speed auto
    > media-type rj45
    > negotiation auto
    >!
    >interface FastEthernet0/1/0
    > switchport access vlan 10
    >!
    >interface FastEthernet0/1/1
    > switchport access vlan 153
    >!
    >
    >!
    >interface Vlan1
    > no ip address
    >!
    >interface Vlan10
    > no ip address
    > bridge-group 10
    > bridge-group 10 spanning-disabled
    >!
    >interface Vlan153
    > no ip address
    > bridge-group 1
    > bridge-group 1 spanning-disabled
    >!
    >interface BVI1
    > ip address x.x.x.x 255.255.255.252
    >!
    >interface BVI10
    > ip address y.y.y.y 255.255.255.252
    >!


    bridge 1 route ip

  • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! DDD, 00:16 , 16-Окт-06 (4)
    Вот до чего дошел прогресс на данный момент:

    interface GigabitEthernet0/1
    ip address 192.168.0.254 255.255.255.0
    duplex auto
    speed auto
    media-type rj45
    negotiation auto
    !
    interface FastEthernet0/1/0
    switchport access vlan 10
    !
    interface FastEthernet0/1/1
    switchport access vlan 11
    !
    interface Vlan1
    no ip address
    !
    interface Vlan10
    no ip address
    bridge-group 10
    !
    interface Vlan11
    no ip address
    bridge-group 11
    !
    interface BVI10
    ip address x.x.x.x 255.255.255.252
    !
    interface BVI11
    ip address y.y.y.y 255.255.255.252
    !
    bridge 10 protocol ieee
    bridge 10 route ip
    bridge 11 protocol ieee
    bridge 11 route ip
    !

    #sh int f0/1/0 irb

    FastEthernet0/1/0
    #sh int vl10 irb

    Vlan10

    Routed protocols on Vlan10:
      ip

    Bridged protocols on Vlan10:
      clns       ip

    Software MAC address filter on Vlan10
      Hash Len    Address      Matches  Act      Type
      0x00:  0 ffff.ffff.ffff         0 RCV Physical broadcast
      0x08:  0 000a.b8d9.62b0         0 RCV Bridge-group Virtual Interface
      0x2A:  0 0900.2b01.0001         0 RCV DEC spanning tree
      0xC2:  0 0180.c200.0000         0 RCV IEEE spanning tree
      0xC2:  1 0180.c200.0000         0 RCV IBM spanning tree
      0xC2:  2 0100.0ccd.cdce         0 RCV VLAN Bridge STP
    #sh int bvi10 irb

    BVI10

    Routed protocols on BVI10:
      ip

    #sh bridge

    Total of 300 station blocks, 300 free
    Codes: P - permanent, S - self

    Bridge Group 10:

    Bridge Group 11:

    На данный момент смущает то, что при просмотре sh bridge в обоих Bridge Group'ах пусто... разве так и дожно быть?

    • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! DDD, 00:57 , 16-Окт-06 (5)
      и вот еще

      #sh int f0/1/0 switchport
      Name: Fa0/1/0
      Switchport: Enabled
      Administrative Mode: static access
      Operational Mode: static access
      Administrative Trunking Encapsulation: dot1q
      Operational Trunking Encapsulation: native
      Negotiation of Trunking: Disabled
      Access Mode VLAN: 10 (VLAN0010)
      Trunking Native Mode VLAN: 1 (default)
      Trunking VLANs Enabled: ALL
      Trunking VLANs Active: 10
      Priority for untagged frames: 0
      Override vlan tag priority: FALSE
      Voice VLAN: none
      Appliance trust: none

  • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! VOLAND, 09:10 , 16-Окт-06 (6)
    >Задача:
    >Дать IP адреса двум HWIC'овским портам и сделать их маршрутизируемыми....
    >В начале думал тупо повесить на нах вланы, не заработало...
    >Где то на этом форуме прочитал, что можно это сделать через BVI,
    >тоже облом...:(
    >Как в случае с вланами, так и в случае с BVI, дальше
    >чем сам себя, маршрутизатор, ни чего не видит...
    >

    Только вчера вешал на свой HWIC-4ESW, vlan на порты и все вешалось и все работает, давай подробнее, сначала делаем:

    vlan database

    добавляем свой vlan:

    vlan № (к примеру 2)

    затем на интерфейсе :

    interface FastEthernet0/2/1
    switchport access vlan 2

    и далее как обычно :

    interface Vlan2
    ip address 10.x.x.x 255.255.255.0
    ip route-cache flow

    все работает без проблем...

    • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! DDD, 10:14 , 16-Окт-06 (7)
      Для чистоты эксперимента взял HWIC-4ESW

      interface FastEthernet0/2/0
      switchport access vlan 15
      !
      !
      interface Vlan15
      ip address 172.17.0.1 255.255.255.252
      ip route-cache flow
      !
      #ping 172.17.0.1

      Type escape sequence to abort.
      Sending 5, 100-byte ICMP Echos to 172.17.0.1, timeout is 2 seconds:
      !!!!!
      Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
      #ping 172.17.0.2

      Type escape sequence to abort.
      Sending 5, 100-byte ICMP Echos to 172.17.0.2, timeout is 2 seconds:
      .....
      Success rate is 0 percent (0/5)
      #sh int f0/2/0 switchport
      Name: Fa0/2/0
      Switchport: Enabled
      Administrative Mode: static access
      Operational Mode: static access
      Administrative Trunking Encapsulation: dot1q - ЭТО ПРАЛЬНО?????
      Operational Trunking Encapsulation: native
      Negotiation of Trunking: Disabled
      Access Mode VLAN: 15 (VLAN0015)
      Trunking Native Mode VLAN: 1 (default)
      Trunking VLANs Enabled: ALL
      Trunking VLANs Active: 15
      Priority for untagged frames: 0
      Override vlan tag priority: FALSE
      Voice VLAN: none
      Appliance trust: none

      Вот так вот:(

      • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! VOLAND, 11:01 , 16-Окт-06 (8)
        >Для чистоты эксперимента взял HWIC-4ESW
        >
        >interface FastEthernet0/2/0
        > switchport access vlan 15
        >!
        >!
        >interface Vlan15
        > ip address 172.17.0.1 255.255.255.252
        > ip route-cache flow
        >!
        >#ping 172.17.0.1
        >
        >Type escape sequence to abort.
        >Sending 5, 100-byte ICMP Echos to 172.17.0.1, timeout is 2 seconds:
        >!!!!!

        ну раз пингуется то значь поднялся иттерфейс


        >Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
        >#ping 172.17.0.2
        >
        >Type escape sequence to abort.
        >Sending 5, 100-byte ICMP Echos to 172.17.0.2, timeout is 2 seconds:
        >.....

        что такое 172.17.0.2 ? другой хост ?


        >Success rate is 0 percent (0/5)
        >#sh int f0/2/0 switchport
        >Name: Fa0/2/0
        >Switchport: Enabled
        >Administrative Mode: static access
        >Operational Mode: static access
        >Administrative Trunking Encapsulation: dot1q - ЭТО ПРАЛЬНО?????
        >Operational Trunking Encapsulation: native
        >Negotiation of Trunking: Disabled
        >Access Mode VLAN: 15 (VLAN0015)
        >Trunking Native Mode VLAN: 1 (default)
        >Trunking VLANs Enabled: ALL
        >Trunking VLANs Active: 15
        >Priority for untagged frames: 0
        >Override vlan tag priority: FALSE
        >Voice VLAN: none
        >Appliance trust: none

        >Вот так вот:(

        Вот тебе мои выводы с рабочей конфигурации

        main-router#sh int fastEthernet 0/2/1 switchport
        Name: Fa0/2/1
        Switchport: Enabled
        Administrative Mode: static access
        Operational Mode: static access
        Administrative Trunking Encapsulation: dot1q
        Operational Trunking Encapsulation: native
        Negotiation of Trunking: Disabled
        Access Mode VLAN: 2 (VLAN0002)
        Trunking Native Mode VLAN: 1 (default)
        Trunking VLANs Enabled: ALL
        Trunking VLANs Active: 2
        Priority for untagged frames: 0
        Override vlan tag priority: FALSE
        Voice VLAN: none
        Appliance trust: none

        -------------------------

        FastEthernet0/2/1 is up, line protocol is up
          Hardware is Fast Ethernet, address is 0016.460b.e0d5 (bia 0016.460b.e0d5)
          MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
             reliability 255/255, txload 1/255, rxload 1/255
          Encapsulation ARPA, loopback not set
          Keepalive set (10 sec)
          Full-duplex, 100Mb/s
          ARP type: ARPA, ARP Timeout 04:00:00
          Last input never, output never, output hang never
          Last clearing of "show interface" counters never
          Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
          Queueing strategy: fifo
          Output queue: 0/40 (size/max)
          5 minute input rate 5000 bits/sec, 7 packets/sec
          5 minute output rate 43000 bits/sec, 6 packets/sec
             3036759 packets input, 293920462 bytes, 0 no buffer
             Received 525586 broadcasts, 0 runts, 0 giants, 0 throttles
             0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
             0 input packets with dribble condition detected
             4812316 packets output, 1277845285 bytes, 0 underruns
             0 output errors, 0 collisions, 4 interface resets
             0 babbles, 0 late collision, 0 deferred
             0 lost carrier, 0 no carrier
             0 output buffer failures, 0 output buffers swapped out
        --------------------------------------------------------------

        main-router#sh int vlan 2
        Vlan2 is up, line protocol is up
          Hardware is EtherSVI, address is 0016.479a.84c8 (bia 0016.479a.84c8)
          Internet address is 10.x.x.x/24
          MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
             reliability 255/255, txload 1/255, rxload 1/255
          Encapsulation ARPA, loopback not set
          ARP type: ARPA, ARP Timeout 04:00:00
          Last input 00:00:00, output never, output hang never
          Last clearing of "show interface" counters never
          Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 898
          Queueing strategy: fifo
          Output queue: 0/40 (size/max)
          5 minute input rate 7000 bits/sec, 11 packets/sec
          5 minute output rate 38000 bits/sec, 8 packets/sec
             3034129 packets input, 281417540 bytes, 0 no buffer
             Received 526177 broadcasts, 0 runts, 0 giants, 0 throttles
             0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
             4407983 packets output, 1219730167 bytes, 0 underruns
             0 output errors, 1 interface resets
             0 output buffer failures, 0 output buffers swapped out

        Все пингуется и сам интерфейс и сеть к которому он подключем, судя во всему у тебя он тоже поднялся и работает раз ты его пингуешь, а вот почему дальше не идут пинги это другой вопрос, смотри и вообще потрасируй посмотри де умирает..

        и сделай
        sh int vlan15
        sh int FastEthernet0/2/0


      • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! VOLAND, 11:19 , 16-Окт-06 (9)

        >Вот так вот:(

        в догонку

        main-router#sh interfaces vlan 2 description
        Interface                      Status         Protocol Description
        Vl2                            up             up

        main-router#sh interfaces fastEthernet 0/2/1 description
        Interface                      Status         Protocol Description
        Fa0/2/1                        up             up

        main-router#sh interfaces fastEthernet 0/2/1 trunk

        Port      Mode         Encapsulation  Status        Native vlan
        Fa0/2/1   off          802.1q         not-trunking  1

        Port      Vlans allowed on trunk
        Fa0/2/1   2

        Port      Vlans allowed and active in management domain
        Fa0/2/1   2

        Port      Vlans in spanning tree forwarding state and not pruned

        ...

        • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! DDD, 12:40 , 16-Окт-06 (10)
          172.17.0.2 да это другой хост.
          по sh interfaces vlan 2 description, sh interfaces fastEthernet 0/2/1 description и sh interfaces fastEthernet 0/2/1 trunk все один в один как у тебя....
          • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! VOLAND, 13:07 , 16-Окт-06 (11)
            >172.17.0.2 да это другой хост.
            >по sh interfaces vlan 2 description, sh interfaces fastEthernet 0/2/1 description и
            >sh interfaces fastEthernet 0/2/1 trunk все один в один как у
            >тебя....

            значит интерфейс поднят и пашет, не морочься с этим, я так понял что кроме адреса интерфейса ты ничего не видишь ? а что там ща ним ? на другой роутер идет на свитч медью ? как там sh ip ro есть ли вообще маршрут в сторону 172.17.0.0 ?

            • Маршрутизируемые интерфейсы на HWIC-D-9ESW, !*! DDD, 16:05 , 16-Окт-06 (12)
              Building configuration...

              Current configuration : 4875 bytes
              !
              version 12.4
              service timestamps debug datetime msec
              service timestamps log datetime msec
              no service password-encryption
              !
              boot-start-marker
              boot-end-marker
              !
              no aaa new-model
              !
              resource policy
              !
              ip subnet-zero
              ip cef
              !
              !
              !
              !
              ip domain name yourdomain.com
              !
              voice-card 0
              no dspfarm
              !
              !
              !
              !
              !
              !
              !
              !
              !
              !
              !
              !
              !
              !
              !
              interface GigabitEthernet0/0
              description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
              no ip address
              duplex auto
              speed auto
              media-type rj45
              negotiation auto
              !
              interface GigabitEthernet0/1
              ip address 192.168.0.254 255.255.255.0
              duplex auto
              speed auto
              media-type rj45
              negotiation auto
              !
              interface FastEthernet0/1/0
              switchport access vlan 10
              !
              interface FastEthernet0/1/1
              switchport access vlan 11
              !
              interface FastEthernet0/1/2
              !
              interface FastEthernet0/1/3
              !
              interface FastEthernet0/1/4
              !
              interface FastEthernet0/1/5
              switchport access vlan 500
              !
              interface FastEthernet0/1/6
              switchport access vlan 500
              !
              interface FastEthernet0/1/7
              switchport access vlan 500
              !
              interface FastEthernet0/1/8
              switchport access vlan 500
              !
              interface FastEthernet0/2/0
              !
              interface FastEthernet0/2/1
              !
              interface FastEthernet0/2/2
              !
              interface FastEthernet0/2/3
              !
              interface Vlan1
              no ip address
              !
              interface Vlan10
              ip address 172.17.0.1 255.255.255.252
              ip route-cache flow
              !
              interface Vlan11
              ip address х.х.х.х 255.255.255.252
              ip route-cache flow

              !
              ip classless
              !
              !
              ip http server
              ip http access-class 23
              ip http authentication local
              ip http secure-server
              ip http timeout-policy idle 60 life 86400 requests 10000
              !
              ip access-list extended tempacc
              permit ip any any
              permit icmp any any
              permit tcp any any
              permit udp any any
              !
              access-list 10 permit any
              access-list 11 permit any
              !
              !
              !
              !
              control-plane
              !
              !

              #sh interfaces f0/1/0 description
              Interface                      Status         Protocol Description
              Fa0/1/0                        up             up

              #sh interfaces vlan 10 description
              Interface                      Status         Protocol Description
              Vl10                           up             up

              #sh interfaces f0/1/0 trunk

              Port      Mode         Encapsulation  Status        Native vlan
              Fa0/1/0   off          802.1q         not-trunking  1

              Port      Vlans allowed on trunk
              Fa0/1/0   10

              Port      Vlans allowed and active in management domain
              Fa0/1/0   10

              Port      Vlans in spanning tree forwarding state and not pruned
              Fa0/1/0   none

              #sh interfaces f0/1/0
              FastEthernet0/1/0 is up, line protocol is up
                Hardware is Fast Ethernet, address is 0017.59b6.fab1 (bia 0017.59b6.fab1)
                MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
                   reliability 255/255, txload 1/255, rxload 1/255
                Encapsulation ARPA, loopback not set
                Keepalive set (10 sec)
                Full-duplex, 100Mb/s
                ARP type: ARPA, ARP Timeout 04:00:00
                Last input 00:00:00, output never, output hang never
                Last clearing of "show interface" counters never
                Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
                Queueing strategy: fifo
                Output queue: 0/40 (size/max)
                5 minute input rate 0 bits/sec, 0 packets/sec
                5 minute output rate 0 bits/sec, 0 packets/sec
                   473 packets input, 35417 bytes, 0 no buffer
                   Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
                   0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
                   0 input packets with dribble condition detected
                   462 packets output, 35153 bytes, 0 underruns
                   0 output errors, 0 collisions, 2 interface resets
                   0 babbles, 0 late collision, 0 deferred
                   0 lost carrier, 0 no carrier
                   0 output buffer failures, 0 output buffers swapped out

              #sh interfaces vlan 10
              Vlan10 is up, line protocol is up
                Hardware is EtherSVI, address is 000a.b8d9.62b0 (bia 000a.b8d9.62b0)
                Internet address is 172.17.0.1/30
                MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
                   reliability 255/255, txload 1/255, rxload 1/255
                Encapsulation ARPA, loopback not set
                ARP type: ARPA, ARP Timeout 04:00:00
                Last input never, output never, output hang never
                Last clearing of "show interface" counters never
                Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 2
                Queueing strategy: fifo
                Output queue: 0/40 (size/max)
                5 minute input rate 0 bits/sec, 0 packets/sec
                5 minute output rate 0 bits/sec, 0 packets/sec
                   0 packets input, 0 bytes, 0 no buffer
                   Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
                   0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
                   3 packets output, 214 bytes, 0 underruns
                   0 output errors, 1 interface resets
                   0 output buffer failures, 0 output buffers swapped out


              #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 not set

                   172.17.0.0/30 is subnetted, 1 subnets
              C       172.17.0.0 is directly connected, Vlan10
              C    192.168.0.0/24 is directly connected, GigabitEthernet0/1


              Физика такая:
              1)По меди в транке приходят два влана
              2)Вланы через прокурву(HP ProCurve 2512) расходятся по портам
              3)Из ПроКурвы пачкордом в int f0/1/0 на циске

              НЕ РАБОТАЕТ!!!

              Провел следующего рода эксперименты:
              1)
              В конфигурации trunk->HP->CISCO
              Включал пачкорд в int gig0/0 давал ему адрес 172.17.0.1. РАБОТАЕТ!!!
              2)
              В конфигурации Trunk->HP->Notebook
              Включал в ПроКурву вместо циски ноут. РАБОТАЕТ!!!
              3)
              В конфигурации HP->CISCO
              На порт ПроКурвы повесил адрес 172.17.0.2. РАБОТАЕТ!!!

              ГДЕ ГРАБЛИ ТО?????????????




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

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