Перейти до

Поддержка Option 82 на OLT


prototip

Рекомендованные сообщения

  • 5 weeks later...
  • Відповіді 133
  • Створено
  • Остання відповідь

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Я думал некие китайские поделия. А эти - чистый бридж. Не надо фантазировать.

Пробую настроит opt82 на BDCOM P3310 , но пока просвета нет. Застрял на двух вещах не могу получить номер ONU или ее МАК. Мак OLD получил, влан тоже , порт пон есть, а вот номер ону ни как.
P3310 - BDCOM P3310B Software, Version 10.1.0B Build 14297
ОНУ – P1004

Сонфиг OLT-а

interface GigaEthernet0/1
 switchport trunk vlan-allowed 171
 switchport mode trunk
  dhcp snooping trust
interface EPON0/1
!
 epon bind-onu mac fcfa.f796.593c 1
 epon bind-onu mac fcfa.f796.5773 2
 switchport trunk vlan-allowed 171
 switchport mode trunk
!
interface EPON0/1:1
 onu-configuration
  epon onu port 1 ctc vlan mode tag 171
  epon onu port 1 loopback detect
  epon onu port 2 loopback detect
  epon onu port 3 loopback detect
  epon onu port 4 loopback detect
!
ip dhcp-relay snooping
ip dhcp-relay snooping vlan  171
ip dhcp-relay snooping information option

конф dhcpd

log(info, "***");
if exists agent.circuit-id {
  log( info,concat("*Leased ",binary-to-ascii(10,8,".",leased-address)," (with opt82)") );
  log(info, "---FoxGate---");
  log( info,concat("*Remote-ID: ",binary-to-ascii (16,8, ":", option agent.remote-id)) );
  log( info,concat("*circuit-id: ",binary-to-ascii(16,8,"",option agent.circuit-id)) );

  log(info, "---BDCOM_1---");
  log( info,concat("*SWITCH: ",binary-to-ascii(16,8,":",substring(option agent.remote-id,1,6))) );
  log( info,concat("*VLAN: ",binary-to-ascii (10,16,"",substring(option agent.circuit-id,2,2))) );
  log( info,concat("*OLT: ",binary-to-ascii(10,8,"",suffix(option agent.circuit-id,1))) );

  log(info, "---BDCOM_2---");
  log( info,concat("*SWITCH: ",binary-to-ascii(16,8,":",substring(option agent.remote-id,0,6))) );
  log( info,concat("*VLAN: ",binary-to-ascii(10,8,"",substring(option agent.circuit-id,1,1))) );
  log( info,concat("*OLT: ",binary-to-ascii(10,8,"",substring(option agent.circuit-id,3,1))) );
  log( info,concat("*ONU: ",binary-to-ascii(10,8,"",substring(option agent.circuit-id,4,1))) );

} else {
  log( info,concat("*Leased ",binary-to-ascii(10,8,".",leased-address)," (without opt82)") );
}

лог dhcp

Oct 25 09:24:05 orf dhcpd: ---FoxGate---
Oct 25 09:24:05 orf dhcpd: *Remote-ID: 0:6:fc:fa:f7:c9:1a:a9
Oct 25 09:24:05 orf dhcpd: *circuit-id: 040ab07
Oct 25 09:24:05 orf dhcpd: ---BDCOM_1---
Oct 25 09:24:05 orf dhcpd: *SWITCH: 6:fc:fa:f7:c9:1a
Oct 25 09:24:05 orf dhcpd: *VLAN: 171
Oct 25 09:24:05 orf dhcpd: *OLT: 7
Oct 25 09:24:05 orf dhcpd: ---BDCOM_2---
Oct 25 09:24:05 orf dhcpd: *SWITCH: 0:6:fc:fa:f7:c9
Oct 25 09:24:05 orf dhcpd: *VLAN: 4
Oct 25 09:24:05 orf dhcpd: *OLT: 171
Oct 25 09:24:05 orf dhcpd: *ONU: 0
Oct 25 09:24:05 orf dhcpd: ***

И второй момент получил я ip по dhcp все гут пинг на сервер ходит , проставляю я на ПК ip вручную НО ПИНГ все равно ходит, как же так ? Зачем же такой снупинг нужен ?
 

Відредаговано mcym
Ссылка на сообщение
Поделиться на других сайтах

Пробую настроит opt82 на BDCOM P3310 , но пока просвета нет. Застрял на двух вещах не могу получить номер ONU или ее МАК. Мак OLD получил, влан тоже , порт пон есть, а вот номер ону ни как.

