The OpenNET Project / Index page

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

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"InterVlan маршрутизация на 3750"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Маршрутизаторы CISCO и др. оборудование. (Диагностика и решение проблем)
Изначальное сообщение [ Отслеживать ]

"InterVlan маршрутизация на 3750"  +/
Сообщение от Vladimir email(??) on 08-Июл-12, 16:26 
Уважаемые, друзья. Прошу Вашей помощи.

Сеть(тестовая) состоит из 3ёх Cisco коммутаторов: C3750 (S1), C3550 (S2) и C2960 (S3), а также 3ёх маршрутизаторов: C2621 (R1), C1760 (R2), и C2610 (R3).

Схема: S3<-->S1<-->S2, на каждом коммутаторе висит роутер. R1 в Vlan10, R2 и R3 в Vlan20.
S1 выполняет функцию маршрутизации сетей с включённым процессом ip routing. Цель: чтобы рутеры пинговали друг друга.

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "InterVlan маршрутизация на 3750"  +/
Сообщение от anonymous (??) on 08-Июл-12, 17:11 
иииии?

где конфиги?

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "InterVlan маршрутизация на 3750"  +/
Сообщение от Vladimir email(??) on 08-Июл-12, 17:58 
C3750-S1-LAB#sh run
Building configuration...

Current configuration : 4490 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname C3750-S1-LAB
!
boot-start-marker
boot-end-marker
!
!
!
!
no aaa new-model
switch 1 provision ws-c3750-48ts
system mtu routing 1500
vtp domain LAB
vtp mode transparent
ip routing
no ip domain-lookup
!
!
!
!
crypto pki trustpoint TP-self-signed-1844256000
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1844256000
revocation-check none
rsakeypair TP-self-signed-1844256000
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 10,20,1985
!
!
!
!        
interface FastEthernet1/0/1
switchport access vlan 10
switchport mode access
!
interface FastEthernet1/0/5
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1985
switchport mode trunk
switchport nonegotiate
!
interface FastEthernet1/0/19
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet1/0/23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
ip address 10.10.10.11 255.255.255.0
!
interface Vlan10
ip address 192.168.127.254 255.255.128.0
!
interface Vlan20
ip address 172.16.15.254 255.255.240.0
!
interface Vlan1985
ip address 19.85.19.84 255.255.255.254
!
ip default-gateway 8.8.8.8
ip classless
ip http server
ip http secure-server
!
end


C3750-S1-LAB#sh int trunk

Port        Mode             Encapsulation  Status        Native vlan
Fa1/0/5     on               802.1q         trunking      1
Fa1/0/19    on               802.1q         trunking      1
Fa1/0/23    on               802.1q         trunking      1
Fa1/0/24    auto             n-isl          trunking      1

Port        Vlans allowed on trunk
Fa1/0/5     1985
Fa1/0/19    1-4094
Fa1/0/23    1-4094
Fa1/0/24    1-4094

Port        Vlans allowed and active in management domain
Fa1/0/5     1985
Fa1/0/19    1,10,20,1985
Fa1/0/23    1,10,20,1985
Fa1/0/24    1,10,20,1985

Port        Vlans in spanning tree forwarding state and not pruned
Fa1/0/5     1985
Fa1/0/19    1,10,20,1985
Fa1/0/23    1,10,20,1985
          
Port        Vlans in spanning tree forwarding state and not pruned
Fa1/0/24    1985


C3750-S1-LAB#sh span

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    32769
             Address     0014.6950.c280
             Cost        19
             Port        25 (FastEthernet1/0/23)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     001f.6ded.1d00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/19            Desg FWD 19        128.21   P2p
Fa1/0/20            Desg FWD 19        128.22   P2p
Fa1/0/23            Root FWD 19        128.25   P2p
Fa1/0/24            Altn BLK 19        128.26   P2p


          
VLAN0010
  Spanning tree enabled protocol ieee
  Root ID    Priority    32778
             Address     0014.6950.c280
             Cost        19
             Port        25 (FastEthernet1/0/23)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
             Address     001f.6ded.1d00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/1             Desg FWD 19        128.3    P2p
Fa1/0/19            Desg FWD 19        128.21   P2p
Fa1/0/23            Root FWD 19        128.25   P2p
Fa1/0/24            Altn BLK 19        128.26   P2p


          
VLAN0020
  Spanning tree enabled protocol ieee
  Root ID    Priority    32788
             Address     0014.6950.c280
             Cost        19
             Port        25 (FastEthernet1/0/23)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32788  (priority 32768 sys-id-ext 20)
             Address     001f.6ded.1d00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/19            Desg FWD 19        128.21   P2p
