LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2002, 02:18 AM   #1
saravanan1979
Member
 
Registered: Jan 2002
Posts: 163

Rep: Reputation: 30
Configuring Linux for static ip


Hi
We have a linux machine connected in a domain network.The domain has a router connected to it.Can anyone plz tell me

1..I need to set up a static IP for the linux machine so that it is accesible(via http) from everywhere,(outside the network)

Regards
Saravanan
 
Old 05-02-2002, 02:31 AM   #2
barman
LQ Newbie
 
Registered: May 2002
Location: Santiago de Chile
Distribution: Redhat 7.1
Posts: 3

Rep: Reputation: 0
hi there!
it's as easy as typing

ifconfig <your nic id (like eth0)> <your ip address>

hope this helps. Let me know

barman
exceptio confirmat regulam
conceptio exfirmat regulam
 
Old 02-23-2006, 07:00 PM   #3
philix
Member
 
Registered: Sep 2005
Location: India
Distribution: Redhat Debian
Posts: 36

Rep: Reputation: 15
Hi Saravanan,

I believe your Linux machine is behind the router, In that case can you please confirm whether you want assign a private LAN IP or public ?
If it is a private LAN IP , You have to configure the router to do port forwarding so that the http packets that reach the router will be forwarding it to your Linux machine?
While as Barman stated ifconfig <your nic id (like eth0)> <your ip address> is the easiest method of assigning the ip address.

Thanks
Philix
Jesus Loves you too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Manually configuring DHCP for static IP -- cannot assign IP tristanlee85 Linux - Networking 3 10-16-2005 01:34 AM
Configuring Static IP nasrudin Linux - Networking 16 01-12-2005 07:17 AM
problems with login,load graphical interface & configuring static ip june Linux - Security 1 10-18-2004 08:52 AM
"localhost login" problems, loading graphical enterface and configuring static ip june Mandriva 2 10-15-2004 02:46 PM
Configuring domain names on static IP addresses from SBC DSL redbasin Linux - Networking 4 02-10-2004 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:28 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