LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2009, 02:08 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 489

Rep: Reputation: 36
change ip address to 192.168.0.x?


change ip address to 192.168.0.x?

My box is centos 5.3 x86 as guest and host is windows 7 x64.

At my box, lan adapters are 1st lan adapter is Intel PRo/1000 MT Desktop(NAT) and 2nd adapter is Intel PRO/1000 T Server (Host-Only).
And ifconfig is as attached pictures.

The 2 ips were shown at "ifconfig" could not be "DMZ"'s ip at my router. I experienced 192.168.0.x ip is accepatble to my router.

Please let me know hot to solve this.
Attached Thumbnails
Click image for larger version

Name:	2009-08-17_lan-setting1.png
Views:	24
Size:	3.9 KB
ID:	1252   Click image for larger version

Name:	2009-08-17_lan-setting2.png
Views:	31
Size:	58.2 KB
ID:	1253  
 
Old 08-17-2009, 02:13 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Smile

Hi,

Can you re frame the question again..couldnt understand what the problem you are facing.


Regards,
Prayag
 
Old 08-17-2009, 02:19 AM   #3
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Please explain the peoblem in proper way. Its a confusion one. We don't know what you want? What is the problem?
 
Old 08-17-2009, 02:49 AM   #4
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
My problme is IP number.
At this centos you can see;
eth0 : 10.0.2.15
eth1 : 192.168.56.101

But my router uses 192.168.0.1 to 192.168.0.255 for assigning DMZ.
So one of centos's ips should be 192.168.0.x.
 
Old 08-17-2009, 03:25 AM   #5
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
So why not you change your ip . I mean just change the IP of eth0 .
 
Old 08-17-2009, 03:54 AM   #6
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by vap16oct1984 View Post
So why not you change your ip . I mean just change the IP of eth0 .
vap16oct1984/ Please let me know how to change it.
 
Old 08-18-2009, 05:11 AM   #7
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Before changing ip let me know do you have static ip or dynamic ip.
You can change the static ip by many ways. By directly editing the file /etc/sysconfig/network-scripts/ifcfg-eth0 file.

or directly by using the command .
#ifconfig

Dynamic ip is automatically handled by DHCP server.
 
Old 08-18-2009, 05:30 AM   #8
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by vap16oct1984 View Post
Before changing ip let me know do you have static ip or dynamic ip.
You can change the static ip by many ways. By directly editing the file /etc/sysconfig/network-scripts/ifcfg-eth0 file.

or directly by using the command .
#ifconfig

Dynamic ip is automatically handled by DHCP server.
Thank you fo your kin reply.

I'm trying to dynamic ip address from static ip.
This means I set up static ips host and guest at writing post.
 
Old 08-19-2009, 01:33 AM   #9
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
well it looks like you are new to Linux. well tell me do you have idea how to change ip in linux. please don't mind can you tell me how long you are using Linux. This will help me to explain you all the things accordingly.

Last edited by vap16oct1984; 08-20-2009 at 07:07 AM.
 
Old 08-19-2009, 04:13 AM   #10
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by vap16oct1984 View Post
well i looks like yu are new to Linux. well tell me do you have idea how to change ip in linux. please don't mind can you tell me how long you are using Linux. This will help me to explain you all the things accordingly.
vap16oct1984/ I resolved this problem by searching google.


I have been exprerienced so long years, but I lnow only somethings - installation of linux, installing xampp, and copy and paste files. So if I meet some problems, I should ask.
 
Old 08-20-2009, 07:10 AM   #11
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Great Windstory. great work. Keep it up it helps you to know about linux and There is so much fun in linux. just start playing with Linux as much as possible.
 
Old 08-20-2009, 07:49 AM   #12
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by vap16oct1984 View Post
Great Windstory. great work. Keep it up it helps you to know about linux and There is so much fun in linux. just start playing with Linux as much as possible.
vap16oct1984/

Thank you for your kind advise and replies and considerations on my problem.

Your comment encourages me in resolving linux's endless problems.
 
  


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
can't change ip 10.0.2.15 to 192.168.0.x windstory Linux - Newbie 7 01-24-2009 04:46 AM
some other host already uses address 192.168.0.2 keratos Linux - Networking 13 11-20-2008 11:46 AM
Error, some other host already uses address 192.168.1.4 nemobluesix Linux - Wireless Networking 5 07-09-2008 01:42 PM
[root@wlxxb ~]# telnet 192.168.192.12 25 Trying 192.168.192.12... telnet problem cnhawk386 Linux - Networking 1 10-10-2007 02:50 PM
What route to access daisy chained 2d router 192.168.1.1 after 192.168.0.1 (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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