Become superuser on the system where you want to enable Mobile IP.
On a command line, type the appropriate command for each label that you want to add or delete for the designated section.
For the General section use:
# mipagentconfig [add | delete] <label> <value> |
For the Advertisements section use:
# mipagentconfig [add | delete] adv device-name <label> <value> |
You can add an interface by typing:
# mipagentconfig add adv device-name |
In this case, default values are assigned to the interface (for both foreign agent and home agent).
For the GlobalSecurityParameters section use:
# mipagentconfig [add | delete] <label> <value> |
For the Pool section use:
# mipagentconfig [add | delete] Pool Pool-identifier <label> <value> |
For the SPI section use:
# mipagentconfig [add | delete] SPI SPI-identifier <label> <value> |
For the Address section use:
# mipagentconfig [add | delete] addr [NAI | IPaddr | node-default] \ <label> <value> |
Be careful that you do not create identical Advertisements, Pool, SPI, and Address sections.
For example, if you wanted to create a new address pool, say Pool 11, that has a base address of 192.167.1.1 and a size of 100, use the following commands.
# mipagentconfig add Pool 11 BaseAddress 192.167.1.1 # mipagentconfig add Pool 11 size 100 |
Or you might want to delete a particular security parameter. The following example shows you how to delete SPI 257.
# mipagentconfig delete SPI 257 |