Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 1997 23:16:14 +0000
From:      Brian Somers <brian@awfulhak.demon.co.uk>
To:        "Matthew A. Gessner" <mgessner@aristar.com>
Cc:        hackers <hackers@freebsd.org>
Subject:   Re: ppp alias under 2.1.5 
Message-ID:  <199701212316.XAA05457@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Mon, 20 Jan 1997 14:53:26 EST." <199701201947.OAA27104@home.winc.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
[.....]
> 	I've attached the ppp.conf files from two machines: inetgw and voyager. 
> If someone could point out to me why packets AREN'T being forwarded from
> tun1 to tun0 and what I need to change, I'd appreciate it.  The only thing
> I found that works is to create a route after ppp is logged in (say I want
> to go from voyager (10.0.0.133) to home.winc.com (204.178.182.2) through
> inetgw (10.0.0.4): I have to do route add 204.178.182.2 10.0.0.4) and then
> I can ping it.  But that doesn't do me a lot of good).
[.....]
> #
> # Begin inetgw ppp.conf
> #
[.....]
> wincppp:
[.....]
>   set ifaddr 204.178.182.134 204.178.182.20
[.....]
> dialup:
[.....]
>   set ifaddr 0.0.0.0/24 10.0.0.3/24 255.255.255.0
[.....]
> #
> # Begin inetgw ppp.linkup
> #
> 204.178.182.134:
> 	add 0 0 HISADDR
> 10.0.0.133:
> 	add 0 0 HISADDR
[.....]
> #
> # Begin voyager ppp.conf
> #
[.....]
> serial:
[.....]
>  set ifaddr 10.0.0.133 10.0.0.4/24 255.255.255.0
[.....]
> #
> # Begin voyager ppp.linkup
> #
> MYADDR:
>  add 0 0 HISADDR
[.....]

The only problem I see is that you're attempting to add two default routes in
inetgw:ppp.linkup - When 10.133 establishes the connection, it gets the default
and inetgw sees no point in sending packets back where they came from.

Try removing the 10.0.0.133 entry from inetgw:ppp.linkup - it's not required.

-- 
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701212316.XAA05457>