Computing.Net > Forums > Solaris > Nic Configuration

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Nic Configuration

Reply to Message Icon

Name: Hal
Date: October 15, 2002 at 13:05:18 Pacific
OS: Solaris 8
CPU/Ram: Sparc1 167Mhz/64Mb
Comment:

I'm planning on configuring Solaris to be a router. So far I've formatted and installed Solaris 8 on a SUN station which has two NICs an internal one and another on scsi . I chose the end user installation group for the setup. Chose le0 for primary network interface out of le0 and le1. I then chose not to install DHCP, and to use DNS.
After configuring the primary interface through the installation and inputting DNS info. I reboot the machine and in accordance with Lance Spitzners' write up on configuring network interface cards
(http://www.enteract.com/~lspitz/interfaces.html), went about configuring the other NIC (scsi)

I created a hostname.le1 file in /etc containing "st-sun"

added to the /etc/hosts file, the line "172.16.142.254 st-sun"

added to the /etc/netmasks file, the line "172.16.143.0 255.255.254.0"

According to all the documentation I can find on-line this is all that is nessary to configure the NIC, and when I reboot it should be plumbed and then configured.

However the interface is not being brought up or assigned any IP information when I boot Solaris. When I enter "ifconfig -a"
le1 is shown with no ip configuration.

I can manually configure the NIC by entering
"ifconfig le1 172.16.142.254 netmask 255.255.254.0 up", and I've been able to ping through the card on the 172.16.0.0 network upon doing this; however whenever I reboot the NIC is not getting configured..

arggh, How can I troubleshoot, or correct this so that the NIC is configured correctly at boot?

Thanks for any help.




Sponsored Link
Ads by Google

Response Number 1
Name: TaaKie
Date: October 16, 2002 at 06:21:49 Pacific
Reply:

Hey,

You can add a file in the /etc/init.d directory, and link it with ln -s to the /etc/rc1.d and /etc/rc2.d directory to respectivly kill & start the file. In the file you bring up the NIC and voila.
See /etc/init.d/ for an example.

Hope it helps,
Taakie


0
Reply to Message Icon

Related Posts

See More


Name Service Error I think I hosed the unix ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Nic Configuration

Help!!! Nic configuration in ultra 5 spa www.computing.net/answers/solaris/help-nic-configuration-in-ultra-5-spa/1280.html

DSL DHCP 3COM NIC Configuration www.computing.net/answers/solaris/dsl-dhcp-3com-nic-configuration-/843.html

NIC Installation www.computing.net/answers/solaris/nic-installation/2128.html