On 07/12/10 05:36 PM, Ramesh Katla wrote:
On 07/12/10 17:08, Sunay Tripathi wrote:
Hey Guys,

I was sitting in a boring conference and decided to bring by
desktop forward to b137. Anyway, all went without incidence
and I did wanted to try out the new nwam GUIs. Seems like
nwam ignores /etc/hostname.xxx but the GUI etc looks good!
Anyway, to go back to using my fixed /etc/hostname.igb0,
I disabled nwam and re enabled network/physical:default.
The onboard igb0 comes up fine (correct IP, netmask, etc)
but I can't even ping my default router. Ping fails with
"sendto: network unreachable" which seems to be the direct
cause of arp not getting resolved which itself seems to
be direct cause of no packets going out on the network.

Now the interesting part is if I disable network/physical:default
the NIC starts working fine. dladm shows the link to be up,
full duplex before and after. The log files for
network/physical:default in /var/svc/log are normal and there
are no console messages. Somehow enabling network/physical:default
does something to NIC (standard intel motherboard NIC).
Sunay,

You may have to modify the /etc/hosts file, and remove hostname from ::1
and 127.0.0.1 entries, and another
add ip address and hostname.
I encountered the same issue, and it worked for me.

The diff of /etc/hosts

# diff /etc/hosts.orig /etc/hosts
25,26c25,27
< ::1 hostname hostname.local localhost loghost
< 127.0.0.1 hostname hostname.local localhost loghost
---
 > ::1 hostname.local localhost loghost
 > 127.0.0.1 hostname.local localhost loghost
 > 192.168.10.10 hostname

Hope this helps.


Ramesh,

Once I fixed the earlier issue, I did hit this one as well and your
email was in time to remind me that PAM gets unhappy if some of these
entries are missing. Not sure which build these requirements came in
because earlier you could put your IP address direct in /etc/hostname.xxx file and at least you can send packets back and forth.

I wish I had some time to look at this more to find out what was
going on. There might still be a bug or at least needs some more
documentation since /etc/hosts never used to stop networking for
working before.

Cheers,
Sunay


_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org

Reply via email to