Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ipv6 neutron applications (1)

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Neutron supports ipv6 and has two important attributes

1 、 ipv6_ra_mode

2 、 ipv6_address_mode

These two properties can be set to the following three values

1 、 slaac

2 、 dhcpv6-stateful

3 、 dhcpv6-stateless

Ipv6_address_mode is used for clients to obtain ipv6 addresses.

Ipv6_ra_mode is used to advertise the router in the subnet, which is realized by icmpv6 message. The type is 134message.

Slaac, stateless address auto-configuration, clients configure local addresses through RA messages returned by the router

Information such as dhcpv6-stateful,ip address and dns are obtained from the dhcp server

The dhcpv6-stateless,ip address is obtained from the router RA message, and information such as dns is obtained from the dhcp server.

We currently support dhcpv6-stateful+dhcpv6-stateful.

The instance receives an IPv6 address through the DHCPv6 server, and uses the DHCPv6 server to obtain other optional information. The DHCPv6 service comes from openstack.

II. Neutron application

1. Create ipv6 network and subnet

Neutron subnet-create-- name subnet_v6-- enable-dhcp-- ip-version 6-- ipv6-ra-mode dhcpv6-stateful-- ipv6-address-mode dhcpv6-stateful-- dns-nameserver 2001 Velcro 4860 Fraser 4860 Fraser 8844 ipv6_test 2001 purl 1001 LV Lex64

2. Bind the network to the router and activate the network virtual machine.

Neutron router-interface-add ipv6_test subnet=2e3f9776-3545-4271-8a96-2e6e285d9500

Nova boot wx_ipv6_test1-- flavor 2-- image 78544ead-fc8b-4b0e-9ff4-f21cfae42a55-- nic net-id=9c7a3663-a779-444a-9f97-07b60a592a03

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report