vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm trying to set a bridge on my OpenBSD 3.8 box (seu). The bridge is made of 2 interfaces: ural0 and vr0. Both ural0 and vr0 have the same IP address. Here is the configuration: # cat /etc/hostname.ural0 inet 172.16.199.56 255.240.0.0 NONE mediaopt hostap mode 11g nwid helloworld chan 7 #!ifconfig ural0 down #cat /etc/hostname.vr0 inet 172.16.199.56 255.240.0.0 #!route add blon blon -interface # cat /etc/bridgename.bridge0 add vr0 add ural0 #static vr0 0:d:b4:0:6b:5e up # route show -inet Routing tables Internet: Destination Gateway Flags Refs Use Mtu Interface default schiff UGS 0 28 - vr0 loopback localhost UGRS 0 0 33224 lo0 localhost localhost UG 0 0 33224 lo0 172.16/12 link#6 UC 0 0 - ural0 blon link#6 UHLc 0 2 - ural0 schiff 00:0d:b4:00:6b:5e UHLc 0 0 - ural0 seu 00:08:d3:03:3e:06 UHLc 0 16 - lo0 BASE-ADDRESS.MCAST localhost URS 0 0 33224 lo0 When pf is disabled and I'm trying to ping blon, here is what can be seen on vr0 after the bridge discovered that blon was on vr0: 0:8:d3:3:3e:6 0:d:b4:0:6b:5e 0800 98: 172.16.199.256 > 172.16. 27.55: icmp: echo request 0:d:b4:0:6b:5e 0:50:ba:c7:c3:59 0800 98: 172.16.27.55 > 172.16. 199.256: icmp: echo reply As you can see the source MAC of the echo request is ural0's MAC address. Here is what brconfig, arp and route are saying: # brconfig bridge0 bridge0: flags=41<UP,RUNNING> Configuration: priority 32768 hellotime 2 fwddelay 15 maxage 20 Interfaces: ural0 flags=3<LEARNING,DISCOVER> port 6 ifpriority 128 ifcost 55 vr0 flags=3<LEARNING,DISCOVER> port 1 ifpriority 128 ifcost 55 Addresses (max cache: 100, timeout: 240): 00:0d:b4:00:6b:5e vr0 1 flags=0<> # arp -a blon (172.16.27.55) at 00:0d:b4:00:6b:5e on ural0 schiff (172.16.53.254) at 00:0d:b4:00:6b:5e on ural0 seu (172.16.199.56) at 00:08:d3:3e:06 on ural0 static # route show -inet Routing tables Internet: Destination Gateway Flags Refs Use Mtu Interface default schiff UGS 0 93 - vr0 loopback localhost UGRS 0 0 33224 lo0 localhost localhost UG 0 0 33224 lo0 172.16/12 link#6 UC 0 0 - ural0 blon 00:0d:b4:00:6b:5e UHLc 0 709 - ural0 schiff 00:0d:b4:00:6b:5e UHLc 0 0 - ural0 seu 00:08:d3:03:3e:06 UHLc 0 1048 - lo0 BASE-ADDRESS.MCAST localhost URS 0 0 33224 lo0 Trying to add a route to blon doesn't solve (route add blon blon -interface) but using pf solve (pass out on ural0 route-to vr0). So my question is what is the best way to staticaly associate blon to vr0? thx, sheda P.S. If I missed some docs, don't waste your time with this problem, just point them! Accidez au courrier ilectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34 /mn) ; til : 08 92 68 13 50 (0,34/mn) |