Currently, in the login script, we have it so that when a user logs in, the user's information is logged into a textfile:

REDIRECTOUTPUT ("\\CORPDC01\LOGS$\user name\@USERID.txt", 1) ? "@DATE, @TIME, @USERID, @PRODUCTTYPE, @WKSTA, @ADDRESS, @IPADDRESS0, @DOMAIN, @LSERVER, $center_name"

We've just implemented machines with 2 NIC's, one connected to LAN (10.91.x.x) and one connected to the Government's registry (142.x.x.x). How do I do it so that the logging of ip address will be from the NIC of 10.91.x.x? Right now, the 142.x.x.x NIC is being logged.