Moin,
das Leerzeichen war meines Erachtens nur ein "Schönheitsfehler". Bei welchem Client kommt es denn zu dem besagten Fehler?
Bei meinen Tests ist das nie aufgefallen.
Gerade nochmal getestet mit deiner Config und Windows-XP, openvpn_2.1_rc13. Die Route ist zwar überflüssig (schließlich ist 192.168.200.1 ja auch das Route-Gateway) und openvpn bemerkt das, aber genau daraus schließe ich, dass das Leerzeichen eben kein Problem ist:
Code:
[...snipp...]
Sat Apr 18 14:30:46 2009 us=343000 SENT CONTROL [myserver]: 'PUSH_REQUEST' (status=1)
Sat Apr 18 14:30:46 2009 us=625000 PUSH: Received control message: 'PUSH_REPLY,route 192.168.200.1 ,route-gateway 192.168.200.1,route 192.168.178.0 255.255.255.0,ping 10,ping-restart 120,ifconfig 192.168.200.100 255.255.255.0'
Sat Apr 18 14:30:46 2009 us=625000 OPTIONS IMPORT: timers and/or timeouts modified
Sat Apr 18 14:30:46 2009 us=625000 OPTIONS IMPORT: --ifconfig/up options modified
Sat Apr 18 14:30:46 2009 us=625000 OPTIONS IMPORT: route options modified
Sat Apr 18 14:30:46 2009 us=625000 OPTIONS IMPORT: route-related options modified
Sat Apr 18 14:30:46 2009 us=640000 ROUTE default_gateway=10.100.254.1
Sat Apr 18 14:30:46 2009 us=656000 TAP-WIN32 device [LAN-Verbindung 2] opened: \\.\Global\{07AFE3A9-9E5A-4D7B-93C8-CB42DF204A6E}.tap
Sat Apr 18 14:30:46 2009 us=656000 TAP-Win32 Driver Version 9.4
Sat Apr 18 14:30:46 2009 us=656000 TAP-Win32 MTU=1500
Sat Apr 18 14:30:46 2009 us=656000 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.200.100/255.255.255.0 on interface {07AFE3A9-9E5A-4D7B-93C8-CB42DF204A6E} [DHCP-serv: 192.168.200.0, lease-time: 31536000]
Sat Apr 18 14:30:46 2009 us=656000 Successful ARP Flush on interface [6] {07AFE3A9-9E5A-4D7B-93C8-CB42DF204A6E}
Sat Apr 18 14:30:51 2009 us=906000 TEST ROUTES: 0/0 succeeded len=2 ret=0 a=0 u/d=down
Sat Apr 18 14:30:51 2009 us=906000 Route: Waiting for TUN/TAP interface to come up...
[...snipp...]
Sat Apr 18 14:31:21 2009 us=812000 OpenVPN ROUTE: omitted no-op route: 192.168.200.1/255.255.255.255 -> 192.168.200.1
Sat Apr 18 14:31:21 2009 us=812000 C:\WINDOWS\system32\route.exe ADD 192.168.178.0 MASK 255.255.255.0 192.168.200.1
[...snipp...]
Zum "Beweis" habe ich genau deine Config mal so geändert, dass die Zeile eine Route auf 192.168.201.1 einrichtet, auch mit Leerzeichen, Ergebnis genau wie gewünscht:
Code:
[...snipp...]
Sat Apr 18 14:35:22 2009 us=234000 PUSH: Received control message: 'PUSH_REPLY,route 192.168.201.1 ,route-gateway 192.168.200.1,route 192.168.178.0 255.255.255.0,ping 10,ping-restart 120,ifconfig 192.168.200.100 255.255.255.0'
Sat Apr 18 14:35:22 2009 us=234000 OPTIONS IMPORT: timers and/or timeouts modified
Sat Apr 18 14:35:22 2009 us=234000 OPTIONS IMPORT: --ifconfig/up options modified
Sat Apr 18 14:35:22 2009 us=234000 OPTIONS IMPORT: route options modified
Sat Apr 18 14:35:22 2009 us=234000 OPTIONS IMPORT: route-related options modified
Sat Apr 18 14:35:22 2009 us=250000 ROUTE default_gateway=10.100.254.1
Sat Apr 18 14:35:22 2009 us=265000 TAP-WIN32 device [LAN-Verbindung 2] opened: \\.\Global\{07AFE3A9-9E5A-4D7B-93C8-CB42DF204A6E}.tap
Sat Apr 18 14:35:22 2009 us=265000 TAP-Win32 Driver Version 9.4
Sat Apr 18 14:35:22 2009 us=265000 TAP-Win32 MTU=1500
Sat Apr 18 14:35:22 2009 us=265000 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.200.100/255.255.255.0 on interface {07AFE3A9-9E5A-4D7B-93C8-CB42DF204A6E} [DHCP-serv: 192.168.200.0, lease-time: 31536000]
Sat Apr 18 14:35:22 2009 us=265000 Successful ARP Flush on interface [6] {07AFE3A9-9E5A-4D7B-93C8-CB42DF204A6E}
Sat Apr 18 14:35:27 2009 us=500000 TEST ROUTES: 2/2 succeeded len=2 ret=1 a=0 u/d=up
Sat Apr 18 14:35:27 2009 us=500000 C:\WINDOWS\system32\route.exe ADD 192.168.201.1 MASK 255.255.255.255 192.168.200.1
Sat Apr 18 14:35:27 2009 us=500000 Route addition via IPAPI succeeded [adaptive]
Sat Apr 18 14:35:27 2009 us=515000 C:\WINDOWS\system32\route.exe ADD 192.168.178.0 MASK 255.255.255.0 192.168.200.1
Sat Apr 18 14:35:27 2009 us=515000 Route addition via IPAPI succeeded [adaptive]
Sat Apr 18 14:35:27 2009 us=515000 Initialization Sequence Completed
[...snipp...]
Ich werde mir bei Gelegenheit das Ganze nochmal ansehen, denn wie gesagt: Eigentlich ist das push-Statement mit der Route da überflüssig, das Leerzeichen rausnehmen ist auch kein Problem, ich frage mich aber eher, ob es nicht ein anderes Problem gibt, was zu dem Problem führt (entweder "bei dir" oder auch ein Problem mit der erzeugten Config)
Jörg