LinuxQuestions.org
Register a domain and help support LQ
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 09-08-2008, 03:58 AM   #1
Junior_DBA
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Rep: Reputation: 15
help with ip needed


Hi guys. I am a complitely newbie in linux networking. I have 2 machines. Both have databases. I can conect to the first one, but can't do it for the second.

how to to configurate second server?
i set his ip:

ifconfig eth0 192.168.200.2
tried ping 192.168.200.2 - works
tried ping of my first server 192.168.247.2 - doesnot work i am getting an error:

the network is unreachable.


Please help.
 
Old 09-08-2008, 04:08 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Their on different subnets (200 and 247).

Try setting

ifconfig eth0 192.168.200.3

or similar
 
Old 09-08-2008, 04:45 AM   #3
Junior_DBA
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Original Poster
Rep: Reputation: 15
does not work

Quote:
[root]# ifconfig

First server:

eth0 Link encap:Ethernet HWaddr 00:0C:29:84:49:C6 inet addr:192.168.247.2 Bcast:192.168.247.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packates:8 errors:0 dropped:0

overruns:0 frame:0
TX packets:15 errors:0 dropped:0

overrruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1122 (1.0 Kib) TX bytes:798

(798.0 b)
Interrupt:188 Base address:0X2000

lo
.....


Second server:


eth0
Link encap:Ethernet HWaddr

00:0C:29:E5:6A:EF
inet addr:192.168.247.3

Bcast:192.168.247.255 Mask:255.255.255.0
inet6 addr:fe80:20c:29ff:fee5:6aef/64

Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500

Metric:1
RX packates:321 errors:0 dropped:0

overruns:0 frame:0
TX packets:14 errors:0 dropped:0

overrruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29313 (28.6 Kib) TX bytes:756

(756.0 b)
Interrupt:177 Base address:0X2000

lo
....
 
Old 09-08-2008, 05:02 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
How are they connected?
 
Old 09-08-2008, 05:29 AM   #5
Junior_DBA
LQ Newbie
 
Registered: Aug 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Sorry, forgot to say that they are Virtual Machines (VMWare) now i can ping

from my_pc to server1
form my_pc to server2

but can't ping them ( from server1 to server2) distination host is unreachable

Last edited by Junior_DBA; 09-08-2008 at 05:30 AM.
 
Old 09-08-2008, 05:52 AM   #6
sivanadri
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
Are these Vm's running in bridged mode?
 
  


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
How many CD is needed? lazylogic Slackware 8 05-04-2008 07:29 PM
Help Needed. Andy12 Linux - General 9 09-25-2007 11:21 PM
XGL needed for Beryl is conflicting with OpenGL needed for Cedega chunkeydelight Linux - Desktop 2 07-18-2007 06:50 AM
Errors installing Q, which is needed for Lex, which is needed for PHP Virtuality Linux - Software 1 05-29-2007 05:47 PM


All times are GMT -5. The time now is 09:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration