Solaris 10 - ping network issue

Hi,

I'am begineer in this OS. I've installed it few days ago only to perform project "Managing users in Solaris".
I have to create two virtual systems in eg. vmware , connect them and eg. rlogin from user1/machine1 to user2/machine2, give them some permissions to write read etc (this is simply) and something else ...

The first step I have to do is configure network between them. And here is problem. I think that setup of the OS on machine1 and machine2 is set correctly but while I'm trying to ping eg. machine2 from machine1 then error like ICMP Host Unreachable from gateway test_machine is notoriously appearing.

Setup below. Please help and thank you all in advance.

Two machines in VMware (Solaris 10 OS) , both have selected NAT in the network options.

The first machine configuration:

# more /etc/hostname.e1000g0
192.168.3.9 netmask + 255.255.255.0

#more /etc/inet/ipnodes
Internet host table
192.168.3.9 test_machine

#more /etc/inet/hosts
Internet host table
192.168.3.9 test_machine

#ifconfig -a
e1000g0: flags=1000843<UP,BROADCAST,RUNNING, MULTICAST, IPv4> mtu 1500 index 3 inet 192.168.3.9 netmask ffffff00 broadcast 192.168.3.255 ether 0:c:29:96:b3

#netstat -rm

Routing TAble: IPv4

Destination: 192.168.3.0
Gateway:test_machine
Flags: U
Ref: 1
Use: 13
Interface e1000g0

#ping 192.168.3.9
192.168.3.9 is alive
#ping 192.168.3.0
192.168.3.0 is alive
#ping 192.168.4.0
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.0
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.0
#ping 192.168.4.9
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.9
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.9

The second machine configuration:

# more /etc/hostname.e1000g0
192.168.4.9 netmask + 255.255.255.0

#more /etc/inet/ipnodes
Internet host table
192.168.4.9 test_machine2

#more /etc/inet/hosts
Internet host table
192.168.4.9 test_machine2

#ifconfig -a
e1000g0: flags=1000843<UP,BROADCAST,RUNNING, MULTICAST, IPv4> mtu 1500 index 3 inet 192.168.4.9 netmask ffffff00 broadcast 192.168.4.255 ether 0:c:29:a3:5c:94

#netstat -rm

Routing TAble: IPv4

Destination: 192.168.4.0
Gateway:test_machine2
Flags: U
Ref: 1
Use: 13
Interface e1000g0

#ping 192.168.4.9
192.168.3.9 is alive
#ping 192.168.4.0
192.168.3.0 is alive
#ping 192.168.4.0
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.0
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.0
#ping 192.168.4.9
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.9
ICMP Host Unreachable from gateway test_machine (192.168.3.9) for icmp from test_machine (192.168.3.9) to 192.168.4.9

What is wrong ?

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.