problem network with solaris 10 & vmware

Hello
The first sorry for mi bad english
I install a solaris 10 on vmware. I follow the steps to configure the network, but i can't do work :frowning:
I follow the next steps:
# vi hosts
"hosts" [S�lo lectura] 6 l�neas, 82 caracteres
#
# Internet host table
#
::1 localhost loghost workshop

192.168.116.3 servidor

-----------------------------
# vi ipnodes
"ipnodes" [S�lo lectura] 6 l�neas, 82 caracteres
#
# Internet host table
#
::1 localhost loghost workshop

192.168.116.3 localhost
------------------------------
# vi netmasks
"netmasks" [S�lo lectura] 14 l�neas, 356 caracteres
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0

192.168.116.0 255.255.255.0
--------------------------------------------
# vi defaultrouter
"defaultrouter" 1 l�nea, 14 caracteres
192.168.116.1
--------------------------------------------
# vi hostname.e1000g0
"hostname.e1000g0" [Archivo Nuevo]
servidor
---------------------------------------------
# vi nodename
"nodename" 1 l�nea, 9 caracteres
servidor
-----------------------------------------------
# svcadm restart network/physical
-----------------------------------------------

in my windows xp the configuration is the next:
Adaptador Ethernet Conexi�n de �rea local :

    Sufijo de conexi�n espec�fica DNS : N/A
    Direcci�n IP. . . . . . . . . . . : 192.168.209.149
    M�scara de subred . . . . . . . . : 255.255.255.0
    Puerta de enlace predeterminada   : 192.168.209.1

Adaptador Ethernet VMware Network Adapter VMnet1 :

    Sufijo de conexi�n espec�fica DNS :
    Direcci�n IP. . . . . . . . . . . : 192.168.199.1
    M�scara de subred . . . . . . . . : 255.255.255.0
    Puerta de enlace predeterminada   :

Adaptador Ethernet VMware Network Adapter VMnet8 :

    Sufijo de conexi�n espec�fica DNS :
    Direcci�n IP. . . . . . . . . . . : 192.168.116.1
    M�scara de subred . . . . . . . . : 255.255.255.0
    Puerta de enlace predeterminada   :

Well, when i have a ping fron the physical machine( win xp) to virtual (solaris), the solaris respond, but when i do the same from the virtual machine to physical machine, the ping doesn't respond.
Could you helpme, please?
Thans

what is the output of "dladm show-dev" in the solaris virtual machine? have you installed the vmware tools on your virtual machine?

---------- Post updated at 13:19 ---------- Previous update was at 13:19 ----------

To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags

```text
 and 
```

by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums

Hello

# dladm show-dev
e1000g0         v�nculo: up     velocidad: 1000  Mbps   d�plex: full

And yes, I install the vmware tools on the virtual machine

# netstat -arn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              192.168.116.1        UG        1          0
192.168.116.0        192.168.116.3        U         1          1 e1000g0
224.0.0.0            127.0.0.1            U         1          0 lo0
0.0.0.0              192.168.116.3        UHB       1          0 e1000g0
0.0.0.0              192.168.116.3        UHB       1          0 e1000g0
127.0.0.1            127.0.0.1            UH        1         28 lo0
192.168.116.255      192.168.116.3        UHB       1         12 e1000g0
192.168.116.255      192.168.116.3        UHB       1          0 e1000g0
192.168.116.0        192.168.116.3        UHB       1          0 e1000g0
192.168.116.0        192.168.116.3        UHB       1          0 e1000g0
255.255.255.255      192.168.116.3        UHB       1          0 e1000g0
255.255.255.255      192.168.116.3        UHB       1          0 e1000g0
192.168.116.3            --               UHL       1          8 e1000g0

please use the "traceroute" tool from solaris and "tracert" from windows and post the output + used command.

C:\Documents and Settings\dgracia>tracert 192.168.116.3

Traza a 192.168.116.3 sobre caminos de 30 saltos como m�ximo.

  1    <1 ms    <1 ms    <1 ms  192.168.116.3

Traza completa.

&

# traceroute 192.168.116.1
traceroute to 192.168.116.1 (192.168.116.1), 30 hops max, 40 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6 ^C#

add default gateway into Solaris

route add default 192.168.209.1

and then

ifconfig e1000g0 dhcp start

and then try to ping

ping www.sun.com

Hello
I try

# route add default 192.168.209.1
add net default: gateway 192.168.209.1: La red no es alcanzable

(the network doesn't reachable)

(I think this is normally because my network is in another range 192.168.116. the another vmwarelan is for another virtual machine)

# route add default 192.168.116.1
add net default: gateway 192.168.116.1: entry exists
# ifconfig e1000g0 dhcp start
ifconfig: e1000g0: wait timed out, operation still pending...

This is more strange. why i can do ping to the virtual machine, and the virtual machine respong, and when i try to do the same from the virtual machine doesn't work? it's possible have a firewall inside the solaris???

You want to ping but windows does not respond

hmm , do you have an firewall enabled ???

On windows no. On solaris I don't now.
I try to configure with the solaris management console, with the same result.
I think that the problem is the phisical network (on the sun). I don't know why can't out the conexions.
The conexion can entry, to solaris, but the solaris can connect out
Observation: The windows xp have a proxy to connect internet, but I think that not necessary configure the proxy in the virual sun, because the 2 machines are in the same network segment

try go to

network connectios -> lan -> propreties -> advanced ->(windows firewall) settings -> select your host LAN connection ->on services enable Telnet then go to ICMP tab and enable incoming echo requests and confirm your selection and restart LAN connection to make changes active :smiley:

Hello
Solved. The problem was the gateway. When I put ipconfig in win xp I see:
Configuraci�n IP de Windows

Adaptador Ethernet Conexi�n de �rea local          :

        Sufijo de conexi�n espec�fica DNS : ctti.local
        Direcci�n IP. . . . . . . . . . . : 192.168.209.149
        M�scara de subred . . . . . . . . : 255.255.255.0
        Puerta de enlace predeterminada   : 192.168.209.1

Adaptador Ethernet VMware Network Adapter VMnet8          :

        Sufijo de conexi�n espec�fica DNS :
        Direcci�n IP. . . . . . . . . . . : 192.168.116.156
        M�scara de subred . . . . . . . . : 255.255.255.0
        Puerta de enlace predeterminada   :

Adaptador Ethernet VMware Network Adapter VMnet1          :

        Sufijo de conexi�n espec�fica DNS :
        Direcci�n IP. . . . . . . . . . . : 192.168.199.163
        M�scara de subred . . . . . . . . : 255.255.255.0
        Puerta de enlace predeterminada   :

On the solaris I put the ip 192.168.199.163, but when I try to do ping to 192.168.199.163 i don't have response. In the vmware virtual network Editor i can see NAT --> gateway 192.168.199.2 i put this gateway and works ok
Note: curiosly I can't do ping to VMware Network Adapter 192.168.199.163