From owner-freebsd-questions Mon Aug 25 13:14:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA06645 for questions-outgoing; Mon, 25 Aug 1997 13:14:35 -0700 (PDT) Received: from srv.net (snake.srv.net [199.104.81.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA06635 for ; Mon, 25 Aug 1997 13:14:33 -0700 (PDT) Received: from darkstar.home (pmif112.ida.net [204.228.203.112]) by srv.net (8.8.5/8.8.5) with SMTP id OAA12982; Mon, 25 Aug 1997 14:13:09 -0600 (MDT) Date: Mon, 25 Aug 1997 13:12:36 -0700 (MST) From: Charles Mott X-Sender: cmott@darkstar.home To: Craig cc: questions@FreeBSD.ORG Subject: Re: FreeBSD as a LAN to Internet gateway In-Reply-To: <3401DCA2.167EB0E7@ferraro.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 25 Aug 1997, Craig wrote: > I am new to FreeBSD (I just installed it Friday) and I have been trying > to set up a network with my FreeBSD machine as an Internet gateway. I > have read the tutorial at http://www.freebsd.org/tutorials/ppp/ and have > confirmed that I followed the necessary steps. > > I can easily make connections between computers within my network, but > when I try to get traffic to the Internet, nothing works. I have > verified that packet forwarding is enabled and the initializes at boot. > > Below is the tcpdump output from a computer named stentor attempting to > ping he.net (or 207.33.3.2). First of all, I'm not sure what all that netbios traffic below is about. If you are using user ppp, then you should do "tcpdump -n -i tun0". That will show the traffic actually going outside your local area network. It looks like you are dumping out your ethernet interface. Also, are you using "ppp -alias" or do you have a registered subnet? > > 15:09:21.309164 stentor.ferraro.net.netbios-ns > > 192.168.1.255.netbios-ns: udp 68 > 15:09:21.312862 0:40:5:4c:41:21 > 3:0:0:0:0:1 sap f0 ui/C len=44 > 2c00 ffef 0100 0000 0000 0a00 0000 0000 > 0000 0000 0000 0000 0000 0000 4a4f 4520 > 2020 2020 2020 2020 2020 2003 > 15:09:22.088303 stentor.ferraro.net.netbios-ns > > 192.168.1.255.netbios-ns: udp 68 > 15:09:22.209690 0:40:5:4c:41:21 > 3:0:0:0:0:1 sap f0 ui/C len=44 > 2c00 ffef 0100 0000 0000 0a00 0000 0000 > 0000 0000 0000 0000 0000 0000 4a4f 4520 > 2020 2020 2020 2020 2020 2003 > 15:09:22.883083 stentor.ferraro.net.netbios-ns > > 192.168.1.255.netbios-ns: udp 68 > 15:09:23.257784 0:40:5:4c:41:21 > 3:0:0:0:0:1 sap f0 ui/C len=44 > 2c00 ffef 0100 0000 0000 0a00 0000 0000 > 0000 0000 0000 0000 0000 0000 4a4f 4520 > 2020 2020 2020 2020 2020 2003 > 15:09:23.669735 stentor.ferraro.net.netbios-ns > > 192.168.1.255.netbios-ns: udp 68 > 15:10:21.354658 stentor.ferraro.net.netbios-ns > > 192.168.1.255.netbios-ns: udp 50 > 15:10:22.108746 stentor.ferraro.net.netbios-ns > > 192.168.1.255.netbios-ns: udp 50 > 15:10:22.864608 stentor.ferraro.net.netbios-ns > > 192.168.1.255.netbios-ns: udp 50 > 15:10:35.248136 stentor.ferraro.net > he.net: icmp: echo request > 15:10:36.441001 stentor.ferraro.net > he.net: icmp: echo request > 15:10:37.954249 stentor.ferraro.net > he.net: icmp: echo request > 15:10:38.972695 stentor.ferraro.net > he.net: icmp: echo request > 15:11:20.590660 0:40:5:4c:41:21 > 3:0:0:0:0:1 sap f0 ui/C len=170 > 2c00 ffef 0800 0000 0000 0000 4e45 5420 > 2020 2020 2020 2020 2020 201e 5354 454e > 544f 5220 2020 2020 2020 2000 ff53 4d42 > 2500 00 > 15:11:20.648005 stentor.ferraro.net.netbios-dgm > > 192.168.1.255.netbios-dgm: udp 208 >