Date: Wed, 16 May 2012 16:08:37 -0400 From: David Banning <david+dated+1337630917.3cec4a@skytracker.ca> To: questions@freebsd.org Subject: problems with networking and route command Message-ID: <20120516200837.GA63280@skytracker.ca>
next in thread | raw e-mail | index | archive | help
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<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 02:11:d8:b3:0e:43 ch 1 dma -1 vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 faith0: flags=8002<BROADCAST,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120516200837.GA63280>