Simon,

Here's the simple answer,

To add it

    # ifconfig eth0:2 192.168.1.111 up

To drop it

    # ifconfig eth0:2 down

To find out more about it

    # man ifconfig

If you are using an address range that is normally a "B" as a "C" for 
example

    # ifconfig eth0:2 172.16.1.111 up

then you will need to do

    # ifconfig eth0:2 netmask 255.255.255.0
    # ifconfig eth0:2 broadcast 172.16.1.255



HTH

Pete


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to