Hi All,
I need help to port below command to LINUX, it was written for Solaris platform
In Linux route command exists, and these add gateway options are available. But last option -setsrc is not available in LINUX. It represents “Assigns the default source address”, I didn't understand clearly... Can any one please explain me what it represents? I had gone through man page and searched in net, But could not get anything.
It would be great help if you can guide me how I can port this to Linux OS.
Thanks in advance
--Manju
I need help to port below command to LINUX, it was written for Solaris platform
Code:
$cmd = "/usr/sbin/route [B]-n[/B] add [B]-host[/B] $hoc [B]-gateway[/B] $gatewayIp [B]-setsrc[/B] $vcip";
It would be great help if you can guide me how I can port this to Linux OS.
Thanks in advance
--Manju
Comment