LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-29-2003, 09:15 PM   #1
SSBN
Member
 
Registered: Apr 2003
Posts: 80

Rep: Reputation: 15
How do i set a static ip in Linux


How do i set a static ip in Linux

I have a DMZ set up on my firewall. The nick that is the dmz’s ip address is 192.10.10.1.
I have a Linux server on the DMZ. Caldera server 3.1. I use webmin to administer it.
What I want to do is set the ip on the Linux server to be this
Ip:192.10.10.2
Mask 255.255.255.0
Dg:192.10.10.1
Dns:192.10.10.1

I have put these settings on my laptop and connected to it when it is in the DMZ. So the card firewall cable are working fine.

How do I put the ip information above in the Linux server using webmin? I have found where you enter the info in webmin and have tried entering it. But I just can’t connect to the server using webmin from outside the dmz. What should the broadcast ip be? Ifconfig doesn’t show what the gateway is. How can I tell what it is?

Thanks
 
Old 04-29-2003, 09:43 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
ifconfig eth0 address <ip address>

or

netconfig

Last edited by trickykid; 04-29-2003 at 09:50 PM.
 
  


Reply



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
How do I set static ip for vpn client firehawk256 Linux - Networking 3 08-09-2005 01:03 AM
How to set a static IP address? dx0r515t Slackware 12 04-17-2005 01:33 PM
how to set a static ip address or do port forwarding? cd1680 Linux - Networking 13 03-27-2005 06:58 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
How to set a static IP and DNS server phil1076 Linux - Networking 1 08-19-2003 06:20 PM

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

All times are GMT -5. The time now is 06:36 AM.

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