From owner-freebsd-questions@FreeBSD.ORG Wed May 16 20:38:23 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A67B51065675 for ; Wed, 16 May 2012 20:38:23 +0000 (UTC) (envelope-from david+dated+1337630917.3cec4a@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7618FC15 for ; Wed, 16 May 2012 20:38:13 +0000 (UTC) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.14.4/8.14.4) with ESMTP id q4GK8cQc066250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 16 May 2012 16:08:38 -0400 (EDT) (envelope-from david+dated+1337630917.3cec4a@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.14.4/8.14.4/Submit) id q4GK8cUl066238 for questions@freebsd.org; Wed, 16 May 2012 16:08:38 -0400 (EDT) (envelope-from david+dated+1337630917.3cec4a@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1337630917.3cec4a@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Wed, 16 May 2012 16:08:37 -0400 Date: Wed, 16 May 2012 16:08:37 -0400 To: questions@freebsd.org Message-ID: <20120516200837.GA63280@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: David Banning Cc: Subject: problems with networking and route command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 20:38:23 -0000 I am having a problem getting users who get their dhcp from my system to be able to connect to the internet. On one network interface my server can connect to the internet no problem - that's device vr0. On another, rl0 - I have a connection to the local network - no problem connecting to local machines from the server. The problem is that the local machines cannot access the internet through the FreeBSD server. Here is the output of ifconfig; fwe0: flags=8802 mtu 1500 ether 02:11:d8:b3:0e:43 ch 1 dma -1 vr0: flags=8843 mtu 1500 inet 64.40.244.36 netmask 0xfffffff0 broadcast 64.40.244.47 inet6 fe80::16d6:4dff:fe47:88ae%vr0 prefixlen 64 scopeid 0x2 ether 14:d6:4d:47:88:ae media: Ethernet autoselect (100baseTX ) status: active rl0: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::211:95ff:fe66:7162%rl0 prefixlen 64 scopeid 0x3 ether 00:11:95:66:71:62 media: Ethernet autoselect (100baseTX ) status: active lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 faith0: flags=8002 mtu 1500 And here is the ipv4 part output of netstat -nr # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 64.40.244.33 UGSc 8 2365 vr0 64.40.244.32/28 link#2 UC 1 0 vr0 64.40.244.33 00:0c:42:07:26:35 UHLW 9 0 vr0 1187 127.0.0.1 127.0.0.1 UH 7 61626 lo0 192.168.1 link#3 UC 4 0 rl0 192.168.1.16 link#3 UHLW 2 2032 rl0 192.168.1.40 00:1b:78:e6:c3:cc UHLW 0 31 rl0 1189 192.168.1.101 00:07:e9:b9:50:98 UHLW 4 12526 rl0 1193 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 3 330 rl0 It is machines that connect and receive via DHCP 192.168.1.2 and above that can't connect to the internet though the server. I don't know a whole lot about route - I have been attempting a variation of route commands without success. If anyone by looking at my information can suggest a route command, or suggest a way to dig for more information on this it would be greatly appreciated. lot about this