![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Auto Start/Stop Didnt Work in Solaris 10 | adzuanamir | SUN Solaris | 0 | 04-22-2008 08:25 PM |
| Multiple LAN Interfaces | Docboyeee | AIX | 2 | 12-16-2006 08:23 AM |
| how do i auto start application upon startup? | doofie | UNIX for Dummies Questions & Answers | 2 | 04-01-2004 06:20 AM |
| interfaces | emsakopa | UNIX for Dummies Questions & Answers | 1 | 01-16-2003 11:44 AM |
| Hme0 interfaces... | Michelle1977 | UNIX for Advanced & Expert Users | 1 | 01-14-2002 04:58 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
auto start interfaces
Hi,
I'v just installed solaris 10 on a server. I have configured 4 nic card's, but when i reboot the system i have to ifup all 4 of them evertime after a reboot. How can i solve this ? |
| Forum Sponsor | ||
|
|
|
|||
|
manually typing "ifconfig bge3 up" etc is a temporary configuring of the interface and it wont survive a reboot.
If you want to easilly configure your interface automatically on reboot do something like Edit the following file (where bge3 is the interface you are configuring) vi /etc/hostname.bge3 Add the host alias for the IP to be configured eg. server_int4 Of course server_int4 must be in the /etc/inet/hosts file for you to do this. Alternatively you could just put the IP address in there. But its good practice to use hostnames. You should also put an entry in the /etc/inet/netmasks file that has the network and subnet in it. If you want to create a default route then you should put a host alias for the defaultrouter in /etc/defaultrouter file. Im afraid that static routes will require you put the "route add" command in a startup script. |