Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 10:34:22 +0200
From:      Dimitar Peikov <mitko@rila.bg>
To:        stable@FreeBSD.ORG
Subject:   BRIDGE DUMMYNET  PIPE
Message-ID:  <20020129103422.27557d89.mitko@rila.bg>

next in thread | raw e-mail | index | archive | help

Hi,

Yesterday I've CVSUPed -stable branch and make a test for bandwidth
limitation using IPFW pipe rule on DUMMYNET and BRIDGE. It is strange to
me that trafic trought my box flows normally, but I have no ping to the
box that has been limited. My network scheme is like this :

FreeBSD ------ switch ------ Linux
                 |
Win     ---------+

FreeBSD has xl0 ethernet 192.168.1.1/24 and 192.168.2.1/24
Win has 192.168.1.2/24
Linux has 192.168.2.2/24

In this case Win can ping Linux and vice-versa but FreeBSD cannot ping
Linux even more cannot telnet to it but FreeBSD can ping Win. Default gw for Linux and Win is
FreeBSD box thus if FreeBSD is down (or not forwarding packets) they can't
ping each other. I've flushed my ARP tables and no effect. My IPFW rules are :

ipfw pipe 1 config bw 3KByte/s
ipfw add 100 pipe 1 ip from any to 192.168.1.0/24
ipfw add 100 pipe 1 ip from 192.168.1.0/24 to any
ipfw add 65000 allow ip from any to any

Still have no idea why this is happend!

-- 
Dimitar Peikov
Programmer Analyst
Globalization Group
"We Build e-Business"  

RILA Solutions  
27 Building, Acad.G.Bonchev Str.  
1113 Sofia, Bulgaria  

phone: (+359 2) 9797320 
phone: (+359 2) 9797300 
fax:   (+359 2) 9733355  
http://www.rila.com 

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




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