If your site implements PPP authentication, you can assign specific, static IP addresses to individual callers. In this scenario, every time a dial-out machine calls the dial-in server, the caller receives the same IP address.
You implement static addresses in either the pap-secrets or chap-secrets database. Here is a example of an /etc/ppp/pap-secrets file that defines static IP addresses.
joe myserver joepasswd 10.10.111.240 sally myserver sallypasswd 10.10.111.241 sue myserver suepasswd 10.10.111.242 |
joe, sally, and sue are the names of the authorized callers.
myserver indicates the name of the server.
joepasswd, sallypasswd, and suepasswd indicate the passwords for each caller.
10.10.111.240 and 10.10.111.241 and 10.10.111.242 are the IP addresses assigned to each caller.
Here is a example of an /etc/ppp/chap-secrets file that defines static IP addresses.
account1 myserver secret5748 10.10.111.244 account2 myserver secret91011 10.10.111.245 |
account1 and account2 indicate the names of the callers.
myserver indicates the name of the server for each caller.
secret5748 and secret91011 indicates the CHAP secret for each caller.
10.10.111.244 and 10.10.111.245 are the IP addresses for each caller.