[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Routing problem with a bridge, OpenBSD 3.4
Hi,
I have set up a bridge on a computer with 2 NICs. The interfaces are rl0
and rl1.
hostname.rl0:
inet 10.10.10.34 255.255.255.224 NONE
hostname.rl1:
up
bridgename.bridge0:
add rl0
add rl1
blocknonip rl0
blocknonip rl1
maxaddr 2000
up
The problem is that hosts that are physically connected to interface rl1
are added to the routing table as belonging to interface rl0, which is
incorrect. This means problems when filtering traffic with pf.
When I say "netstat -r -n -f inet", I see every host attached to
interface rl0 or lo0, while there are hosts physically connected to rl1,
too. There's also a line that says:
Destination Gateway Flags Refs Use MTU Interface
10.10.10.32/27 link#1 UC 1 0 - rl0
What is that "link#1"? A host physically connected to rl1 looks like:
10.10.10.36 <MAC-addr> UHLc 0 2 - rl0
Where's the problem? What can I do to get correct routes automatically?
(Or even by hand? "route change" does not understand gateway
"link#1"...)
-Mikko-