Re: single machine, different IP addresses
Day Tue, 08 Feb 2011 08:44:02 +0100, you wrote:
> Am 08.02.11 06:53, schrieb T o n g:
>> Hi,
>>
>> Is it possible to make a single machine having/answering to different IP
>> addresses (I'm using DNSmasq as the dns server)?
>>
> You can use a virtual interface:
>
> ifconfig eth0:0 192.168.0.1 netmask 255.255.255.0
>
>
IMO the better choice is to use ip tool.
For example;
ip a a 192.168.0.1/24 dev eth0
--
Artur 'bzyk' Frydel
Nie chwal systemu przed pierwszym padem.
Reply to: