Linux: IP псевдоним по сравнению с iproute

У меня также была эта проблема, обычно перезапущение маршрутизатора исправляет ее (затем перезагрузка систем/возобновления IP). Я не знаю то, что вызывает его точно, но это, вероятно, имеет некоторое отношение к arp, кэширующемуся (или некоторый другой мистический кэш маршрутизатора).

4
задан 12 October 2018 в 07:55
1 ответ

Yes, device aliases are deprecated, and have been for a long time. My guess is that they'll probably never go away, because far too many people will go to their graves using aliases because that's what they've always done.

There's not a huge amount of difference between the two approaches, in practice; I've switched to using iproute mainly because it saves me having to think about interfaces -- rather than having to go "which alias has the IP address I want to remove?" or "what's the next alias interface name that's available?" I can just say "oh, I'd like another IP address or four on this interface" and "let's just delete that IP address from that interface". It's just plain neater, IMO.

4
ответ дан 3 December 2019 в 03:34

Теги

Похожие вопросы