DHCP interface on startup with Solaris 10
I want interface 3 to bring up DHCP on startup. I asked the Internet and it said:
Create a file called dhcp.e1000g2 in /etc, upon reboot all will be fine. Neins! I get an error on startup, 'Failed to configure IPv4 DHCP' etc....
So instead of spending more time troubleshooting, you can get around this with a script in rc2:
/etc/rc2.d/S30g2IFConf
#!/sbin/sh
# Script to bring up g1000e2 and assign DHCP on startup for management
ifconfig e1000g2 plumb
ifconfig e1000g2 dhcp
exit 0
Putting the script in RC2 makes it run on runlevel2. Read up on Google for more info on that.
Laters

1 comments:
Really.. read up on Solaris before creating redudant scripts...
touching dhcp. will start dhcp... but you also have to create a empty hostname. to plumb the interface
Post a Comment