*BSD News Article 83987


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!EU.net!Norway.EU.net!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!newsfeed.sunet.se!news99.sunet.se!mn5.swip.net!news
From: jonathan@environ.se
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: ip aliasing with dynamic ppp
Date: Sun, 01 Dec 1996 15:39:14 GMT
Organization: -
Lines: 16
Message-ID: <32a1a1b2.253930@nntpserver.swip.net>
NNTP-Posting-Host: dialup114-5-15.swipnet.se
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-User: s-25464
X-Newsreader: Forte Agent .99f/32.275

I bet it's not possible to use ip aliasing with dialup dynamic ip
otherwise everyone would be doing it. 

I've been trying to do this anyway:
ifconfig tun0 alias <fake address not used in our subnet> <dynamic ip>
ifconfig tun0 alias <same dynamic ip> <gateway>

I can then telnet to both addresses but the alias address is probably
not broadcasted properly (I don't have another computer to test it
from at the moment).

BTW, when I run user ppp without playing with ifconfig I get my
dynamic ip aliased to my gateway. Why is that? Is ifconfig performing
the same function as "route add" or something?

Anyone care to give me a hand?