Date: Tue, 28 Mar 2000 17:17:30 +0700 From: "Benedict H" <hbenedict_fbsd@yahoo.com> To: freebsd-isp@freebsd.org Subject: Gateway problem Message-ID: <200003281717300350.00769894@smtp.mail.yahoo.com> References: <200003281125420050.0039848C@smtp.mail.yahoo.com> <200003281709490530.006F9035@smtp.indosat.net.id> <200003281713040510.00728A06@smtp.indosat.net.id> <200003281713290560.0072EBF4@smtp.indosat.net.id>
next in thread | previous in thread | raw e-mail | index | archive | help
--=====_95423865026962=_ 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 <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 --=====_95423865026962=_ Content-Type: text/html; charset="us-ascii" <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content='"MSHTML 4.72.3110.7"' name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT color=#000000 face=Arial size=2>Hi,</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2><BR>I'm trying to get my FreeBSD 3.3 box up and running as a <FONT color=#000000 face=Arial size=2>gateway</FONT> between<BR>2 local subnets. I have already recompile the kernel with the IPFIREWALL,<BR>IPFIREWALL_FORWARD, IPFILTER, DUMMYNET, and BRIDGE options.</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT>Currently the firewall rule is allow all from any to any.</DIV> <DIV> </DIV> <DIV><FONT color=#000000 face=Arial size=2> subnet1 -- gw -- subnet2</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2><BR>Here's what I've got at the console when I type netstat -r:</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2>localhost localhost UH 0 1 lo0<BR>192.168.1/26 link#3 UC 0 0 ep0<BR>gw <gw ep0 ether addr> UHLW 0 2 lo0<BR>192.168.1.5 <host1 ether addr> UHLW 1 1550 ep0 694<BR>192.168.2/26 link#1 UC 0 0 xl0<BR>gw <gw xl0 ether addr> UHLW 0 136 lo0<BR>192.168.2.63 ff:ff:ff:ff:ff:ff UHLWb 1 1 xl0</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2>But I encountered a problem, when I ping from gw box to host1 box,<BR>I always have the responses back to me in about 10 to 40 seconds.<BR>Then in the host1 machine, I type "tcpdump -i ep0" at the console<BR>and I think host1 runs correctly, because it always reply immediately <BR>after it gets the echo request. </FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2>When I unplugged my xl0 device out of the machine, everything goes well.</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2><BR>Anyone, please help me fix this problem.</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2><BR>Thank you</FONT></DIV> <DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV> <DIV><FONT color=#000000 face=Arial size=2><BR>Benedict</FONT></DIV></BODY></HTML> --=====_95423865026962=_-- __________________________________________________ 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-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003281717300350.00769894>