Date: Thu, 10 Sep 1998 16:56:23 +0200 From: Arve Ronning <arve.ronning@thomson-csf.no> To: hg@glaess.ndh.com Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: i4b and routing Message-ID: <35F7E897.F5C548BA@thomson-csf.no> References: Pine.LNX.3.96.980910135537.2024D-100000@glaess.evkkk.de
next in thread | raw e-mail | index | archive | help
hg@glaess.ndh.com wrote: > > hi, > ich noch mal ...... ;-) > > also ich versteh so einiges nicht ...... > > 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 ? > It will, if you use NAT and IPFW > > 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. > > help please. > You will have to excuse my German :) I understand you try to use your FreeBSD box as a router in order to get in touch with the InterNet from a second box connected to the FreeBSD box through some sort of local network. To do this, you will have to: 1) Configure the second box to use the FreeBSD box as the default gateway 2) Configure the FreeBSD box kernel to act as a gateway. Set GATEWAY="YES" in /etc/rc.conf (I believe) and make a new /kernel 3) Set up natd with ipfw (on the FreeBSD box) to do address translation on outgoing IP packets from the local address to the address supplied by your ISP and to translate back the incoming replies. I suspect step 3) is what's failing in your case, because the current versions of I4B do not inform NATD of the new address when it arrives during call setup to your ISP. One way of doing this (as I discovered after receiving help from the I4B gang:) is to 'kill -HUP' NATD _after_ the call has been set up. This can be automated. Another way of getting NATD updated is to wait for the next version of I4B and install that. I think there is a patch for this exact purpose on it's way. Good luck ! -Arve 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?35F7E897.F5C548BA>