Eth & Internet Connection. Solaris 10

Hi,

Just installed solaris 10 under vmware workstation 5.5, and after the first run got ifconfig -a as follows:

lo0: bla bla 127.0.0.1

e1000g0: bla bla inet 0.0.0.0 netmask 255.255.255.255

The lower-right icon showed warning mark on the connection icon

I tried few things, but had to reboot (after restoring /etc/hosts to original and basically everything as was before).

After reboot ifconfig -a just shows:

lo0: bla bla 127.0.0.1

/etc/hosts shows:

127.0.0.1 localhost loghost <my host name>

ifconfig -a plumb doesn't do anything

on boot i see 2 messages regarding this issue:

1. Failed to configure IPv4 interface(s) : pcn0

2. Faiiled to plumb IPv4 interface ....

I have eth card on my pc. in winXP having inet 192.168.0.1 connected to home network on 255.255.255.0. Also having Internet connection under ip 84.x.x.xand the solaris 10 configured to have DHCP

My questions:

1. How do I configure ETH (vmware is in "bridge" mode for ETh), and then see my home network ?

2. How do I connect to the internet ?

I am sorry to say that i work on solaris os for the last 6 years as a C++ Programmer and still doesn't know basic admin issues, but never late to start :)).. anyhow help will be appriciated.

[1321 byte] By [enzolitoa] at [2007-11-27 1:52:35]
# 1

remark : I booted once again, and now "ifconfig -a plumb" gives the e1000g0 with inet 0.0.0.0 netmask ffffff

I didn't configure defaultrouter or something like that, but I tried to:

route add 192.168.0.3 default but got unreachable network

tried to add routing to localhost and then add default route, but no ping doesn't getting reply.

Is there "step-by-step" manual to configure network+internet after solaris installation?

enzolitoa at 2007-7-12 1:21:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Did you install it network or non-networked mode. I think u might have chosen non-networked.In any case you need get an ip address. Typically this is provided by a dhcp server. You could try:ifconfig e1000g0 dhcp primary might be helpful
nebulous@besta at 2007-7-12 1:21:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

thanks!

I've made a further progress (it was "network" conf but few problems in the vmware vmx file).So, after reconfiguring (sys-unconfig and the re-everything) I have working e1000g0

ifconfig e1000g0 dhcp - gives problematic IP, so I used yours "ifconfig e1000g0 dhcp primary" and got good IP.So - Thanks, it was helpful

now my solaris10 pings successfully my winxp.

I'll try tomorrow to see if solaris pings my home network.. as for now it doesn't resolving internet urls and doesn't surfing using direct ip.

Any suggestions for me for tommorow regarding internet (resolving url, and before that - surfing just by http://ip ) ?

enzolitoa at 2007-7-12 1:21:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

I would check if you have a valid domain name and /etc/resolv set.

First, I would check and see if /etc/nsswitch.conf is valid for DNS. You can copy it /etc/nsswitch.dns to nsswitch.conf

Next make sure that /etc/resolv.conf has been populated with nameserver info. This should happen as a result of "primary".

nebulous@besta at 2007-7-12 1:21:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5

Well, now all ok. I really did copy the resolv.dns to the conf (actually mved it). nameserver now has the winxp ip (192.168.0.1) and site are available from url.I didn't have to route to other computers in my home net because all are in the same subnet (192.168.0.0). Now I also understand "primary" does something (populating what to nameserver?).I'll read it in the man.

Anyhow, now all ok!! Thank you very much for the help on this issue.

Now I need to install weblogic or jboss or some other J EE 5 server and start coding simple progs.We are intend to move to J2E 5 (previously C++, ilog, solaris 8) on our new sun servers with solaris 10 (amazing, BTW... 16 CPUs... almost never in 100% use). So I want to try some things at home..

ThAnKs, & Bye.

enzolitoa at 2007-7-12 1:21:41 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...