LinuxQuestions.org
Help answer threads with 0 replies.
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 07-01-2009, 05:12 AM   #1
cooljkb14
LQ Newbie
 
Registered: Jun 2008
Posts: 18

Rep: Reputation: 0
IP configuration problem in FC 10


hi.....
i m having a problem in configuring my IP.
every time i provide an ip address, the system changes the netmask address to dns address and it wont even showing the wired network connections.
plz help me out wid this...
 
Old 07-02-2009, 08:21 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by cooljkb14 View Post
hi.....
i m having a problem in configuring my IP.
every time i provide an ip address, the system changes the netmask address to dns address and it wont even showing the wired network connections.
plz help me out wid this...
i think i understand the query.....
change your ip address like this, as root user

Code:
ifconfig <ethX> <ipaddress> netmask <netmask>
then run

Code:
route add default gw <ipaddress>
edit /etc/sysconfig/network-scripts/ifcfg-ethX so it looks something like

Code:
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:04:02:00:04:00
ONBOOT=yes
NETMASK=<netmask>
IPADDR=<ipaddress>
GATEWAY=<gateway>
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=no

add correct ips to /etc/resolv.conf


Code:
nameserver <ipaddress>
nameserver <ipaddress>
Everything in brackets is substituted with your own settings
Sorry but i dont know which distro you have as you didnt say, so these apply to redhat variants.

You can also do all this in the gui using neat or system-config-network.
 
  


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
DynDns problem... with configuration or with system configuration? dwhitney67 Linux - Software 1 03-04-2009 10:10 AM
SNAT working problem(is that configuration problem?) cranium2004 Linux - Networking 11 05-12-2005 08:18 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
X configuration problem - OR - Where did the configuration tool go??? t3kn0lu5t Debian 3 09-25-2003 07:19 PM
Configuration problem kabong Linux - General 1 08-18-2001 10:54 PM

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

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