P3310 - BDCOM P3310B Software, Version 10.1.0B Build 14297

ОНУ – P1004

Сонфиг OLT-а

interface GigaEthernet0/1
 switchport trunk vlan-allowed 171
 switchport mode trunk
  dhcp snooping trust
interface EPON0/1
!
 epon bind-onu mac fcfa.f796.593c 1
 epon bind-onu mac fcfa.f796.5773 2
 switchport trunk vlan-allowed 171
 switchport mode trunk
!
interface EPON0/1:1
 onu-configuration
  epon onu port 1 ctc vlan mode tag 171
  epon onu port 1 loopback detect
  epon onu port 2 loopback detect
  epon onu port 3 loopback detect
  epon onu port 4 loopback detect
!
ip dhcp-relay snooping
ip dhcp-relay snooping vlan  171
ip dhcp-relay snooping information option

конф dhcpd

log(info, "***");
if exists agent.circuit-id {
  log( info,concat("*Leased ",binary-to-ascii(10,8,".",leased-address)," (with opt82)") );
  log(info, "---FoxGate---");
  log( info,concat("*Remote-ID: ",binary-to-ascii (16,8, ":", option agent.remote-id)) );
  log( info,concat("*circuit-id: ",binary-to-ascii(16,8,"",option agent.circuit-id)) );

  log(info, "---BDCOM_1---");
  log( info,concat("*SWITCH: ",binary-to-ascii(16,8,":",substring(option agent.remote-id,1,6))) );
  log( info,concat("*VLAN: ",binary-to-ascii (10,16,"",substring(option agent.circuit-id,2,2))) );
  log( info,concat("*OLT: ",binary-to-ascii(10,8,"",suffix(option agent.circuit-id,1))) );

  log(info, "---BDCOM_2---");
  log( info,concat("*SWITCH: ",binary-to-ascii(16,8,":",substring(option agent.remote-id,0,6))) );
  log( info,concat("*VLAN: ",binary-to-ascii(10,8,"",substring(option agent.circuit-id,1,1))) );
  log( info,concat("*OLT: ",binary-to-ascii(10,8,"",substring(option agent.circuit-id,3,1))) );
  log( info,concat("*ONU: ",binary-to-ascii(10,8,"",substring(option agent.circuit-id,4,1))) );

} else {
  log( info,concat("*Leased ",binary-to-ascii(10,8,".",leased-address)," (without opt82)") );
}

лог dhcp

Oct 25 09:24:05 orf dhcpd: ---FoxGate---
Oct 25 09:24:05 orf dhcpd: *Remote-ID: 0:6:fc:fa:f7:c9:1a:a9
Oct 25 09:24:05 orf dhcpd: *circuit-id: 040ab07
Oct 25 09:24:05 orf dhcpd: ---BDCOM_1---
Oct 25 09:24:05 orf dhcpd: *SWITCH: 6:fc:fa:f7:c9:1a
Oct 25 09:24:05 orf dhcpd: *VLAN: 171
Oct 25 09:24:05 orf dhcpd: *OLT: 7
Oct 25 09:24:05 orf dhcpd: ---BDCOM_2---
Oct 25 09:24:05 orf dhcpd: *SWITCH: 0:6:fc:fa:f7:c9
Oct 25 09:24:05 orf dhcpd: *VLAN: 4
Oct 25 09:24:05 orf dhcpd: *OLT: 171
Oct 25 09:24:05 orf dhcpd: *ONU: 0
Oct 25 09:24:05 orf dhcpd: ***

И второй момент получил я ip по dhcp все гут пинг на сервер ходит , проставляю я на ПК ip вручную НО ПИНГ все равно ходит, как же так ? Зачем же такой снупинг нужен ?

 

 

снупинг захищає від інших dhcp, те. :

якщо абонент включить мідний порт від ONU в LAN а не в WAN порт свого роутера, то інші абоненти небудуть отримувати IP по локалі від його роутера. ті пакети будуть дропатись на OLT де налаштований снупінг.

А від статичних IP може захистити хіба що закріплення за MAC в ARP листах.

Ссылка на сообщение
Поделиться на других сайтах

 

снупинг захищає від інших dhcp, те. :

якщо абонент включить мідний порт від ONU в LAN а не в WAN порт свого роутера, то інші абоненти небудуть отримувати IP по локалі від його роутера. ті пакети будуть дропатись на OLT де налаштований снупінг.

А від статичних IP може захистити хіба що закріплення за MAC в ARP листах.

 

На FoxGate 61 и 62 серии это все  сделано в одном флаконе. 

По совету опытных товарищей (Огромное спасибо John_Doe  что не отказал в консультации)  сделал так:

interface GigaEthernet0/1
 switchport trunk vlan-allowed 171
 switchport mode trunk
  dhcp snooping trust
  arp inspection trust
  ip-source trust

ip dhcp-relay snooping
ip dhcp-relay snooping vlan  171
ip arp inspection vlan  171
ip verify source vlan  171
ip dhcp-relay snooping information option format hn-type host

Ссылка на сообщение
Поделиться на других сайтах
  • 2 weeks later...

Да все работает с ИСЦ.

в конфиг олта нужно добавить

ip dhcp-relay snooping information option format hn-type host

т.е. опцию слать в циско-лайк формате, а там уже разбираете ее на составные части :)

Ссылка на сообщение
Поделиться на других сайтах


!version 10.1.0B build 14297
service timestamps log date
service timestamps debug date
!
!
!
ip default-gateway 10.10.100.254
!
spanning-tree mode rstp
!
!
!
!
!
!
aaa authentication login default local
aaa authentication enable default enable
!
username admin
!
!


!!slot 0 84
!
interface GigaEthernet0/5
 switchport trunk vlan-allowed 21,100
 switchport mode trunk
  dhcp snooping trust
  arp inspection trust
  ip-source trust
!
!
!
interface EPON0/2
 epon bind-onu mac fcfa.f7c5.12b4 1
 switchport trunk vlan-allowed 21
 switchport mode trunk
!
interface EPON0/2:1
 onu-configuration
!!onu-configuration-end
!
!!slot end
!
interface VLAN100
 ip address 10.10.100.8 255.255.255.0
!
!
!
vlan 1,21,38,100
!
!
!
ip dhcp-relay snooping
ip dhcp-relay snooping vlan  21,100
ip arp inspection vlan  21
ip verify source vlan  21
ip dhcp-relay snooping information option format hn-type host
ip dhcp-relay agent
ip dhcp-relay helper-address 10.10.100.254 vlan 21,100


подскажите, что не дописал? ибо тишина

Відредаговано xKor
Ссылка на сообщение
Поделиться на других сайтах

А что значит тишина ? Как проверяете? У меня все работает. Разница только у меня  switchport trunk vlan-untagged none- на обоих интерфейсах и switchport pvid 100 на EPON. Но эти параметры не должны влиять на работу opt.82

Ссылка на сообщение
Поделиться на других сайтах

Кто нибудь пробовал настроить option82 на микротиках?

В связке микротик - Р3310 как я понял в разделе опшенс микротика нужно создать запись с значением 0x0001000705   (vlan1, slot 0, port olt 1, onu 5) а потом в networks прописать параметры выдаваемые для клиента подключенного к ону описанного в вышеуказанной записи.

В олт:

в сети траффик не тегированный потому  я думаю конфигурация должна быть такой

interface GigaEthernet0/3
  dhcp snooping trust
  arp inspection trust
  ip
-source trust

ip dhcp
-relay snooping
ip dhcp
-relay snooping vlan  1
ip arp inspection vlan  1
ip verify source vlan  1
ip dhcp-relay snooping information option format hn-type host

 

Пока что связку не тестил, просто интересно кто что думает про это?

В конце недели должен приехать новый олт, буду ковырять...

Ссылка на сообщение
Поделиться на других сайтах
  • 2 months later...

Добрый день!
кто подскажет как дхсп логом взять номер влана
Circuit-ID    04:57:00:0a:17

04:57 - есть номер влана
но никак не могу его логом достать
спасибо за помощь.

Ссылка на сообщение
Поделиться на других сайтах

Добрый день!

кто подскажет как дхсп логом взять номер влана

Circuit-ID    04:57:00:0a:17

04:57 - есть номер влана

но никак не могу его логом достать

спасибо за помощь.

Разобрался!

Ссылка на сообщение
Поделиться на других сайтах

Помогите связать ОЛТ с микротик, в частности что нужно прописывать на микротике

на олт прописал

ip dhcp-relay snooping
ip dhcp-relay snooping vlan  500
ip dhcp-relay snooping information option

Ссылка на сообщение
Поделиться на других сайтах

Помогите связать ОЛТ с микротик, в частности что нужно прописывать на микротике

на олт прописал

ip dhcp-relay snooping

ip dhcp-relay snooping vlan  500

ip dhcp-relay snooping information option

