Перейти до

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

Народ, всем привет. Подскажите, такая фигня. Поставил себе VyOS на старый ПК для ознакомления. Втыкнул вторую сетевую.

Настроил eth0 = local, eth1=WAN, nat, dns forwarding. Всё работает. Получаю инет от провайдера (dhcp с привязкой по маку). Соответственно мак присваиваю eth1 принудительно.

Беда вот в чем - после ребута "сервака" рандомно меняется индекс WAN сетевой (с eth1 на eth2) и, соответственно, слетают все настройки с этой карты. Как быть, чо делать, куда копать?

Буду благодарен как за детальное разжевывание инфы, так и за пинок в сторону правильного запроса в гугле. Всем спасибо, всем гиговый линк в хату! :)

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

from wiki:

 

Troubleshooting

There may be issues where your interface names will change. This could be because your MAC address changed. For example I migrated VYOS in a VM to a different host, well now my interfaces are showing as eth4,eth5,eth6.

To fix this issue log into vyos then run this command to display your interface settings. 

CAT /config/config.boot

Make a note of IP address and MAC address. 

One way to fix this is to update the MAC address in the configuration. Run this command specifying interface that you want changed and MAC address.

set interfaces eth0 hw-id 00:0c:29:da:a4:fe'

If it is a VM go into the settings of the host and set the MAC address to the settings found in the config.boot file. Also if the host allows set MAC to be static.

Ссылка на сообщение
Поделиться на других сайтах
Опубліковано: (відредаговано)

Именно этой командой я и менял мак. 

А ещё set in et eth2 mac XX:XX:XX:XX:XX:XX.

Всё равно меняется имя интерфейса.

И ещё туда же по VyOS сразу вопрос закину - не могу поднять соединение по pptp. Конфиг точь в точь как на вики (как на сервер pptp так и на firewall).

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

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

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

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

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

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

Вхід

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

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

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

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

    • Від AlinaQuan
      Hey, fellows, our S6865-56YC switch is a high-performance and high-density uplink switch with 25Gigabit Downlink & 100Gigabit Uplink, which is designed and developed by our company independently. The whole switch adopts advanced hardware structure design and pluggable power redundancy design.
       
      It can support a maximum of 48 *25Gigabit ports, 8*100G uplink ports, provide full port L2/L3 line speed forwarding capability, and support IPV6. This device provides rich service features and powerful functions, such as ACL policies, flexible Q-in-Q, and network security protection.
       
      Meanwhile, the product has the highest 10 Gigabit port density and the largest switching capacity of the same grade equipment in the industry, and supports full-port line speed forwarding. The elastic stack function virtualizes multiple devices into a logical entity, which can expand port and switching capacity, manage, upgrade, and maintain multiple devices in a unified manner.
       
      To meet the requirements of large data traffic and non-blocking transmission in data centers, the product provides powerful cache capabilities and supports advanced cache scheduling mechanisms to ensure the maximum effective utilization of the device's cache capabilities. It is designed to meet the requirements of high-density and high-bandwidth network applications in next-generation enterprise networks, data centers and metropolitan area networks.
       
      It can be applied to the Ethernet aggregation layer or access layer of network operators or campuses, as well as the access layer of data centers and the core layer of small and medium-sized enterprises, and provides rich server access solutions for data centers.  
                                                                                                          S6865-56YC (1+1 modular redundant power supply)  
       
      More details, contact me directly!
      Whatsapp/ Viber/ Wehcat : +86 18086327779
      Skype: alinaquan14@hotmail.com
       
    • Від vlin
      В мережі одночасно працюють 7 штук ону Optolink E3 з маком e0:67:b3:00:00:01
      Остання зявилася після відключення світла у абона. До цього у ону мак був e0:e8:e6:хх:хх:хх
      Думаю що перший заводський, потім в нього шиють унікальний. А останній інколи злітає
      В когось є ону з маком e0:67:b3:00:00:01 ?
    • Від a_n_h
      Подскажите, возможно-ли увидеть мас адрес gpon onu?
    • Від yama
      подскажите по фото как к одной ONU подключено два роутера по ethernet ?
       Gpon приходит  , а на выходе  подключено два роутера по ethernet 
       свича/комутатора не вижу ... что за фантастика ... 
       Как я понимаю по фото : 8 парний кабель разделили на два  4 парн.  и завели двум абонентам   у каждого по роутеру ...  но  как ? ведь из ONU один выход  ethernet  или бывает два???
       
       


    • Від 46Tolik
      Есть BMC (IPMI) c неизвестным IP адресом (статический 100%). Известен MAC адрес сетевой BMC (IPMI)
      Подскажите как узнать IP адрес? Ни подсеть ни маска не известны.
       
      Запустить плату и посмотреть/выставить в BIOS не вариант
×
×
  • Створити нове...