Fa1/0/23            Root FWD 19        128.25   P2p
Fa1/0/24            Altn BLK 19        128.26   P2p


          
VLAN1985
  Spanning tree enabled protocol ieee
  Root ID    Priority    34753
             Address     001f.6ded.1d00
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    34753  (priority 32768 sys-id-ext 1985)
             Address     001f.6ded.1d00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa1/0/5             Desg FWD 19        128.7    P2p
Fa1/0/19            Desg FWD 19        128.21   P2p
Fa1/0/23            Desg FWD 19        128.25   P2p
Fa1/0/24            Desg FWD 19        128.26   P2p

Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

3. "InterVlan маршрутизация на 3750"  +/
Сообщение от Vladimir email(??) on 08-Июл-12, 18:02 
C3550-S2-LAB#sh run
Building configuration...

Current configuration : 4538 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname C3550-S2-LAB
!
!
no aaa new-model
ip subnet-zero
no ip domain-lookup
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0/2
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/19
switchport trunk encapsulation dot1q
switchport mode trunk
!
!
interface FastEthernet0/23
switchport trunk encapsulation dot1q
switchport mode trunk
!        
interface Vlan1
ip address 10.10.10.12 255.255.255.0

C3550-S2-LAB#sh span

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    32769
             Address     0014.6950.c280
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     0014.6950.c280
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/19              Desg FWD 19        128.19   P2p
Fa0/20              Desg FWD 19        128.20   P2p
Fa0/23              Desg FWD 19        128.23   P2p
Fa0/24              Desg FWD 19        128.24   P2p

          
VLAN0010
  Spanning tree enabled protocol ieee
  Root ID    Priority    32778
             Address     0014.6950.c280
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
             Address     0014.6950.c280
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/19              Desg FWD 19        128.19   P2p
Fa0/20              Desg FWD 19        128.20   P2p
Fa0/23              Desg FWD 19        128.23   P2p
Fa0/24              Desg FWD 19        128.24   P2p

          
VLAN0020
  Spanning tree enabled protocol ieee
  Root ID    Priority    32788
             Address     0014.6950.c280
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32788  (priority 32768 sys-id-ext 20)
             Address     0014.6950.c280
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/2               Desg FWD 19        128.2    P2p
Fa0/19              Desg FWD 19        128.19   P2p
Fa0/20              Desg FWD 19        128.20   P2p
Fa0/23              Desg FWD 19        128.23   P2p
Fa0/24              Desg FWD 19        128.24   P2p

C3550-S2-LAB#sh int trunk

Port        Mode             Encapsulation  Status        Native vlan
Fa0/19      on               802.1q         trunking      1
Fa0/20      desirable        n-802.1q       trunking      1
Fa0/23      on               802.1q         trunking      1
Fa0/24      desirable        n-isl          trunking      1

Port        Vlans allowed on trunk
Fa0/19      1-4094
Fa0/20      1-4094
Fa0/23      1-4094
Fa0/24      1-4094

Port        Vlans allowed and active in management domain
Fa0/19      1,10,20
Fa0/20      1,10,20
Fa0/23      1,10,20
Fa0/24      1,10,20

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/19      1,10
Fa0/20      1
Fa0/23      1,20
          
Port        Vlans in spanning tree forwarding state and not pruned
Fa0/24      1,10,20

Ответить | Правка | ^ к родителю #2 | Наверх | Cообщить модератору

4. "InterVlan маршрутизация на 3750"  +/
Сообщение от Vladimir email(??) on 08-Июл-12, 18:05 
C2960-S3-LAB#sh run
Building configuration...

Current configuration : 3745 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname C2960-S3-LAB
!
boot-start-marker
boot-end-marker
!
!
!
!
no aaa new-model
system mtu routing 1500
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/3
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/19
switchport mode trunk


C2960-S3-LAB#sh span

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    32769
             Address     0014.6950.c280
             Cost        38
             Port        19 (FastEthernet0/19)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     001f.265c.8f00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/19              Root FWD 19        128.19   P2p
Fa0/20              Altn BLK 19        128.20   P2p
Fa0/23              Altn BLK 19        128.23   P2p
Fa0/24              Altn BLK 19        128.24   P2p


          
VLAN0010
  Spanning tree enabled protocol ieee
  Root ID    Priority    32778
             Address     0014.6950.c280
             Cost        38
             Port        19 (FastEthernet0/19)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32778  (priority 32768 sys-id-ext 10)
             Address     001f.265c.8f00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/19              Root FWD 19        128.19   P2p


          
VLAN0020
  Spanning tree enabled protocol ieee
  Root ID    Priority    32788
             Address     0014.6950.c280
             Cost        38
             Port        19 (FastEthernet0/19)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32788  (priority 32768 sys-id-ext 20)
             Address     001f.265c.8f00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/3               Desg FWD 19        128.3    P2p
Fa0/19              Root FWD 19        128.19   P2p


C2960-S3-LAB#sh int trunk

Port        Mode             Encapsulation  Status        Native vlan
Fa0/19      on               802.1q         trunking      1

Port        Vlans allowed on trunk
Fa0/19      1-4094

Port        Vlans allowed and active in management domain
Fa0/19      1,10,20

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/19      1,10,20

Ответить | Правка | ^ к родителю #3 | Наверх | Cообщить модератору

5. "InterVlan маршрутизация на 3750"  +/
Сообщение от Vladimir email(??) on 08-Июл-12, 18:11 
На R1 поднят
interface FastEthernet0/0
ip address 192.168.0.1 255.255.128.0
duplex auto
speed auto
!
ip default-gateway 192.168.127.254

R1 подключён к первому порту S1.


На R2 поднят
interface FastEthernet0/0
ip address 172.16.0.2 255.255.240.0
speed auto
!
ip default-gateway 172.16.15.254

R2 подключён ко второму порту S2


На R3 поднят
interface FastEthernet0/0
ip address 172.16.0.1 255.255.240.0
duplex auto
speed auto
!
ip default-gateway 172.16.15.254

R3 подключён к третьему порту S3

Ответить | Правка | ^ к родителю #4 | Наверх | Cообщить модератору

6. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 08-Июл-12, 18:48 
Зарегистрировался. Теперь жду с огромным нетерпением Вашей помощи, уважаемые коллеги.
Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

7. "InterVlan маршрутизация на 3750"  +/
Сообщение от Seva email(??) on 08-Июл-12, 19:43 
> Зарегистрировался. Теперь жду с огромным нетерпением Вашей помощи, уважаемые коллеги.

не ясно, в чём вопрос...
не понимаете как настроить??? или что то не работает???

Ответить | Правка | ^ к родителю #6 | Наверх | Cообщить модератору

8. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 08-Июл-12, 19:56 
>> Зарегистрировался. Теперь жду с огромным нетерпением Вашей помощи, уважаемые коллеги.
> не ясно, в чём вопрос...
> не понимаете как настроить??? или что то не работает???

Тут роутеры выступают просто в качестве хостов и задача заключается в том, чтобы два роутера, находящиеся в вилане 20, пинговали другой, находящийся в vl10. И наоборот соответсвенно. Это у меня не получается. Но роутеры R3 и R2 пингуют друг друга, так как находятся в одной сети.

Ответить | Правка | ^ к родителю #7 | Наверх | Cообщить модератору

9. "InterVlan маршрутизация на 3750"  +/
Сообщение от Seva email(??) on 08-Июл-12, 20:02 
а на 3750 SVI созданы?


Ответить | Правка | ^ к родителю #8 | Наверх | Cообщить модератору

10. "InterVlan маршрутизация на 3750"  +/
Сообщение от Seva email(??) on 08-Июл-12, 20:08 
sh ip route с 3750 пришлите


потом задайте ip адреса на vlan 10 и 20 3750 (терминируйте vlan)


и будет счастье...

Ответить | Правка | ^ к родителю #9 | Наверх | Cообщить модератору

11. "InterVlan маршрутизация на 3750"  +/
Сообщение от Seva email(??) on 08-Июл-12, 20:10 
щи то ето... на 3750...


ip default-gateway 8.8.8.8


Ответить | Правка | ^ к родителю #10 | Наверх | Cообщить модератору

12. "InterVlan маршрутизация на 3750"  +/
Сообщение от Дядя_Федор on 09-Июл-12, 12:16 
> ip default-gateway 8.8.8.8

Это значит, что он в сети Гугла настраивать сиськи. :))))))))))) А че - мудро. Хотя есть подозрение, что просто реальный ИП скрыт автором.


Ответить | Правка | ^ к родителю #11 | Наверх | Cообщить модератору

15. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 09-Июл-12, 12:51 
> щи то ето... на 3750...
> ip default-gateway 8.8.8.8

Это ещё один роутер, подключённый к 3750 fa1/0/5. Он в моей лабе выступает типа как провайерский роутер с лупбэк интерфейсом 8.8.8.8

Ответить | Правка | ^ к родителю #11 | Наверх | Cообщить модератору

14. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 09-Июл-12, 12:49 
>  sh ip route с 3750 пришлите
> потом задайте ip адреса на vlan 10 и 20 3750 (терминируйте vlan)
> и будет счастье...

     19.0.0.0/31 is subnetted, 1 subnets
C       19.85.19.84 is directly connected, Vlan1985
     172.16.0.0/20 is subnetted, 1 subnets
C       172.16.0.0 is directly connected, Vlan20
     10.0.0.0/24 is subnetted, 1 subnets
C       10.10.10.0 is directly connected, Vlan1
C    192.168.0.0/17 is directly connected, Vlan10

Ответить | Правка | ^ к родителю #10 | Наверх | Cообщить модератору

13. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 09-Июл-12, 12:48 
>  а на 3750 SVI созданы?

Ну да, вот же они
interface Vlan1
ip address 10.10.10.11 255.255.255.0
!
interface Vlan10
ip address 192.168.127.254 255.255.128.0
!
interface Vlan20
ip address 172.16.15.254 255.255.240.0

Ответить | Правка | ^ к родителю #9 | Наверх | Cообщить модератору

16. "InterVlan маршрутизация на 3750"  +1 +/
Сообщение от Seva (??) on 09-Июл-12, 13:00 
>>  а на 3750 SVI созданы?
> Ну да, вот же они
> interface Vlan1
>  ip address 10.10.10.11 255.255.255.0
> !
> interface Vlan10
>  ip address 192.168.127.254 255.255.128.0
> !
> interface Vlan20
>  ip address 172.16.15.254 255.255.240.0

некогда проверять, проверьте что подинтерфейс рутеров соотвествуют вланам если они воткнуты в транковые порты и конфиги портов если они воткнуты в access. где пинг теряется??? svi на свитче пингуется а directly connected сеть на этом свитче  не пингуется?

Ответить | Правка | ^ к родителю #13 | Наверх | Cообщить модератору

17. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 09-Июл-12, 13:11 
Вот такую я себе лабу сделал из реального железа. Потом буду BGP делать, когда с этим разберусь с Вашей помощью.
http://img193.imageshack.us/img193/1454/img0221vc.jpg
Ответить | Правка | ^ к родителю #16 | Наверх | Cообщить модератору

18. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 09-Июл-12, 13:26 

> некогда проверять, проверьте что подинтерфейс рутеров соотвествуют вланам если они воткнуты
> в транковые порты и конфиги портов если они воткнуты в access.
> где пинг теряется??? svi на свитче пингуется а directly connected сеть
> на этом свитче  не пингуется?

R1 R2 R3 и R4 втыкаются в access порты соответсвующих коммутаторов как на рисунке.
С R3 (который находится в vl 20) я пингую S1 (ip адрес int vlan 20 на S1) а также R2.
С R3 не пингуются R1 и R4, которые находятся в другой сети, а также, что совсем печально, не пингуется SVI vlan 10.

Ответить | Правка | ^ к родителю #16 | Наверх | Cообщить модератору

19. "InterVlan маршрутизация на 3750"  +/
Сообщение от Seva (??) on 09-Июл-12, 13:32 
а R1 и R4 пингуют друг друга и svi 10? что трассирока говорит??


Ответить | Правка | ^ к родителю #18 | Наверх | Cообщить модератору

20. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 09-Июл-12, 13:37 
> а R1 и R4 пингуют друг друга и svi 10? что трассирока
> говорит??

Опа, обнаружилось, что R1 пингует SVI 10 но до R4 достучаться не может.  
А с R4 не пингуются ни R1 ни SVI 10.

Ответить | Правка | ^ к родителю #19 | Наверх | Cообщить модератору

21. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 09-Июл-12, 14:21 
> а R1 и R4 пингуют друг друга и svi 10? что трассирока
> говорит??

Тут дело в S1 скорее всего. Ведь R3 пингует как svi vlan 20 так и R2. А вот svi vlan 10 не пингует, не говоря уже об R1.

Ответить | Правка | ^ к родителю #19 | Наверх | Cообщить модератору

22. "InterVlan маршрутизация на 3750"  +/
Сообщение от Engineering email(ok) on 12-Июл-12, 19:14 
Проблема устраненна :) Нужно было просто отключить ip routing на рутерах :) Ведь дефолт шлюз не работает на рутере в ситуации, когда включена маршрутизация :) Или же можно при включённой маршрутизации, не указывая деволт геитвей прописать статический маршрут на SVI.
Ответить | Правка | ^ к родителю #21 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




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

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