Re: single machine, different IP addresses

2011-02-08 Thread Camaleón
On Tue, 08 Feb 2011 13:47:00 +, T o n g wrote: > On Tue, 08 Feb 2011 13:14:39 +, T o n g wrote: > >>> "ip" tool settings will lost after computer restarts unless you make >>> an script that sets the data on every network reboot... I think IP >>> alias (virtual interface) is the way to go.

Re: single machine, different IP addresses

2011-02-08 Thread Robert Grimm
Camaleón wrote: > On Tue, 08 Feb 2011 11:27:27 +0100, Artur Frydel wrote: >> IMO the better choice is to use ip tool. For example; >> ip a a 192.168.0.1/24 dev eth0 > "ip" tool settings will lost after computer restarts unless you make an > script that sets the data on every network reboot... I

Re: single machine, different IP addresses

2011-02-08 Thread T o n g
On Tue, 08 Feb 2011 13:14:39 +, T o n g wrote: > 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 >>

Re: single machine, different IP addresses

2011-02-08 Thread T o n g
On Tue, 08 Feb 2011 10:58:55 +, Camaleón wrote: 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 t

Re: single machine, different IP addresses

2011-02-08 Thread Camaleón
On Tue, 08 Feb 2011 11:27:27 +0100, Artur Frydel wrote: > 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)? >>> >>

Re: single machine, different IP addresses

2011-02-08 Thread Artur Frydel
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 n

Re: single machine, different IP addresses

2011-02-08 Thread Adrian Levi
On 8 February 2011 15:53, T o n g wrote: > >From http://www.acme.com/software/thttpd/thttpd_man.html > But this really looks Greek to me. I have to ask, why you can't or don't want to use Apache web server? It supports Virtual Hosts pretty much out of the box on Debian with a minimum of configu

Re: single machine, different IP addresses

2011-02-07 Thread Guido Kölsch
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 Guido -- To UNSUBSCRIBE, email to debian-us