TOPST D3-G Yocto 환경에서 eth0 에 고정 MAC Address 할당하기

안녕하세요. TOPST 입니다.

D3-G Yocto 실행 환경에서 eth0 의 mac address가 부팅 시, 계속 변경됩니다.
mac address를 고정하고자 하실 때는 아래와 같이 환경 파일을 작성해 주세요.

root@d3-g-topst-main:~# vi /etc/systemd/network/10-eth0.network
[Match]
Name=eth0
 
[Link]
MACAddress=00:11:22:33:44:55
 
[Network]
DHCP=yes
 
root@d3-g-topst-main:~# sync
1 Like