The OpenNET Project / Index page

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

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Доступ из разных VLAN."
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Доступ из разных VLAN." 
Сообщение от niick emailИскать по авторуВ закладки(ok) on 15-Ноя-05, 11:48  (MSK)
Здравствуйте! Подскажите, пожалуйста, пути решения. Ситуация следующая: стоит Cisco 3508G, к ней через GigabitEthernet подключена Cisco 2950; оба GigabitEthernet интерфейса настроены как trunk; encapsulation - dot1q. На Cisco 2950 добавил VLAN2. "Повесил" часть FastEthernet портов Cisco 2950 на VLAN2. Задача: Дать (если возможно на данном оборудовании)доступ компу, сидящему во VLAN2 к компу, сидящему в родном VLAN1. За ранее благодарен.
  Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

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

1. "Доступ из разных VLAN." 
Сообщение от Skif Искать по авторуВ закладки(ok) on 15-Ноя-05, 13:00  (MSK)
>Здравствуйте! Подскажите, пожалуйста, пути решения. Ситуация следующая: стоит Cisco 3508G, к ней
>через GigabitEthernet подключена Cisco 2950; оба GigabitEthernet интерфейса настроены как trunk;
>encapsulation - dot1q. На Cisco 2950 добавил VLAN2. "Повесил" часть FastEthernet
>портов Cisco 2950 на VLAN2. Задача: Дать (если возможно на данном
>оборудовании)доступ компу, сидящему во VLAN2 к компу, сидящему в родном VLAN1.
>За ранее благодарен.

либо маршрутизация, либо обучить комп(точнее сетевуху) понимать VLAN-ы

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "Доступ из разных VLAN." 
Сообщение от niick emailИскать по авторуВ закладки(ok) on 15-Ноя-05, 13:10  (MSK)
Спасибо за оперативный ответ, но.... всё же (поподробней) каким образом я на Cisco 3508G должен настроить маршрутизацию. И что значит обучить сетевуху понимать VLAN.


  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

3. "Доступ из разных VLAN." 
Сообщение от Skif Искать по авторуВ закладки(ok) on 15-Ноя-05, 21:13  (MSK)
>Спасибо за оперативный ответ, но.... всё же (поподробней) каким образом я на
>Cisco 3508G должен настроить маршрутизацию. И что значит обучить сетевуху понимать
>VLAN.

Рассмотрю пример для FBSD станции:
компилишь я дро с поддержкой vlan:
man vlan
NAME
     vlan -- IEEE 802.1Q VLAN network interface

SYNOPSIS
     device miibus
     device vlan

Ищешь там же интерфейс, который поддерживает организацию vlan на  сетевухе:
     The interfaces that support oversized frames are as follows:

           bfe(4)  supports long frames for vlan natively.

           dc(4)   supports long frames for vlan natively.

           de(4)   requires defining BIG_PACKET in the
                   /usr/src/sys/pci/if_de.c source file and rebuilding the
                   kernel or module.  The hack works only for the 21041,
                   21140, and 21140A chips.

           fxp(4)  supports long frames for vlan natively.

           hme(4)  supports long frames for vlan natively.

           rl(4)   supports long frames for vlan natively.

           sis(4)  supports long frames for vlan natively.

           ste(4)  supports long frames for vlan natively.

           tl(4)   has support for long frames.

           tx(4)   supports long frames for vlan natively.

           xl(4)   supports long frames only if the card is built on a newer
                   chip (Cyclone and above).

Потом изучаем man ifconfig на vlan
man ifconfig
.....
vlan vlan_tag
             If the interface is a vlan(4) pseudo interface, set the VLAN tag
             value to vlan_tag.  This value is a 16-bit number which is used
             to create an 802.1Q VLAN header for packets sent from the vlan(4)
             interface.  Note that vlan and vlandev must both be set at the
             same time.

     vlandev iface
             If the interface is a vlan(4) pseudo device, associate physical
             interface iface with it.  Packets transmitted through the vlan(4)
             interface will be diverted to the specified physical interface
             iface with 802.1Q VLAN encapsulation.  Packets with 802.1Q encap-
             sulation received by the parent interface with the correct VLAN
             tag will be diverted to the associated vlan(4) pseudo-interface.
             The vlan(4) interface is assigned a copy of the parent inter-
             face's flags and the parent's ethernet address.  The vlandev and
             vlan must both be set at the same time.  If the vlan(4) interface
             already has a physical interface associated with it, this command
             will fail.  To change the association to another physical inter-
             face, the existing association must be cleared first.

             Note: if the hardware tagging capability is set on the parent
             interface, the vlan(4) pseudo interface's behavior changes: the
             vlan(4) interface recognizes that the parent interface supports
             insertion and extraction of VLAN tags on its own (usually in
             firmware) and that it should pass packets to and from the parent
             unaltered.

     -vlandev iface
             If the driver is a vlan(4) pseudo device, disassociate the physi-
             cal interface iface from it.  This breaks the link between the
             vlan(4) interface and its parent, clears its VLAN tag, flags and
             its link address and shuts the interface down.

     vlanmtu, vlanhwtag
             If the driver offers user-configurable VLAN support, enable
             reception of extended frames or tag processing in hardware,
             respectively.  Note that this must be issued on a physical inter-
             face associated with vlan(4), not on a vlan(4) interface itself.

     -vlanmtu, -vlanhwtag
             If the driver offers user-configurable VLAN support, disable
             reception of extended frames or tag processing in hardware,
             respectively.

Настраиваем интерфейс и вуаля - комп может работать с двумя vlan-ами

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх


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

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ]




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

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