You would need create an interface file in /etc/sysconfig/network-scripts and add the default gateway in there:
i.e. GATEWAY=aaa.aaa.aaa.aaa Have a look at this link on how to set it up, although it doesn't mention adding the gateway, it is a typical example of a configuration file for some of the linux OSes I've used: http://docs.oracle.com/cd/E37670_01/E41138/html/ol_about_netconf.html Hope that helps Mike MICHAEL JOHNSON Test Engineer Symphony Teleca Sunley House, 46 Jewry Street, Winchester, Hampshire, SO23 8RY Phone: +441962868866, Fax: +441962868867 [email protected]<mailto:[email protected]> www.symphonyteleca.com<http://www.symphonyteleca.com> Teleca Limited, a company registered in England & Wales, registration number 2773878, registered office at Sunley House, 46 Jewry Street, Winchester, Hampshire SO23 8RY. VAT registration number GB 674 6583 90 Follow what's going on at Symphony Teleca's blog on www.symphonyteleca.com/blog<http://www.symphonyteleca.com/blog>. Please consider the environment before you print. Notice to recipient: This e-mail (including any attachments) is meant for the intended recipient only, may contain confidential and proprietary information, and is protected by law. If you received this e-mail in error, please immediately notify the sender of the error by return e-mail, delete this communication and any attachments, and shred any printouts. Unauthorized review, use, dissemination, distribution, copying or taking of any action based on this communication is strictly prohibited. ________________________________ From: [email protected] [[email protected]] on behalf of Yu, Max A [[email protected]] Sent: Friday, January 17, 2014 7:30 AM To: [email protected] Subject: How to configure default gateway? I can set default gateway by following command in Tizen IVI: # route add default gw 10.0.2.2. eth0 Can I do the same thing by editing some config files? Thanks, Max
_______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
