Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2003 17:48:06 +0200
From:      "Tom Dymond" <tom@kmem.org>
To:        <freebsd-stable@freebsd.org>
Subject:   Re: bridge troubles with wi
Message-ID:  <00ce01c393fc$e510a1e0$7701a8c0@xtom>
References:  <07ab01c39306$489b9af0$7701a8c0@xtom><20031015222331.GA50588@blossom.cjclark.org> <090001c393b7$f1964040$7701a8c0@xtom>

next in thread | previous in thread | raw e-mail | index | archive | help
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@kmem.org>
To: <freebsd-stable@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@comcast.net>
> To: "Tom Dymond" <tom@kmem.org>
> Cc: <freebsd-stable@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@alum.mit.edu
> >                                    |     cjclark@jhu.edu
> > http://people.freebsd.org/~cjc/    |     cjc@freebsd.org
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
> >
> >
>
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ce01c393fc$e510a1e0$7701a8c0>