要使用mac給小騰共享網(wǎng)絡(luò)挖炬,根據(jù)官方文檔 https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC1/Hardware%20Interfaces/hiug/hiug_0061.html
進行設(shè)置之后聚请,如果還不能共享網(wǎng)絡(luò)质帅,需要到小騰上查看其網(wǎng)絡(luò)配置:
https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC1/Hardware%20Interfaces/hiug/hiug_0058.html
修改開發(fā)者套件網(wǎng)口IP地址-官方文檔
eth1對應(yīng)的默認(rèn)路由“via”要與mac上設(shè)置的一致。
小騰網(wǎng)絡(luò)配置
Mac網(wǎng)絡(luò)配置
并且,Mac設(shè)置中的internet sharing的設(shè)置只開啟對應(yīng)端口:
Mac系統(tǒng)設(shè)置
如果是用windows連,01-netcfg.yaml里eth1-routes-via設(shè)置的IP地址設(shè)成對應(yīng)的192.168.137.1即可。