LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with ip needed (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-ip-needed-668279/)

Junior_DBA 09-08-2008 02:58 AM

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.

billymayday 09-08-2008 03:08 AM

Their on different subnets (200 and 247).

Try setting

ifconfig eth0 192.168.200.3

or similar

Junior_DBA 09-08-2008 03:45 AM

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
....

billymayday 09-08-2008 04:02 AM

How are they connected?

Junior_DBA 09-08-2008 04:29 AM

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:(

sivanadri 09-08-2008 04:52 AM

Are these Vm's running in bridged mode?


All times are GMT -5. The time now is 09:06 PM.