Hi,
I have an Ultra Enterprise 2 workstation, and I just bought a second ethernet card for it. It's installed and the self-test checks on both cards from the OBP.
I am running Solaris 8.0, and I'm unsure of the patch level, as I'm a newbie. When I run uname -a, I get Generic_108528-17 sun4u sparc SUNW,Ultra-2. Does this mean patch level 17? The hardware release is 6/00. Is that where the 108528 comes from, because on the sunsolve.sun.com site when I click on the "--Select SunOS and Patch Number--", the lowest SunOS 5.8 is 108987. I guess, basically, I'm wondering what the 108528 means and what the -17 means.
Sorry to go off on a tangent. Back to the ethernet problem.
Now for the fun part: I'd like to have one card boot via DHCP from my ISP, and the other card use static settings for my private network.
All I've done so far is to run sys-unconfig and set hme0 as the primary interface using DHCP. I've created the /etc/hostname.hme1 file, and edited the /etc/hosts file with the hostname I used in the hostname.hme1 file.
My hostname.hme1 file now contains the text:
<hostname> 192.168.10.20 255.255.255.0 up
My hosts file contains:
127.0.0.1 localhost
192.168.10.20 <hostname> loghost
xxx.xxx.xxx.xxx <DCHP-assigned adx> #added by DHCP
The hostname is the same in both files. I moved loghost from the loopback line to the second line. That shouldn't have any adverse affects, should it?
So at this point, when I boot up and run ifconfig -a, I see both interfaces, hme0 and hme1, and hme0 is using DHCP. But hme1 is down and has 0.0.0.0 for IP address and 0 for netmask. I run ifconfig hme1 up, and it comes up with IP address 0.0.0.0 and the netmask and broadcast adx set by the DHCP server. I added the /etc/notrouter file just for good measure. I thought maybe the fact that the machine is a router by default might be causing the secondary interface to be getting its settings from the DHCP server (netmask and broadcast adx anyway).
Is there some way I can set up hme1 with my own static settings, and to be up when the system comes up? I can use ifconfig to change all the settings to my liking, but they go back to the above after a reboot. Is there another file(s) I need to edit/add somewhere?
Thanks for your help!
Mike