Skip to main content
Macvlan和IPvlan

Macvlan和IPvlan

  • Macvlan:在同一个物理网卡上配置多个 MAC 地址,即多个 sub interface,物理网卡称为parent interface。每个 interface 可以配置自己的 IP。macvlan 本质上是一种网卡虚拟化技术(最大优点是性能极好)
  • IPVlan 和 macvlan 类似,都是从一个主机接口虚拟出多个虚拟网络接口。一个重要的区别就是所有的虚拟接口都有相同的 macv 地址,而拥有不同的 ip 地址。因为所有的虚拟接口要共享 mac 地址,因此在HDCP协议分配ip的时候需要配置唯一的 ClientID 来区分设备而不是仅仅使用 mac 地址

Yujie LiuAbout 2 minComputer Science, NetworkUbuntu
Start a AP on Ubuntu 22.04 for your Raspberry Pi 4B

Start a AP on Ubuntu 22.04 for your Raspberry Pi 4B

I woule like to use my Rasp 4B to start an AP for my internal network. Here is my configurations.

  1. Install packages needed: hostapd is used to start an AP, and dnsmasq is a DHCP service for assigning IP address to connected devices.

Yujie LiuAbout 2 minComputer Science, NetworkUbuntuRaspbarry Pi