*BSD News Article 82816


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!cs.utexas.edu!howland.erols.net!EU.net!chsun!news.eunet.ch!usenet
From: cleto@e-link.ch (Cleto Pescia)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problem: FreeBSD 2.1.5R loses routes when using IP aliasing
Date: Wed, 13 Nov 1996 22:48:07 GMT
Organization: EUnet AG
Lines: 23
Message-ID: <328a4d0a.201497@news.eunet.ch>
NNTP-Posting-Host: 193.72.189.5
X-Newsreader: Forte Free Agent 1.1/32.230

Hello,

I have a FreeBSD 2.1.5R server connected to a Cisco 2501 router and I
would like to set it up as a PPP server. I use the netmask
255.255.255.240 on my Class C, in order to have subnets of 14 hosts
each. Since I want to devote one subnet to the PPP clients, and
applying the rule (from the doc.) that PPP server and clients must be
on the same subnet, I started to define an IP alias for my FreeBSD's
ed0 [193.72.189.2], following the doc's suggestions. That is:

ifconfig ed0 inet 193.72.189.17 netmask 255.255.255.240 alias
route add -host 183.72.189.17 127.0.0.1 0

Everything seems to be working fine for a while, but then the FreeBSD
"looses" the route to the Cisco, since it expires.

Question: What am I doing wrong? 

Any help would be *very* much appreciated!

Cleto Pescia
<cleto@e-link.ch>