From owner-freebsd-net Sun Mar 31 16:28:44 2002 Delivered-To: freebsd-net@freebsd.org Received: from web21110.mail.yahoo.com (web21110.mail.yahoo.com [216.136.227.112]) by hub.freebsd.org (Postfix) with SMTP id 8884337B41A for ; Sun, 31 Mar 2002 16:28:39 -0800 (PST) Message-ID: <20020401002839.54646.qmail@web21110.mail.yahoo.com> Received: from [152.15.26.29] by web21110.mail.yahoo.com via HTTP; Sun, 31 Mar 2002 16:28:39 PST Date: Sun, 31 Mar 2002 16:28:39 -0800 (PST) From: Vinod Subject: help needed with configuring a gateway To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi there. i was trying to create a gateway having one ethernet card(10.0.0.2) and a wireless nic(10.0.1.1). I wanted this gateway to act between a laptop(10.0.1.5) and another pc acting as a firewall/gateway(10.0.0.1). 10.0.0.1-wired----10.0.0.2 gateway 10.0.1.1---wireless---10.0.1.5 Somehow i cant ping from the laptop to the 10.0.0.1 host.i can ping from laptop to the gateway and from gateway to 10.0.0.1.i have done gateway_enable="YES" in /etc/rc.conf. Here's how my routing table looks at the gateway. ------------------------------------------------------ Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.0.0.1 UGSc 1 422 fxp0 10/24 link#1 UC 2 0 fxp0 10.0.0.1 0:e0:29:24:4d:d4 UHLW 4 7 fxp0 1047 10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 264 fxp0 10.0.1/24 link#7 UC 0 0 wi0 localhost localhost UH 1 2 lo0 ------------------------------------------------------ i tried to observe if my ping from the laptop is reaching the 10.0.0.1 machine at all by running tcp dump there. i got: testbed1-pc.1028>10.0.0.255.3661 : udp 80 testbed1-pc.1028>10.0.0.255.3661 : udp 80 ......... [Here testbed1-pc is the name of the gateway] Does this tell anything?i am new to all this so have no clue. when i run tcpdump at my gateway and ping the laptop from 10.0.0.1 i see on the screen: arp who-has 10.0.1.5 tell 10.0.0.1 .......... 10.0.0.2.1028>10.0.0.255.3661> udp 80 .................... Would appreciate any help a lot. Thanks in advance, Vinod __________________________________________________ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message