Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I configure PPP using Dynamic IP Addresses (DHCP)?

0
10 Posted

How do I configure PPP using Dynamic IP Addresses (DHCP)?

0
10

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,

0

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

0

If you’re using Solaris aspppd, you need a void entry in /etc/hosts and plumb it to do DHCP with PPP.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.