Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.

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

![]() |
Name Service Error
|
I think I hosed the unix ...
|

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