А что надо-то сделать?

Ссылка на сообщение
Поделиться на других сайтах

На счет порта порта онушки не уверен, возможно ли такое у bdcom.

С микротиком не знаком, поэтому могу подсказать только где и как получить некоторые данные из опции82, но реализацию не подскажу, но по-моему микровтык такого не умеет.

Відредаговано passer
Ссылка на сообщение
Поделиться на других сайтах
  • 3 weeks later...
  • 1 month later...

Я тут читал-читал, и у меня один вопрос: как на ONU 1501C (режим строго бридж, никаких роутеров) разрешить только один МАК?

Типа как в свичах port-security и тоже ограничение в 1 мак на абон.порту...

Ссылка на сообщение
Поделиться на других сайтах

А что у P1501C нет port-security? У меня олт и тестовый P1501C в разных местах, проверить не могу. На P1004B - включил.

Відредаговано passer
Ссылка на сообщение
Поделиться на других сайтах

Я тут читал-читал, и у меня один вопрос: как на ONU 1501C (режим строго бридж, никаких роутеров) разрешить только один МАК?

Типа как в свичах port-security и тоже ограничение в 1 мак на абон.порту...

interface EPON0/X:X

switchport port-security dynamic maximum XX

где XX количество маков на одну онушку

Ссылка на сообщение
Поделиться на других сайтах

Я тут читал-читал, и у меня один вопрос: как на ONU 1501C (режим строго бридж, никаких роутеров)

 

скажите, а что можно настроить онушку как роутер?

Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Вхід

Уже зарегистрированы? Войдите здесь.

