From owner-freebsd-questions Mon Mar 27 20:24:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.mail.yahoo.com (smtp.mail.yahoo.com [128.11.68.32]) by hub.freebsd.org (Postfix) with SMTP id E1E6037B858 for ; Mon, 27 Mar 2000 20:24:18 -0800 (PST) (envelope-from hbenedict_fbsd@yahoo.com) Received: from ppp15-jkt3.indosat.net.id (HELO radiance) (202.155.28.143) by smtp.mail.yahoo.com with SMTP; 27 Mar 2000 20:24:08 -0800 X-Apparently-From: Message-ID: <200003281125420050.0039848C@smtp.mail.yahoo.com> X-Mailer: Calypso Version 3.00.00.14 (3) Date: Tue, 28 Mar 2000 11:25:42 +0700 From: "Benedict H" To: freebsd-questions@FreeBSD.ORG Subject: My Gateway machine problem Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====_95421754218467=_" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --=====_95421754218467=_ Content-Type: text/plain; charset="us-ascii" Hi, I'm trying to get my FreeBSD 3.3 box up and running as a gateway between 2 local subnets. I have already recompile the kernel with the IPFIREWALL, IPFIREWALL_FORWARD, IPFILTER, DUMMYNET, and BRIDGE options. Currently the firewall rule is allow all from any to any. subnet1 -- gw -- subnet2 Here's what I've got at the console when I type netstat -r: localhost localhost UH 0 1 lo0 192.168.1/26 link#3 UC 0 0 ep0 gw UHLW 0 2 lo0 192.168.1.5 UHLW 1 1550 ep0 694 192.168.2/26 link#1 UC 0 0 xl0 gw UHLW 0 136 lo0 192.168.2.63 ff:ff:ff:ff:ff:ff UHLWb 1 1 xl0 But I encountered a problem, when I ping from gw box to host1 box, I always have the responses back to me in about 10 to 40 seconds. Then in the host1 machine, I type "tcpdump -i ep0" at the console and I think host1 runs correctly, because it always reply immediately after it gets the echo request. When I unplugged my xl0 device out of the machine, everything goes well. Anyone, please help me fix this problem. Thank you Benedict --=====_95421754218467=_ Content-Type: text/html; charset="us-ascii"
Hi,
 

I'm trying to get my FreeBSD 3.3 box up and running as a gateway between
2 local subnets. I have already recompile the kernel with the IPFIREWALL,
IPFIREWALL_FORWARD, IPFILTER, DUMMYNET, and BRIDGE options.
Currently the firewall rule is allow all from any to any.
 
            subnet1 -- gw -- subnet2
 

Here's what I've got at the console when I type netstat -r:
 
localhost       localhost           UH    0   1   lo0
192.168.1/26    link#3              UC    0   0   ep0
gw              <gw ep0 ether addr> UHLW  0   2   lo0
192.168.1.5     <host1 ether addr>  UHLW  1  1550 ep0  694
192.168.2/26    link#1              UC    0   0   xl0
gw              <gw xl0 ether addr> UHLW  0   136 lo0
192.168.2.63    ff:ff:ff:ff:ff:ff   UHLWb 1   1   xl0
 
But I encountered a problem, when I ping from gw box to host1 box,
I always have the responses back to me in about 10 to 40 seconds.
Then in the host1 machine, I type "tcpdump -i ep0" at the console
and I think host1 runs correctly, because it always reply immediately
after it gets the echo request.
 
When I unplugged my xl0 device out of the machine, everything goes well.
 
 
 

Anyone, please help me fix this problem.
 

Thank you
 

Benedict
--=====_95421754218467=_-- __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message