Quote:
hi to every one.
can any one tell me to how to set ip address ubuntu 12.04 LTS server??
|
Use the Network Manager: Menu -> Network -> Network Manager
Quote:
coz my eth0 had 192.168.1.104 but my public ip is 202.166.162.178...
|
You do not need to. Your 192.168.1.104 is a subnet address while the other ip is a public class address. This explains that your host connects to the internet within and through a local gateway... this occurs normally when you have a router/modem connected to several hosts at home using a common internet connection from your provider. Your router facing outside is handled by your ISP's DHCP server: the latter fixes your public image (unless, the ISP has assigned you a static address --but this occurs only rarely). If you insist to fix your devide (eth0) to that external address chances are the DHCP will reject you if it has awarded that to others; or that, even from the local point, you may not be able to go out missing the proper gate anyway.
But you can always try to experiment, that is essential part of learning. Wish you luck.
Quote:
i want to set ip in server...
|
Do this to your card:
Code:
ifconfig eth0 202.166.162.178
check if it has...
or read
Good luck.