[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Routing problem with a bridge, OpenBSD 3.4
I have set up a bridge on a computer with 2 NICs. The interfaces are rl0
inet 10.10.10.34 255.255.255.224 NONE
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