LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fuduntu
User Name
Password
Fuduntu This forum is for the discussion of Fuduntu Linux.

Notices


Reply
  Search this Thread
Old 11-14-2012, 09:50 PM   #1
kohshan99
Member
 
Registered: Sep 2012
Posts: 71

Rep: Reputation: Disabled
Unhappy How to set ip address


hi to every one.
can any one tell me to how to set ip address ubuntu 12.04 LTS server??

coz my eth0 had 192.168.1.104 but my public ip is 202.166.162.178...


i want to set ip in server...
 
Old 11-15-2012, 02:08 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
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...

Code:
ifconfig eth0
or read

Code:
man ifconfig

Good luck.

Last edited by malekmustaq; 11-15-2012 at 02:12 AM.
 
2 members found this post helpful.
Old 12-20-2012, 04:17 AM   #3
ViperChief
LQ Newbie
 
Registered: Dec 2012
Location: Intertubez
Distribution: Fuduntu
Posts: 2

Rep: Reputation: Disabled
You might want to try in the Ubuntu forums. :| You're more likely to get help there since they know their distro specifics better than we do over here.
 
  


Reply

Tags
ip address, server, ubuntu 12.04



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how do i set a static ip address? oznola Linux - Networking 10 03-16-2010 04:28 PM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 08:38 PM
How to set a static IP address? dx0r515t Slackware 12 04-17-2005 01:33 PM
how do i set vmac address udayan Linux - General 2 05-31-2002 11:04 AM
How do I set telnet access to one ip address? 360 Linux - General 17 07-26-2001 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fuduntu

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration