Adding gateway IP to metadata output