kubernetes-guide/codeblock/home-network/radvd.conf

20 lines
496 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

interface enp2s0 {
# 网卡启用路由通告(RA)
AdvSendAdvert on;
# 启用 Home Agent(iOS、macOS等移动设备加入网络时发送Home Agent请求获取ipv6信息
AdvHomeAgentFlag on;
AdvHomeAgentInfo on;
MinRtrAdvInterval 10;
MaxRtrAdvInterval 60;
prefix fddd:dddd:dddd:dddd::2/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
route fddd:dddd:dddd:dddd::2/64 {
AdvRoutePreference high;
AdvRouteLifetime 3600;
RemoveRoute off;
};
};