Difference between revisions of "Quattor and IPv6"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 186: Line 186:
 
I just included the gateway for IPv6 with its IP:
 
I just included the gateway for IPv6 with its IP:
  
        final variable NETWORK_TABLE = nlist(
+
final variable NETWORK_TABLE = nlist(
    "farmnet-public", nlist(
+
    "farmnet-public", nlist(
        "subnet", "10.50.50.0", "gateway", "10.50.50.1",
+
        "subnet", "10.50.50.0",  
  "gateway6", "2001:610:120:e120::1",
+
        "gateway", "10.50.50.1",
        "netmask", "255.255.255.0", "broadcast", "10.255.255.255",
+
        "gateway6", "2001:610:120:e120::1",
        "nameservers", list("10.50.50.2", )
+
        "netmask", "255.255.255.0",  
    ),
+
        "broadcast", "10.255.255.255",
        );
+
        "nameservers", list("10.50.50.2", )
 +
    ),
 +
);
  
  
3.- Network component
+
== Network component ==
 +
 
 
I've made a diff between the versions 1.2.6 and the new version 1.2.7, which supports IPv6. Explained in few lines, the component backups the current configuration, it reads from /system/network, and it updates the different files (Mainly /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcg-eth0) according to the read information, in case the network tests (With the new info) are successful:
 
I've made a diff between the versions 1.2.6 and the new version 1.2.7, which supports IPv6. Explained in few lines, the component backups the current configuration, it reads from /system/network, and it updates the different files (Mainly /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcg-eth0) according to the read information, in case the network tests (With the new info) are successful:
 
The first modification is regarding the variable IPV6INIT, if it's defined (A value was given), then it's included (Same for the rest of the IPv6 parameters defined in the schema):
 
The first modification is regarding the variable IPV6INIT, if it's defined (A value was given), then it's included (Same for the rest of the IPv6 parameters defined in the schema):

Revision as of 12:11, 10 October 2012