Uci show network.globals.ula_prefix not working?


I have been trying to get nat66 working, but i cannot list the ula prefix from uci, it gives this error, any ideas?

root@OpenWrt:~# cat /etc/config/network |grep -C1 ula_prefix
config globals 'globals'
	option ula_prefix 'fd65:69d3:dfa1::/60'

root@OpenWrt:~# uci show network.globals.ula_prefix
uci: Parse error (invalid command) at line 19, byte 1

What's at line 19 in /etc/config/network

or maybe better ... what are the contents of /etc/config/network

1 Like

Aha! so it referenced to that file, it is:

config interface 'lan'
        option proto 'static'
        option device 'eth1'
 line 19 -->>       ip6addr fd65:69d3:dfa1:1::/80
        list ipaddr ''`

Is that not the correct way to do it?

Oh, i just saw the error when i pasted it. sorry. :zipper_mouth_face:


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.