lilchancep / att-pfsense-ipv6

Multiple IPv6 Prefix Delegation over AT&T Residential Gateway for pfSense
70 stars 11 forks source link

Getting a little stuck #4

Closed shreyasajj closed 1 year ago

shreyasajj commented 1 year ago

An amazing guide thank you so much

im getting a little stuck working this through opnsense, I have the file written as

# /usr/local/etc/rc.d/att-rg-dhcpv6-pd.conf
interface re0 {
    send ia-na 0;
    send ia-pd 0;
    send ia-pd 1;
    send ia-pd 2;
    send ia-pd 3;
    request domain-name-servers;
    request domain-name;
    script "/var/etc/dhcp6c_wan_script.sh";
};
id-assoc na 0 { };
id-assoc pd 0 {
    prefix-interface re1.1 {
        sla-id 0;
        sla-len 0;
    };
};
id-assoc pd 1 {
    prefix-interface re1.2 {
        sla-id 0;
        sla-len 0;
    };
};
id-assoc pd 2 {
    prefix-interface re1.3 {
        sla-id 0;
        sla-len 0;
    };
};
id-assoc pd 3 {
    prefix-interface re1.4 {
        sla-id 0;
        sla-len 0;
    };
};

But im getting this error

failed to parse configuration file
/var/etc/dhcp6c.conf:13 invalid interface (re1.4): Device not configured

But im pretty sure the device is configure they are as this is Screenshot 2023-01-17 002856

shreyasajj commented 1 year ago

I learned that it had to be the actually device name not the parents interface

shreyasajj commented 1 year ago

If anyone wants clarification, It should have been

# /usr/local/etc/rc.d/att-rg-dhcpv6-pd.conf
interface re0 {
    send ia-na 0;
    send ia-pd 0;
    send ia-pd 1;
    send ia-pd 2;
    send ia-pd 3;
    request domain-name-servers;
    request domain-name;
    script "/var/etc/dhcp6c_wan_script.sh";
};
id-assoc na 0 { };
id-assoc pd 0 {
    prefix-interface vlan01 {
        sla-id 0;
        sla-len 0;
    };
};
id-assoc pd 1 {
    prefix-interface vlan02 {
        sla-id 0;
        sla-len 0;
    };
};
id-assoc pd 2 {
    prefix-interface vlan03 {
        sla-id 0;
        sla-len 0;
    };
};
id-assoc pd 3 {
    prefix-interface vlan04 {
        sla-id 0;
        sla-len 0;
    };
};