Bridging interfaces

Simon Timms stimms at gmail.com
Sat Sep 29 18:33:37 PDT 2007


Hello,
I seem to be having some trouble bridging interfaces in FreeBSD 6.2-STABLE.
What I have are two interfaces

rl0 - 192.168.2.2
sis0 - 192.168.1.2

and a bridge I've set up following the pages in the handbook.  However
frames don't seem to be routed from one interface to the other.  The
internet gateway for the networks lives on 192.168.1.1 and I am able to
reach the internet from boxes on the 192.168.1.0/24 subnet but not from the
other.  Tracing the route from a box on the 192.168.2.0/24 subnet the
connection times out on the freebsd box, orinoco.

On orinoco:

[stimms at orinoco /usr/pub/distfiles]$ ping freebsd.org
PING freebsd.org (69.147.83.40): 56 data bytes
64 bytes from 64.191.203.30: icmp_seq=0 ttl=244 time=79.676 ms
64 bytes from 64.191.203.30: icmp_seq=1 ttl=244 time=69.009 ms
^C
--- digg.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 69.009/74.343/79.676/5.334 ms

[stimms at orinoco /usr/pub/distfiles]$ traceroute freebsd.org
traceroute to freebsd.org (69.147.83.40), 64 hops max, 40 byte packets
 1  wireless (192.168.1.1)  0.849 ms  0.792 ms  0.740 ms
 2  * * *
 3  rd1no-ge7-0-0-2.cg.shawcable.net (64.59.131.210)  9.407 ms  9.793 ms
9.648 ms
 4  rc1no-ge6-0-0.cg.shawcable.net (66.163.77.5)  9.754 ms  9.887 ms  9.453ms
 5  rc1so-pos15-0.cg.shawcable.net (66.163.77.9)  10.553 ms  9.192 ms *
 6  rc1wh-pos3-0-0.vc.shawcable.net (66.163.77.197)  22.346 ms  53.143 ms
22.748 ms
 7  rc1wt-pos1-0-0.wa.shawcable.net (66.163.76.2)  27.164 ms  29.142 ms
25.660 ms
 8  six.yahoo.com (198.32.180.98)  28.643 ms  30.031 ms  36.214 ms
 9  ge-0-2-0.pat2.swp.yahoo.com (216.115.110.33)  25.840 ms  28.536 ms
27.054 ms
10  so-1-0-0.pat1.pdx.yahoo.com (216.115.110.39)  37.792 ms  36.867 ms
34.238 ms
11  so-3-0-0.pat1.sjc.yahoo.com (216.115.110.36)  47.776 ms  52.997 ms
46.636 ms
12  g-0-0-0-p160.msr1.sp1.yahoo.com (216.115.107.57)  46.840 ms
    g-1-0-0-p170.msr2.sp1.yahoo.com (216.115.107.85)  50.327 ms
    g-1-0-0-p160.msr1.sp1.yahoo.com (216.115.107.61)  51.827 ms
13  ge-1-46.bas-b1.sp1.yahoo.com (209.131.32.43)  50.238 ms
    ge-1-41.bas-b2.sp1.yahoo.com (209.131.32.33)  52.068 ms
    ge-1-48.bas-b1.sp1.yahoo.com (209.131.32.47)  49.095 ms
14  freebsd.org (69.147.83.40)  51.419 ms  51.483 ms  50.079 ms


On a 192.168.2.0/24 side box

[stimms at congo1 ~]$ traceroute freebsd.org
traceroute to freebsd.org (69.147.83.40), 30 hops max, 40 byte packets
 1  orinoco (192.168.2.2)  0.627 ms  0.444 ms  0.313 ms
 2  * * *
 3  * * *
...

Output of Ifconfig on orinoco

sis0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:d0:09:f8:f7:5a
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
        ether 00:e0:29:43:ef:db
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 46:50:6b:b3:54:0d
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto stp maxaddr 100 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: rl0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
        member: sis0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>

Any idea what I'm doing incorrectly?


More information about the freebsd-questions mailing list