How do I configure PPP using Dynamic IP Addresses (DHCP)?
If you’re using Solaris aspppd, you need a void entry in /etc/hosts and plumb it to do DHCP with PPP. Basically add this line to /etc/hosts: 0.0.0.1 void (Note: for Solaris 2.4 use 0.0.0.0 in lieu of 0.0.0.1) Change the ifconfig line in /etc/asppp.cf to link to void rather than the local machine IP entry in /etc/hosts. Then add “negotiate_address on” to your /etc/asppp.cf file. If you’re using the open source pppd, simply don’t specify an IP address in your pppd options file. If you’re using the commercial Solaris PPP, keep the default of “none” when prompted for your IP address by pppinit. Edit file /platform/i86pc/kernel/drv/asy.conf. To use DHCP, either: (1) Add a file /etc/dhcp.ppp0 (where ppp0 is the name of your TCP interface shown in ifconfig; usually le0 for Ethernet) with the following suggested line: wait 60 Or (2) Edit files /etc/hostname.ppp0 (where ppp0 is the interface name) and /etc/nodename to be both empty (0-length) files, then /usr/sbin/reboot. For more information,
If you’re using Solaris aspppd, you need a void entry in /etc/hosts and plumb it to do DHCP with PPP. Basically add this line to /etc/inet/hosts: 0.0.0.1 void (Note: for Solaris 2.4 use 0.0.0.0 in lieu of 0.0.0.1) Change the ifconfig line in /etc/asppp.cf to link to void rather than the local machine IP entry in /etc/inet/hosts. Then add “negotiate_address on” to your /etc/asppp.cf file. If you’re using the open source pppd, simply don’t specify an IP address in your pppd options file. If you’re using the commercial Solaris PPP, keep the default of “none” when prompted for your IP address by pppinit. Edit file /platform/i86pc/kernel/drv/asy.conf To use DHCP, either: (1) Add a file /etc/dhcp.ppp0 (where ppp0 is the name of your TCP interface shown in ifconfig; usually le0 for Ethernet) with the following suggested line: wait 60 Or (2) Edit files /etc/hostname.ppp0 (where ppp0 is the interface name) and /etc/nodename to be both empty (0-length) files, then /usr/sbin/reboot. For more info