[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] [Raq550]How to add/remove Network Aliases from shell?



Hi,

I need to create a couple of scripts to add and remove IP aliases from
the command shell.

Ifconfig is not good enough. I need something that broadcasts ARP
packets, so the other nodes, know about the change.

Ideally I nee to to do what the GUI does when you add or remove an IP I
found the php pages, but unfortunately my PHP is not too good. Can
anyone help, please?

The pages are:

/usr/sausalito/ui/web/base/network/aliasModify.php
/usr/sausalito/ui/web/base/network/aliasRemove.php

TIA
Yiannis Costopoulos
yiannis at yiannis dot co dot uk