Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   how to change my gateway (http://www.linux-archive.org/ubuntu-user/63204-how-change-my-gateway.html)

"stin wang" 04-03-2008 01:58 AM

how to change my gateway
 
i make some mistake about my gateway setting,it should be set to 172.18.20.126, but i enter as 172.18.20.64

so i want to correct it.

first method i tried, i use gui to change it ,and i restart network ,but route is still 172.18.20.64

2 method i tried, sudo gedit /etc/network/interfaces

auto lo
iface lo inet loopback

iface eth0 inet static
address 172.18.20.87
netmask 255.255.255.224

gateway 172.18.20.64

auto eth0

i change gateway to 172.18.20.126 and then
sudo /etc/init.d/networking restart
but it said siccaddrt:no such process

failed to bring up eth0

how to fix it
--
----------------------------------------------
Tie Wang
TianJin Climate Center
TianJin Meteorological Bureau
Tianjin, China, 300074
Email: stin.wang@gmail.com

Tel:+86-22-23333559
----------------------------------------------
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 06:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.