Difference between revisions of "Quattor and IPv6"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 90: | Line 90: | ||
The interface (Also the alias) need to include an extra IP (Only ''type_ipv6''). The interface includes the gateway for '''IPv6''' and a parameter to initialize '''IPv6''' in that interface. I have bolded the new parameters: | The interface (Also the alias) need to include an extra IP (Only ''type_ipv6''). The interface includes the gateway for '''IPv6''' and a parameter to initialize '''IPv6''' in that interface. I have bolded the new parameters: | ||
− | + | type structure_interface_alias = { | |
− | + | "ip" ? type_ip | |
− | + | "ipv6" ? type_ipv6 | |
− | + | "netmask" : type_ip | |
− | + | "broadcast" ? type_ip | |
− | + | }; | |
− | + | type structure_interface = { | |
− | + | "ip" ? type_ip | |
− | + | "gateway" ? type_ip | |
− | + | "ipv6" ? type_ipv6 | |
− | + | "gateway6" ? type_ipv6 | |
− | + | "ipv6init" ? string | |
− | + | "netmask" ? type_ip | |
− | + | "broadcast" ? type_ip | |
− | + | "driver" ? string | |
− | + | "bootproto" ? string | |
− | + | "onboot" ? string | |
− | + | "type" ? string | |
− | + | "device" ? string | |
− | + | "master" ? string | |
− | + | "mtu" ? long | |
− | + | "route" ? structure_route[] | |
− | + | "aliases" ? structure_interface_alias{} | |
− | + | "set_hwaddr" ? boolean | |
− | + | "bridge" ? string with exists ("/system/network/interfaces/" + SELF) | |
− | + | "bonding_opts" ? structure_bonding_options | |
− | + | "offload" ? structure_ethtool_offload | |
− | + | "ring" ? structure_ethtool_ring | |
− | + | "ethtool" ? structure_ethtool | |
− | + | "vlan" ? boolean | |
− | + | "physdev" ? string with exists ("/system/network/interfaces/" + SELF) | |
− | + | }; | |
This is for the network in general and a default gateway needs to be defined also for IPv6. | This is for the network in general and a default gateway needs to be defined also for IPv6. |