Please bear in mind, the form of ethN:Nis deprecated for Linux. It hasn't been dropped in 2.5 but is likely to be dropped in a soon to come development cycle. Second note, most operating systems will use the first assigned address of an interface (the primary address) if the program has not explicitly bound itself to a particular IP.

David


Renaud Deraison wrote: [...]

 and hope to have a security audit done anonymously. Also note
 that usually, your operating system is very good at determining which
 IP address should be used when scanning a host, so don't use this
 feature except if you are sure you know what you're doing.

- Under Linux, you can create virtual interfaces by doing :
        ifconfig ethN:M <ip>

 ie:
        ifconfig eth0:0 192.168.1.1
        ifconfig eth0:1 192.168.1.2
        ...

- Under a BSD system, you need to do :
        ifconfig <iface> alias <ip> netmask 255.255.255.255

 ie:
        ifconfig rl0 alias 192.168.1.1 netmask 255.255.255.255
        ifconfig rl0 alias 192.168.1.2 netmask 255.255.255.255
        ...



-- Renaud





Reply via email to