Hello Bird Users,
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.
First one works as I would expect.
First platform:
ifconfig eth-1_1_32eth-1_1_32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>Â mtu 1500
bird.conf:
 route 192.168.1.5/32 via fe80::2 % 'eth-1_1_32';
ip r192.168.1.5 via inet6 fe80::2 dev eth-1_1_32 proto bird metric 32
but second platform with interfaces in eth-1\1\64 style didn’t work
ifconfig eth-1\\1\\64eth-1\1\64: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>Â mtu 1500
I’ve got an error message for  route 192.168.1.5/32 via fe80::2 % 'eth-1\1\64';
birdcBIRD 2.13 ready.
bird> configure
Reading configuration from /mnt/storage/config/bird.conf
/mnt/storage/config/bird.conf:29:45 Invalid character in apostrophed symbol
for:
route 192.168.1.5/32 via fe80::2 % "eth-1\1\64";
bird> configureReading configuration from /mnt/storage/config/bird.conf
/mnt/storage/config/bird.conf:29:51 syntax error, unexpected TEXT
Â
for:
route 192.168.1.5/32 via "fe80::2%eth-1\1\64";
no error and no entries in linux
I did also tests with
route 192.168.1.5/32 via "fe80::2%eth-1\\\1\\\64";
route 192.168.1.5/32 via "fe80::2%eth-1\\1\\64";
route 192.168.1.5/32 via fe80::2 % ’eth-1\\\1\\\64’;
route 192.168.1.5/32 via fe80::2 % ’eth-1\\1\\64’;
without any success
Is it possible to make it work on both cases or there is some other way to configure such static route?Â
Thanks,
Marcin