Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultrouter is not a boolean #8

Open
okapia opened this issue Dec 2, 2024 · 2 comments
Open

defaultrouter is not a boolean #8

okapia opened this issue Dec 2, 2024 · 2 comments

Comments

@okapia
Copy link

okapia commented Dec 2, 2024

Running this on my system produced the message:

Error on line 6: '192.168.178.1' is not a valid value for 'defaultrouter'

Looking at /etc/rc.d/routing, it does support a value of "no" (or empty) but otherwise expects a value that is a valid argument to the route command such as the IP address in my case. A hostname should also be valid just as long as it can be resolved before the default route is established.

@gyptazy
Copy link
Contributor

gyptazy commented Dec 5, 2024

Same here (and also affects the IPv6 part):

Error on line 5: '2a13:1337::1' is not a valid value for 'ipv6_defaultrouter'

@eekay35
Copy link

eekay35 commented Jan 9, 2025

Samsies here. Errors for both v4 and v6 default router config lines.

./checkrc /etc/rc.conf
Error on line 12: '50.43.154.110' is not a valid value for 'defaultrouter'
Error on line 13: 'fe80::fad2:acff:fe16:7f17%bge0' is not a valid value for 'ipv6_defaultrouter'
Config check failed with 2 error(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants