Jump to content

Recommended Posts

Posted

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

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

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

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

Posted

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.

Posted (edited)

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

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

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

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

Edited by bulgar

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...