proxmox網絡-含bridge,routerd、masquerade模式、vlan、bond等 其中routered模式涉及到proxy_arp原理


proxmox網絡較為復雜:
1、bridge模式
傳統的linux bridge模式
ovs模式

2、routered路由模式
proxy—arp
放個圖:

例子1:

3、masquerade

4、vlan模式
vlan覺醒

5、bond模式

這里還涉及到一個問題,網絡如何在不重啟的情況下生效,pve 6.1更新中提到,從6.1開始,在安裝apt-get install ifupdown2后,可以在web gui中點擊apply changes在不重啟pve的情況下讓網絡生效。需要注意的是ifupdown2與ovs有兼容性的問題,如果配合ovs使用,需要將ifupdown2 back到ifupdown,看wiki的說法:
installing ifupdown2 will remove ifupdown, but as the removal scripts of ifupdown before version 0.8.35+pve1 have a issue where network is fully stopped on removal [1] you must ensure that you have a up to date ifupdown package version.
For the installation itself you can then simply do:
apt install ifupdown2
With that you’re all set. You can also switch back to the ifupdown variant at any time, if you run into issues.
上面簡單翻譯下:安裝ifupdown2會自動卸載ifupdown,但是ifupdown(在0.8.35+pve1之前的版本)的卸載腳本會在卸載時停止網絡,所以確保安裝ifupdown2時ifupdown的版本比0.8.35+pve1更新。

參考文章:Wiki: https://pve.proxmox.com/wiki/Network_Configuration#_footnoteref_1

疑問:
如何從ifupdown2 back到ifupdown???
如何使用ovs
如何理解routered模式


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM