<div dir="auto">👋<div dir="auto"><br></div><div dir="auto">Which platform uses backslash in the interface name?</div><div dir="auto"><br></div><div dir="auto">Have you tried to rename the interface or add an interface alias? (using systemd or ude rules) to avoid the backslash in the interface name.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 14 Feb 2024, 11.11 Saklak, Marcin via Bird-users, <<a href="mailto:bird-users@network.cz">bird-users@network.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="en-PL" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_2114422335936661165WordSection1">
<p class="m_2114422335936661165p1"><span lang="EN-US">Hello Bird Users,<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span lang="EN-US"><br>
I have an issue with adding static route and interfaces. I use two different platform one has interface names like eth-1_1_32 and second eth-1\1\64.<br>
First one works as I would expect.<br>
<br>
</span><span lang="PL">First platform</span>:<br>
<span style="font-family:"Courier New"">ifconfig eth-1_1_32<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">eth-1_1_32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST></span><span class="m_2114422335936661165apple-converted-space"><span style="font-family:"Courier New"">Â
</span></span><span style="font-family:"Courier New"">mtu 1500<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New""><br>
bird.conf:<br>
</span><span class="m_2114422335936661165apple-converted-space"><span style="font-family:"Courier New"">Â </span></span><span style="font-family:"Courier New"">route 19</span><span lang="EN-US" style="font-family:"Courier New"">2</span><span style="font-family:"Courier New"">.168.1.5/32
via fe80::2 % 'eth-1_1_32';<br>
<br>
ip r<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">19</span><span lang="EN-US" style="font-family:"Courier New"">2</span><span style="font-family:"Courier New"">.168.1.5</span><span style="font-family:"Courier New"">
</span><span style="font-family:"Courier New"">via inet6 fe80::2 dev eth-1_1_32 proto bird metric 32
<br>
</span><br>
<span lang="EN-US">but second platform</span> with interfaces in eth-1\1\64 style<span lang="EN-US"> didn’t work</span><br>
<span style="font-family:"Courier New"">ifconfig eth-1\\1\\64<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">eth-1\1\64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>Â mtu 1500</span><br>
<br>
I’ve got <span lang="EN-US">an </span>error message for  <span style="font-family:"Courier New"">route 19</span><span lang="EN-US" style="font-family:"Courier New"">2</span><span style="font-family:"Courier New"">.168.1.5/32 via fe80::2 % 'eth-1\1\64';</span><br>
<span style="font-family:"Courier New"">birdc<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">BIRD 2.13 ready.<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">bird> configure<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">Reading configuration from /mnt/storage/config/bird.conf<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">/mnt/storage/config/bird.conf:29:45 Invalid character in apostrophed symbol<br>
</span><br>
for:<br>
<span style="font-family:"Courier New"">route 19</span><span lang="EN-US" style="font-family:"Courier New"">2</span><span style="font-family:"Courier New"">.168.1.5/32 via fe80::2 % "eth-1\1\64";<br>
bird> configure<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">Reading configuration from /mnt/storage/config/bird.conf<u></u><u></u></span></p>
<p class="m_2114422335936661165p1"><span style="font-family:"Courier New"">/mnt/storage/config/bird.conf:29:51 syntax error, unexpected TEXT<u></u><u></u></span></p>
<p class="MsoNormal"><u></u>Â <u></u></p>
<p class="MsoNormal"><span lang="EN-US">for:<br>
</span><span style="font-size:10.0pt;font-family:"Courier New"">route 19</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New"">2</span><span style="font-size:10.0pt;font-family:"Courier New"">.168.1.5/32 via</span><span style="font-size:10.0pt;font-family:"Courier New"">
</span><span style="font-size:10.0pt;font-family:"Courier New"">"fe80::2%eth-1\1\64";</span><span lang="EN-US" style="font-family:"Courier New""><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica Neue"">no error and no entries in linux<br>
I did also tests with<br>
route <a href="http://192.168.1.5/32" target="_blank" rel="noreferrer">192.168.1.5/32</a> via "fe80::2%eth-1\\\1\\\64";<br>
route <a href="http://192.168.1.5/32" target="_blank" rel="noreferrer">192.168.1.5/32</a> via "fe80::2%eth-1\\1\\64";<br>
<br>
route <a href="http://192.168.1.5/32" target="_blank" rel="noreferrer">192.168.1.5/32</a> via fe80::2 % ’eth-1\\\1\\\64’;<br>
route <a href="http://192.168.1.5/32" target="_blank" rel="noreferrer">192.168.1.5/32</a> via fe80::2 % ’eth-1\\1\\64’;<br>
<br>
without any success<br>
<br>
Is it possible to make it work on both cases or there is some other way to configure such static route?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica Neue""><u></u>Â <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Helvetica Neue"">Thanks,<br>
Marcin<br>
<br>
</span><span lang="EN-US"><u></u><u></u></span></p>
</div>
</div>
</blockquote></div>