要使用mac给小腾共享网络,根据官方文档 https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC1/Hardware%20Interfaces/hiug/hiug_0061.html
进行设置之后,如果还不能共享网络,需要到小腾上查看其网络配置:
https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC1/Hardware%20Interfaces/hiug/hiug_0058.html
eth1对应的默认路由“via”要与mac上设置的一致。
小腾网络配置
Mac网络配置
并且,Mac设置中的internet sharing的设置只开启对应端口:
Mac系统设置
如果是用windows连,01-netcfg.yaml里eth1-routes-via设置的IP地址设成对应的192.168.137.1即可。
网友评论