routeros(ros) 配置ipv6 版本chr7.11.2(x86_64)

本文介绍了在ROS(RobotOperatingSystem)环境下,通过PPPoE拨号和光猫桥接,配置Windows客户端获取IPv6地址的方法,包括使用DHCPv6分配IPv6前缀,设置自定义地址池,以及配置IPv6-ND和默认路由的过程。

1.环境

ros 版本chr 7.11.2,ppoe拨号,光猫桥接,北京联通,开启ipv6,需要ppoe 断开重拨一次,操作前请注意

2.主要原理

dhcp ipv6 客户端 获取运营商分配的ipv6,引入创建的地址池,新建dhcp server 引用该池ipv6前缀 给局域网下面的客户端进行分配,可获得ipv6 公网地址

3.操作步骤

打开winbox,选择ipv6-dhcp client

选择ppoe 接口  Request 选择 prefix   pool name 为【自定义】,use peer dns 可以勾选,也可以在 ip - dns 手动添加

创建完成后,status 正确显示为 bound,如果为 searching ,在 interface 关闭 ppoe 重新打开

ipv6 - addresses  准备创建局域网网口地址 相当于lan ,我这边有多个vlan,选择vlan10 接口

点击+ 进行添加

from pool 选择之前自定义的地址池  interface 选择 局域网接口 eui64 我这里是勾选的,我这边不勾选会报错

创建完成后可以看到地址已经获取

下面创建dhcp server

名字自定义,地址池选择之前创建的,接口选择局域网下面的

打开ipv6-ND

默认是全部,先关闭

新建接口,选择要ND的局域网接口

特别注意的是 Prefixes 选项 应该是正常的,而不是红色报错

最后添加默认路由

windows客户端网口 开启ipv6 

进行ipv6 测试

至此ipv6 初步配置成功

解释这些参数含义:net.ipv4.conf.veth.accept_local net.ipv4.conf.veth.accept_redirects net.ipv4.conf.veth.accept_source_route net.ipv4.conf.veth.arp_accept net.ipv4.conf.veth.arp_announce net.ipv4.conf.veth.arp_filter net.ipv4.conf.veth.arp_ignore net.ipv4.conf.veth.arp_notify net.ipv4.conf.veth.bc_forwarding net.ipv4.conf.veth.bootp_relay net.ipv4.conf.veth.disable_policy net.ipv4.conf.veth.disable_xfrm net.ipv4.conf.veth.drop_gratuitous_arp net.ipv4.conf.veth.drop_unicast_in_l2_multicast net.ipv4.conf.veth.force_igmp_version net.ipv4.conf.veth.forwarding net.ipv4.conf.veth.igmpv2_unsolicited_report_interval net.ipv4.conf.veth.igmpv3_unsolicited_report_interval net.ipv4.conf.veth.ignore_routes_with_linkdown net.ipv4.conf.veth.log_martians net.ipv4.conf.veth.mc_forwarding net.ipv4.conf.veth.medium_id net.ipv4.conf.veth.promote_secondaries net.ipv4.conf.veth.proxy_arp net.ipv4.conf.veth.proxy_arp_pvlan net.ipv4.conf.veth.route_localnet net.ipv4.conf.veth.rp_filter net.ipv4.conf.veth.secure_redirects net.ipv4.conf.veth.send_redirects net.ipv4.conf.veth.shared_media net.ipv4.conf.veth.src_valid_mark net.ipv4.conf.veth.tag net.ipv4.ip_local_reserved_ports net.ipv4.neigh.veth.anycast_delay net.ipv4.neigh.veth.app_solicit net.ipv4.neigh.veth.base_reachable_time_ms net.ipv4.neigh.veth.delay_first_probe_time net.ipv4.neigh.veth.gc_stale_time net.ipv4.neigh.veth.locktime net.ipv4.neigh.veth.mcast_resolicit net.ipv4.neigh.veth.mcast_solicit net.ipv4.neigh.veth.proxy_delay net.ipv4.neigh.veth.proxy_qlen net.ipv4.neigh.veth.retrans_time_ms net.ipv4.neigh.veth.ucast_solicit net.ipv4.neigh.veth.unres_qlen net.ipv4.neigh.veth.unres_qlen_bytes net.ipv4.tcp_mem net.ipv4.udp_mem net.ipv6.conf.veth.accept_dad net.ipv6.conf.veth.accept_ra net.ipv6.conf.veth.accept_ra_defrtr net.ipv6.conf.veth.accept_ra_from_local net.ipv6.conf.veth.accept_ra_min_hop_limit net.ipv6.conf.veth.accept_ra_mtu net.ipv6.conf.veth.accept_ra_pinfo net.ipv6.conf.veth.accept_ra_rt_info_max_plen net.ipv6.conf.veth.accept_ra_rt_info_min_plen net.ipv6.conf.veth.accept_ra_rtr_pref net.ipv6.conf.veth.accept_redirects net.ipv6.conf.veth.accept_source_route net.ipv6.conf.veth.addr_gen_mode net.ipv6.conf.veth.autoconf net.ipv6.conf.veth.dad_transmits net.ipv6.conf.veth.disable_ipv6 net.ipv6.conf.veth.disable_policy net.ipv6.conf.veth.drop_unicast_in_l2_multicast net.ipv6.conf.veth.drop_unsolicited_na net.ipv6.conf.veth.enhanced_dad net.ipv6.conf.veth.force_mld_version net.ipv6.conf.veth.force_tllao net.ipv6.conf.veth.forwarding net.ipv6.conf.veth.hop_limit net.ipv6.conf.veth.ignore_routes_with_linkdown net.ipv6.conf.veth.keep_addr_on_down net.ipv6.conf.veth.max_addresses net.ipv6.conf.veth.max_desync_factor net.ipv6.conf.veth.mc_forwarding net.ipv6.conf.veth.mldv1_unsolicited_report_interval net.ipv6.conf.veth.mldv2_unsolicited_report_interval net.ipv6.conf.veth.mtu net.ipv6.conf.veth.ndisc_notify net.ipv6.conf.veth.ndisc_tclass net.ipv6.conf.veth.optimistic_dad net.ipv6.conf.veth.proxy_ndp net.ipv6.conf.veth.regen_max_retry net.ipv6.conf.veth.router_probe_interval net.ipv6.conf.veth.router_solicitation_delay net.ipv6.conf.veth.router_solicitation_interval net.ipv6.conf.veth.router_solicitation_max_interval net.ipv6.conf.veth.router_solicitations net.ipv6.conf.veth.seg6_enabled net.ipv6.conf.veth.suppress_frag_ndisc net.ipv6.conf.veth.temp_prefered_lft net.ipv6.conf.veth.temp_valid_lft net.ipv6.conf.veth.use_oif_addrs_only net.ipv6.conf.veth.use_optimistic net.ipv6.conf.veth.use_tempaddr net.ipv6.neigh.veth.anycast_delay net.ipv6.neigh.veth.app_solicit net.ipv6.neigh.veth.base_reachable_time_ms net.ipv6.neigh.veth.delay_first_probe_time net.ipv6.neigh.veth.gc_stale_time net.ipv6.neigh.veth.locktime net.ipv6.neigh.veth.mcast_resolicit net.ipv6.neigh.veth.mcast_solicit net.ipv6.neigh.veth.proxy_delay net.ipv6.neigh.veth.proxy_qlen net.ipv6.neigh.veth.retrans_time_ms net.ipv6.neigh.veth.ucast_solicit net.ipv6.neigh.veth.unres_qlen net.ipv6.neigh.veth.unres_qlen_bytes net.sctp.addip_enable net.sctp.addip_noauth_enable net.sctp.addr_scope_policy net.sctp.association_max_retrans net.sctp.auth_enable net.sctp.cookie_hmac_alg net.sctp.cookie_preserve_enable net.sctp.default_auto_asconf net.sctp.hb_interval net.sctp.intl_enable net.sctp.max_autoclose net.sctp.max_burst net.sctp.max_init_retransmits net.sctp.path_max_retrans net.sctp.pf_enable net.sctp.pf_retrans net.sctp.prsctp_enable net.sctp.rcvbuf_policy net.sctp.reconf_enable net.sctp.rto_alpha_exp_divisor net.sctp.rto_beta_exp_divisor net.sctp.rto_initial net.sctp.rto_max net.sctp.rto_min net.sctp.rwnd_update_shift net.sctp.sack_timeout net.sctp.sctp_mem net.sctp.sctp_rmem net.sctp.sctp_wmem net.sctp.sndbuf_policy net.sctp.valid_cookie_life net.sctp.rto_alpha_exp_divisor net.sctp.rto_beta_exp_divisor net.sctp.rto_initial net.sctp.rto_max net.sctp.rto_min net.sctp.rwnd_update_shift net.sctp.sack_timeout net.sctp.sctp_mem net.sctp.sctp_rmem net.sctp.sndbuf_policy net.sctp.valid_cookie_life
最新发布
09-26
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值