Gateway address

Hello all,

I have a problem in finding in which system file the gateway address will be stored . Can anyone of u tell me this.

Thanks …

/etc/net.cfg

hey i don’t find such file cfg file here … can anyone of u tell me is there any system call to retrieve this gateway address … is it neccesary to read from the kernel routing table only ?
pls anyone of u suggest how to go for this …

I don’t understand you very well, sorry (not English :- >> ) You just want to know the gateway address?

/etc/net.cfg is created by using the “phlip” network configuration GUI in Photon.