Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2001 09:38:54 -0700
From:      harish <harish@netscaler.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:    IPFW with bridging enabled
Message-ID:  <C143D2DEAA20D411A5E500A0CC600C291B6FAC@MAIL>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C116BA.A01F2B90
Content-Type: text/plain;
	charset="iso-8859-1"

HI,
  Could any please get me more info regarding ipfw filtering bridge packets.
Thanks
harish

-----Original Message-----
From: harish 
Sent: Thursday, July 26, 2001 5:02 PM
To: freebsd-questions@freebsd.org
Subject: IPFW with bridging enabled


Hi 
    I was trying to use ipfw as a bandwidth emulator. Could anyone please
guide me on how I could use ipfw with bridge enabled.
FreeBSD version: 4.2
 
FreeBSD is crashing when I try to do the following
 
I have set the following sysctl variables:
 
sysctl -w net.link.ether.bridge=1
sysctl -w net.link.ether.bridge_ipfw=1
 
ipfw add pipe 1 ip allow from any to any in
ipfw pipe 1 config bw 300Kbit/s
ipfw pipe 1 config allow <- it crashes here.
 
additional info:
 
I have set following options in my kernel conf file
DUMMYNET
BRIDGE
IPFIREWALL
IPDIVERT
 
I have the following in my /etc/rc.conf file
 
firewall_enable = "YES"
firewall_type = "OPEN"
 
Thanks in Advance
Harish Muppalla
 
 
 
 


------_=_NextPart_001_01C116BA.A01F2B90
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=620121316-27072001>HI,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=620121316-27072001>&nbsp; 
Could any please get me more info regarding ipfw filtering bridge 
packets.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=620121316-27072001>Thanks</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=620121316-27072001>harish</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> harish <BR><B>Sent:</B> 
  Thursday, July 26, 2001 5:02 PM<BR><B>To:</B> 
  freebsd-questions@freebsd.org<BR><B>Subject:</B> IPFW with bridging 
  enabled<BR><BR></DIV></FONT>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=570214623-26072001>Hi 
  </SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>&nbsp;&nbsp;&nbsp; I was trying to use ipfw as a 
  bandwidth emulator. Could anyone please guide me on how I could use ipfw with 
  bridge enabled.</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>FreeBSD version: 4.2</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>FreeBSD is crashing when I try to do the 
  following</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=570214623-26072001>I 
  have set the following sysctl variables:</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>sysctl -w net.link.ether.bridge=1</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>sysctl -w 
  net.link.ether.bridge_ipfw=1</SPAN></FONT></SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=570214623-26072001>ipfw 
  add pipe 1 ip allow from any to any in</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=570214623-26072001>ipfw 
  pipe 1 config bw 300Kbit/s</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=570214623-26072001>ipfw 
  pipe 1 config allow &lt;- it crashes here.</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2>additional info:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=570214623-26072001>I 
  have set following options in my kernel conf file</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>DUMMYNET<BR>BRIDGE<BR>IPFIREWALL</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>IPDIVERT</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=570214623-26072001>I 
  have&nbsp;the following in my /etc/rc.conf file</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>firewall_enable = "YES"</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>firewall_type = "OPEN"</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>Thanks in Advance</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001>Harish Muppalla</SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
  class=570214623-26072001></SPAN></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C116BA.A01F2B90--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C143D2DEAA20D411A5E500A0CC600C291B6FAC>