Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 1998 17:53:43 +0200
From:      Harold Gutch <logix@foobar.franken.de>
To:        "hg@glaess.ndh.com" <hg@glaess.ndh.com>, majordomo freebsd-isdn <freebsd-isdn@FreeBSD.ORG>
Subject:   Re: i4b and routing
Message-ID:  <19980910175343.00510@foobar.franken.de>
In-Reply-To: <Pine.LNX.3.96.980910135537.2024D-100000@glaess.evkkk.de>; from hg@glaess.ndh.com on Thu, Sep 10, 1998 at 02:02:02PM %2B0200
References:  <Pine.LNX.3.96.980910135537.2024D-100000@glaess.evkkk.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 10, 1998 at 02:02:02PM +0200, hg@glaess.ndh.com wrote:
Please try posting in english as this mailinglist is read by
non-german persons too.

> i4b leauft ! aber ein routing kommt erst zu stande wenn ich per hand
> 2 netzrouten zusaetlich setze . ist das IO so ?
> ich denke FreeBSD macht das automatisch  ?
> 
FreeBSD will not do any "automatic routing". A route to the other
side of a PPP-connection should be added automatically as soon as
you configure a device as a PPP-device:

ifconfig isppp0 <my-ip> <remote-ip> link1 debug up

You need to add a defaultroute to the remote side (or if you
wish, add a defaultroute over your isppp0-interface, although
routing over IPs is "cleaner"), which can be done for example in
/etc/rc.isdn or /etc/start_if.isppp0.

> zum zeiten kann ich mit meinem 2ten rechner den bsd anpingen und telneten
> aber ich komme von ihm nicht in das internet .
> 
> probiert habe ich es schon in jeglicher form mit nat ohne nat 
> mit firewall , ohne bzw. mit oder ohne allem .
> 
> tcpdump sieht den icmp request aber es kommt kein reply.
> 
This is a very inprecise description of your problem. Does your
ISP route 1 single IP to you or more IPs or even a subnet ?

In case you are using more than 1 "real" (non-private) IP, all
you might be missing is "sysctl -w net.inet.ip.forwarding=1",
which is automatically performed at boot-time if you specify
gateway_enable="YES" in /etc/rc.conf (or gateway="YES" in
/etc/sysconfig if you still use sysconfig).

-- 
bye, logix

<Shabby> Sleep is an abstinence syndrome wich occurs due to lack of caffein.
Wed Mar  4 04:53:33 CET 1998   #unix, ircnet

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message



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