Войти сейчас
  • Зараз на сторінці   0 користувачів

    Немає користувачів, що переглядають цю сторінку.

  • Схожий контент

    • Від ikoko
      Продам olt bdcom 3310b з 2 блоками живлення б.у.
      2 порта epon не працює і 1 порт езернет порт також не працює - 4 000 грн. за олт.
    • Від AlinaQuan
      🚀 Introducing Our High-Performance OLT Solutions for Next-Gen Networks! 🚀
       
      Are you ready to elevate your network infrastructure to unparalleled levels of efficiency and speed? Look no further! Our cutting-edge GPON and EPON OLT solutions are here to revolutionize your network operations.
       
      🔹 GPON OLT: With options ranging from 4 to 16 ports, our GPON OLT delivers lightning-fast connectivity and unparalleled reliability. Whether you're managing a small-scale deployment or a large enterprise network, our GPON OLTs offer the scalability and performance you need to stay ahead of the curve.
      30000UAH/pcs
       
      🔹 EPON OLT: Experience the power of simplicity with our EPON OLT solutions. Available in 4 and 8 port configurations, our EPON OLTs provide seamless integration and hassle-free management for your network infrastructure. Say goodbye to complexity and hello to streamlined operations!
      20000UAH/pcs
       
      Why Choose Our OLT Solutions?
      ✅ Scalability: Scale your network effortlessly with our versatile OLT solutions, accommodating growing demands without compromising performance. ✅ Reliability: Built to withstand even the most demanding network environments, our OLTs ensure uninterrupted connectivity and minimal downtime. ✅ Ease of Management: Simplify your network operations with intuitive management interfaces and robust monitoring capabilities. ✅ Future-Proof: Stay ahead of technological advancements with our forward-thinking OLT solutions, designed to support future network requirements.
       
      Don't miss out on this opportunity to supercharge your network infrastructure! Contact us today to learn more about our GPON and EPON OLT solutions and take your network to the next level.
    • Від AlinaQuan
      Hi, it's so great to meet you here. We are a Chinese factory that located in Shenzhen, China. Most of our clients are Operator and ISP.
       
      We have only 3 main product line currently, 
       
      Product Line 1: GPON/EPON/XGPON OLT, and we are the only factory that work XGSPON OLT out in similar level factory. No company has XGSPON OLT, except company like Huawei, ZTE!
       8300 to 118290UAH  FOR EPON/ GPON OLT
       
      Product Line 2: GPON/EPON/XGPON ONU WIFI 5 and WIFI 6, we are working on XGSPON ONU. And MDU, 4, 8 ports, no POE and with POE port!
      800-3000UAH/pcs (Retail Price) 4GE WIFI 6 AX3000 Dual Band GPON/EPON ONU With CATV por
       
      Product Line 3: It's our Switches, we got Enthernet Switch, All-optical Switch,Access Layer,Distribution Layer,Core Layer, we all have. 
      2500UAH/pcs  to 120000UAH FOR Ethernet, All-optical switch
      And you can also buy OLT from Ukraine local, saving your time, shipping cost !
      Anyway, welcome to contact me for more details! Whatsapp/Viber / Wechat: +8618086327779 !
      Wish you guys have a nice day!
    • Від AlinaQuan
      Привіт усім!
      Сьогодні я хочу поділитися з вами деякою інформацією про PON (Passive Optical Network), а також про переваги використання GPON (Gigabit Passive Optical Network) у проектах FTTH (Fiber to the Home).
       
      PON - це технологія передачі даних, яка використовує оптичні волокна для передачі сигналів до кінцевих користувачів без необхідності використання активного обладнання на шляху. Це дозволяє зменшити витрати на енергію та обслуговування мережі.
       
      Звіт про PON мережеву архітектуру та порівняння GPON, EPON і XGSPON у вигляді таблиці зображений нижче:
       
      Однією з найпопулярніших реалізацій PON є GPON. GPON забезпечує велику пропускну здатність і високу якість обслуговування для кінцевих користувачів. У FTTH проектах використання GPON має численні переваги, такі як зменшення витрат на інфраструктуру, покращення якості послуг та забезпечення масштабованості мережі.
      У моделі GPON мережі є два основних компонента: GPON OLT (Optical Line Terminal) та GPON ONU (Optical Network Unit). GPON OLT знаходиться на стороні провайдера і забезпечує з'єднання зі структурою оптичної мережі. GPON ONU розташовується на стороні користувача і використовується для підключення до оптичної мережі.
       
      При будівництві XGSPON мережі, хоча вона забезпечує найвищу на сьогоднішній день швидкість передачі даних, пристрої XGSPON OLT та XGSPON ONU, які використовуються в ній, мають високу вартість, що не є оптимальним вибором для домашніх мереж. Таким чином, на сьогоднішній день, GPON здається найбільш вигідним рішенням для мережі!
       
      Примітка: усе це перекладено програмним забезпеченням. Ласкаво просимо вказати на це, якщо є проблеми з граматикою чи орфографією.
       
    • Від AlinaQuan
      In the world of fiber optic technology, two terms you might come across are GPON and XGSPON. But what do they mean, and how are they different? Let's dive in and explore these fascinating technologies in simple terms!
       
      What is GPON?
      GPON stands for Gigabit Passive Optical Network. It's a widely used technology for delivering high-speed internet and other services over fiber optic cables. GPON operates by splitting the fiber optic signal into multiple channels, allowing for efficient transmission of data to multiple users simultaneously. It's like having multiple lanes on a highway, ensuring smooth traffic flow even during peak hours.
       
      What is XGSPON?
      XGSPON, on the other hand, stands for 10-Gigabit-capable Passive Optical Network. As the name suggests, XGSPON takes things up a notch by offering even faster speeds than GPON. With XGSPON, data can be transmitted at speeds of up to 10 gigabits per second (Gbps), making it ideal for bandwidth-intensive applications like ultra-high-definition video streaming and virtual reality gaming.
       
      Key Differences:
      Speed: The main difference between GPON and XGSPON is the speed they offer. While GPON typically provides speeds of up to 2.5 Gbps downstream and 1.25 Gbps upstream, XGSPON can deliver speeds of up to 10 Gbps in both directions.
      Bandwidth: With its higher speed capabilities, XGSPON offers greater bandwidth for handling large amounts of data traffic. This makes it well-suited for scenarios where multiple users require ultra-fast internet access simultaneously.
      Compatibility: GPON and XGSPON are not directly compatible with each other. Upgrading from GPON to XGSPON typically requires replacing the optical line terminal (OLT) equipment at the service provider's end, as well as upgrading the customer premises equipment (CPE) such as ONUs or ONTs.
      Conclusion
       
      In summary, GPON and XGSPON are both powerful technologies for delivering high-speed internet over fiber optic networks. While GPON offers impressive speeds suitable for most residential and small business applications, XGSPON takes things to the next level with its blazing-fast speeds and increased bandwidth capacity. Whether you're streaming your favorite shows, gaming online, or running a business, these technologies pave the way for a connected future where speed knows no bounds!

       
      And there you have it – a simple breakdown of the differences between GPON and XGSPON. Keep exploring, keep innovating, and let's continue to ride the wave of fiber optic technology into the future! 🌐✨
       
      Contact Whatsapp / Viber / Wechat +86 18086327779 for more details!

×
×
  • Створити нове...