I'm trying to create a route table on Solaris 9 sparc. The local machine has several IPs on different interfaces. One of them is 192.168.1.10 on interface dgc0:1. The remote host is xx.xx.xx.xx, gateway is 192.168.1.5, and the IP i want to use to go out to xx.xx.xx.xx is 192.168.1.10. That way, when the local machine goes to visit xx.xx.xx.xx via web, SSH, FTP, the logs on the remote machine will show 192.168.1.10 and not the IP of the primary interface.
I'm trying the command "route add -host xx.xx.xx.xx 192.168.1.5 -interface dgc0:1". It 's complaining that the value of "dgc0:1" is invalid.
Any help is appreciated,
Lucas
I'm trying the command "route add -host xx.xx.xx.xx 192.168.1.5 -interface dgc0:1". It 's complaining that the value of "dgc0:1" is invalid.
Any help is appreciated,
Lucas