Subject: Re: ifconfig aliases
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 09/05/2000 17:28:02
On Tue, Sep 05, 2000 at 05:06:35PM +0200, Manuel Bouyer wrote:
> On Tue, Sep 05, 2000 at 12:57:30PM +0100, Patrick Welche wrote:
> > Is it possible in theory to have a computer with a single interface having
> > an alias on another network? Everytime I have tried this in the past I have
> > used 2 interfaces, but I just tried 3 computers:
> > 
> > A: 192.168.0.62
> > B: 192.168.1.2
> > C: 192.168.0.1, alias 192.168.1.1
> > 
> > all netmasks are 0xffffff00.
> > 
> > A can ping C
> > B can ping C
> > C can't even ping 127.0.0.1
> > 
> > Can this work with said netmask, or have I messed up the routes?
> 
> This should work. I have a machine with 192.168.2.1/24, alias
> 192.168.1.52/24.

Thank you for the "it works for me". I gave up on the 1.4K box, but 1.5B
worked just fine. I did think it odd that ping <alias> didn't work until a
telnet <alias> first..

Cheers,

Patrick