From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 13:22:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27DFB106566B for ; Thu, 3 Jun 2010 13:22:39 +0000 (UTC) (envelope-from samuelwang22@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id F277D8FC14 for ; Thu, 3 Jun 2010 13:22:37 +0000 (UTC) Received: by pxi7 with SMTP id 7so37554pxi.13 for ; Thu, 03 Jun 2010 06:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=eLRPa+CbQPW55FL47zjmFxH4TA7kAkInA+jCucqcN+w=; b=ax6k6k+ovDWhB7Nsg1FfjTTgVpJLyLFdV2pcX4tk7yDOuJS0xqE/NemgrCLWT1ZsdA P12do8UT/5AEOWrV6xBsuTM7oK2Am11AvYCkr9DGw4RB9wOPBJhSaJcrfUj2Op7ujPZ+ 9c0+xqymiOGk4e/0u3vPyyHlEXFdSsTEBwDD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=SG1kg962RKKILf2Bt3YiVaLoqbKgUZKxo/6xgavS+qzA4KvTEvS3r/tKZFGymSaOXD ZnwtxiQYoJnjCjMravofsmhAA1hSLMA7eDIS+5iKFDR6y1llZO5PNVVyRiuv0ZZMxmnz nkLU645CAWl3wtfxQotzcwW+ekUjZVNCXXhjQ= Received: by 10.140.83.40 with SMTP id g40mr8105474rvb.102.1275569500244; Thu, 03 Jun 2010 05:51:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.191.21 with HTTP; Thu, 3 Jun 2010 05:51:20 -0700 (PDT) From: samuelwang Date: Thu, 3 Jun 2010 20:51:20 +0800 Message-ID: To: freebsd-questions@freebsd.org X-Mailman-Approved-At: Thu, 03 Jun 2010 15:58:00 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: cannot ping private IP within the same subnet of AP 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: Thu, 03 Jun 2010 13:22:39 -0000 Dear all: I have setup an AP by using freeBSD 8 on eeebox b202. The eeebox has two network interface. One is ethernet and the other is wireless. I setup AP, DHCP, NAT on it. I can already connect to this AP and connect to the internet normally. But, I can't ping the other client which is connected to this AP. ping error message is destination unreachable. I check the firewall, dhcp settings, and gateway. Everything is just find. Then I use netstat -nr to check the routing table: Internet: Destination Gateway Flags Refs Use Netif Expire default 140.112.42.254 UGS 8 35878 re0 127.0.0.1 link#3 UH 0 0 lo0 140.112.42.0/24 link#1 U 2 184 re0 140.112.42.165 link#1 UHS 0 0 lo0 192.168.0.0/24 link#4 U 0 2615 wlan0 192.168.0.254 link#4 UHS 0 0 lo0 I found that there is no C Flags in 192.168.0.0/24 link#4. In official handbook, C: Clone: Generates a new route based upon this route for machines we connect to. This type of route is normally used for local networks. I don't know the How could i enable this C Flags by anything settings? thanks. -- Po-Jung Wang Graduate Institute of Communication Engineering, National Taiwan University Blog: http://language99.blogspot.com