scripting - old: RE: VRF - routing and default local services
Hi Yep. Trying to work out why it didn't work before. Seems like my scripts for loading the fw relies upon some if do's :if ( $hostname = "name" ) \ do={ add action=src-nat chain=srcnat src-address=192.168.0.1 to-addresses=2.7.3.6 out-interface=internet } And this seems to be failing ! When I do a put $hostname it prints blank local a [/system identity get name] ; put $a puts the name in $a. wondering if this is a change from before ? Alex -----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Philip Loenneker Sent: Monday, 30 January 2017 10:41 AM To: MikroTik Australia Public List <public@talk.mikrotik.com.au> Subject: Re: [MT-AU Public] VRF - routing and default local services Something that may be useful is you could have the same IP allocated in multiple VRFs. This could help with getting srcnat to do its thing before the change of VRF, if required - but it looks like you're sorted now anyway :)
participants (1)
-
Alex Samad - Yieldbroker