• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

radvd.conf syntax error - won't start

Scheduled Pinned Locked Moved 2.4 Development Snapshots
4 Posts 2 Posters 8.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    motific
    last edited by Mar 10, 2019, 9:35 PM

    radvd does not start on startup and if I try to start it I getting the an error in the syslog -

    /status_services.php: The command '/usr/local/sbin/radvd -p /var/run/radvd.pid -C /var/etc/radvd.conf -m syslog' returned exit code '1', the output was '/var/etc/radvd.conf:11 error: syntax error' 
    

    The radvd.conf file is auto-generated and I haven't altered it though any changes should get wiped. It is:-

    # Automatically Generated, do not edit
    # Generated for DHCPv6 Server lan
    interface re1 {
    	AdvSendAdvert on;
    	MinRtrAdvInterval 5;
    	MaxRtrAdvInterval 20;
    	AdvLinkMTU 1500;
    	AdvDefaultPreference medium;
    	AdvManagedFlag on;
    	AdvOtherConfigFlag on;
    	prefix ::101:101/128 {  # error is on this line?
    		DeprecatePrefix on;
    		AdvOnLink on;
    		AdvAutonomous on;
    		AdvRouterAddr on;
    		AdvValidLifetime 86400;
    		AdvPreferredLifetime 14400;
    	};
    	route ::/0 {
    		AdvRoutePreference medium;
    		RemoveRoute on;
    	};
    	RDNSS ::10.10.10.1 { };
    	DNSSL lan  { };
    };
    

    I'm on 2.4.5 dev snapshots (build 2.4.5.a.20190213.0609) so if it's related to that then let me know.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Mar 11, 2019, 3:05 PM

      You shouldn't be getting a /128 prefix delegated. That isn't valid to use for SLAAC advertising and so on, it has to be a /64. That's also not a complete prefix specification.

      Is that coming from upstream or somewhere in your configuration?

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • M
        motific
        last edited by Mar 12, 2019, 2:37 PM

        I haven't specified it anywhere so I presume it is coming from upstream, though I'd need some guidance on how to check it properly.

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Mar 12, 2019, 3:49 PM

          Set Debug in the DHCP6 Client Configuration on WAN as well, then check the logs (main system log, routing log, etc) to see what shows up.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received