Support Center > Search Results > SecureKnowledge Details
"syntax error" when adding an interface to the redestribution of routes in Gaia OS
Symptoms
  • "syntax error" when adding an interface to the redistribution of routes in Gaia OS.

    Example:

Cause

Gaia OS does not support interface names with special characters when adding an interface to the redistribution of routes:

  • "at" sign - "@" (e.g., interface named "DMZ@INT.13"
  • underscore sign - "_" (e.g., interface named "DMZ_INT.13")

When adding an interface to the redistribution of routes, Gaia OS creates a temporary file /tmp/cprd_syntax_test_default and runs the RouteD daemon in validation mode:

routed -C -i default -q -f /tmp/cprd_syntax_test_default

The above error appears because RouteD daemon fails to parse the name of the interface(s) in this temporary file.

Example:

[Expert@HostName]# routed -C -i default -q -f /tmp/cprd_syntax_test_default
syntax error

Solution
Note: To view this solution you need to Sign In .