bridge troubles with wi

marcos marcos at thepacific.net
Thu Oct 16 18:09:43 PDT 2003


why just don't use option BRIDGE on the kernel?

----- Original Message ----- 
From: "Tom Dymond" <tom at kmem.org>
To: <freebsd-stable at freebsd.org>
Sent: Friday, October 17, 2003 4:48 AM
Subject: Re: bridge troubles with wi


> I'm sorry for replying for myself again, but i found a workaround for my
> problem.
>
> I unloaded bridge.ko
> # kldunload bridge
>
> I loaded ng_ether and ng_bridge
> # kldload ng_ether
> # kldload ng_bridge
>
> I then copied this file to my /root folder for doing some tests
> # cp /usr/share/examples/netgraph/ether.bridge /root/ether.bridge
>
> I put the values corresponing to my setup in the /root/ether.bridge file
> BRIDGE_IFACES="wi0 rl0"
> LOCAL_IFACE="rl0"
>
> I started the bridge
> # sh /root/ether.bridge start
>
> To test if the problem was the same, i removed the arp entry for my
wireless
> laptop on 10.0.2.99 on wi0
> # arp -d 10.0.2.99
>
> I then tried to ping 10.0.2.99
>
> # ping 10.0.2.99
> PING 10.0.2.99 (10.0.2.99): 56 data bytes
> 64 bytes from 10.0.2.99: icmp_seq=0 ttl=128 time=42.430 ms
>
> cube# arp 10.0.2.99
> ? (10.0.2.99) at 00:80:c8:07:29:5c on rl0 [ethernet]
>
>
> it all works like it should :ppppp
>
> :D
>
> i'd still like to know where i went wrong with the /modules/bridge.ko
>
> Tom
>
>
> ----- Original Message ----- 
> From: "Tom Dymond" <tom at kmem.org>
> To: <freebsd-stable at freebsd.org>
> Sent: Thursday, October 16, 2003 9:34 AM
> Subject: Re: bridge troubles with wi
>
>
> > Hi
> >
> > Thanks for trying to help out.
> >
> > After a few more tests and clues, i managed to ping the router from the
> > wireless client on the condition that i specify :
> >
> > on the router 10.0.2.1:
> > cube# arp -s 10.0.2.99 00:80:c8:07:29:5c
> >
> > and
> >
> > on the wireless client 10.0.2.99:
> > (cmd.exe on windows xp) arp -s 10.0.2.1 00:50:8d:47:e5:67
> >
> > now that i know what causes it, i dont know how come i have to enter
these
> > manually.
> >
> > a few bits of information i forgot to specify in my last email to the
> group
> > :
> >
> > system :
> > i dont feel comfortable posting a whole dmesg output in the list so i'll
> put
> > it on my webserver at this address :
> > dmesg : http://kmem.org/dmesg.boot
> > rc.conf : http://kmem.org/rc.conf
> >
> >
> >
> > Thanks
> >
> > Tom
> >
> > ----- Original Message ----- 
> > From: "Crist J. Clark" <cristjc at comcast.net>
> > To: "Tom Dymond" <tom at kmem.org>
> > Cc: <freebsd-stable at freebsd.org>
> > Sent: Thursday, October 16, 2003 12:23 AM
> > Subject: Re: bridge troubles with wi
> >
> >
> > > On Wed, Oct 15, 2003 at 12:22:48PM +0200, Tom Dymond wrote:
> > > [snip]
> > >
> > > > when 10.0.2.1 tries to ping 10.0.2.99 this is what tcpdump sees :
> > > >
> > > > # tcpdump: listening on rl0
> > > > 12:09:50.169209 arp who-has 10.0.2.99 (0:50:8d:47:e5:67) tell
> > cube.kmem.org
> > >
> > > Run tcpdump on the wi0 interface during some of your tests. What do
> > > you see there?
> > > -- 
> > > Crist J. Clark                     |     cjclark at alum.mit.edu
> > >                                    |     cjclark at jhu.edu
> > > http://people.freebsd.org/~cjc/    |     cjc at freebsd.org
> > > _______________________________________________
> > > freebsd-stable at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > > To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe at freebsd.org"
> > >
> > >
> >
> >
> > _______________________________________________
> > freebsd-stable at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to
"freebsd-stable-unsubscribe at freebsd.org"
> >
> >
>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>



More information about the freebsd-stable mailing list