Re: Multiple static ips and dhcp mixed

2008-07-23 Thread Alex Samad
On Wed, Jul 23, 2008 at 01:38:43PM -0700, Mike Bird wrote: > Hi Armin, > > Use dummy0 for the static ip's, e.g.: > any erason for dummy instead of loopback ? [snip] > > --Mike Bird > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [

Re: Multiple static ips and dhcp mixed

2008-07-23 Thread Mike Bird
Hi Armin, Use dummy0 for the static ip's, e.g.: auto eth1 iface eth1 inet dhcp auto dummy0 iface dummy0 inet static address 172.16.2.201 netmask 255.255.255.0 broadcast 172.16.2.255 auto dummy0:1 iface dummy0:1 inet static address 172.16.2.202 netmas

Re: Multiple static ips and dhcp mixed

2008-07-23 Thread Alex Samad
On Wed, Jul 23, 2008 at 11:50:10AM +0200, Armin Häberling wrote: > Alex Samad wrote: >> On Wed, Jul 23, 2008 at 10:48:10AM +0200, Armin Häberling wrote: >>> Hi all, >>> [snip] >> >> why not add the addresses to lo then > > how can I do that? have a look at man interfaces, the section you want is

Re: Multiple static ips and dhcp mixed

2008-07-23 Thread Andrei Popescu
On Wed,23.Jul.08, 10:48:10, Armin Häberling wrote: > Hi all, > > I'm currently setting up a development machine of ours. For testing our > application it need two static ips. it does not need to be accessible > under these ips from outside. > Another interface should be configured via dhcp. I w

Re: Multiple static ips and dhcp mixed

2008-07-23 Thread Armin Häberling
Alex Samad wrote: On Wed, Jul 23, 2008 at 10:48:10AM +0200, Armin Häberling wrote: Hi all, I'm currently setting up a development machine of ours. For testing our application it need two static ips. it does not need to be accessible under these ips from outside. Another interface should be

Re: Multiple static ips and dhcp mixed

2008-07-23 Thread Alex Samad
On Wed, Jul 23, 2008 at 10:48:10AM +0200, Armin Häberling wrote: > Hi all, > > I'm currently setting up a development machine of ours. For testing our > application it need two static ips. it does not need to be accessible > under these ips from outside. > Another interface should be configured