Subject: Re: setting up a tcpip bridge
To: nm <nmanisca@vt.edu>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 10/03/1999 14:41:21
On Sat, Oct 02, 1999 at 12:59:38AM -0400, nm wrote:
> I have a sparc IPX with two le0 interfaces (the onboard one and an sbus card).
>
> I want to use this system as a bridge between two ethernet segments. The
> tricky
> part is that there is no defined break between the host addresses on one
> segment
> or the other. For example, lets say that the class c in question is
> 199.106.1.x
>
> C--D-----[IPX]-----A--B
>
> A - 199.106.1.12
> B - 199.106.1.3
> C - 199.106.1.24
> D - 199.106.1.55
>
>
> 1. Is this possible?
I think it is, by adding explicit routes and public arp entries for each host
on the IPX.
>
> 2. Anyone care to help me get this working if it is possible?
I'll try :)
assuming A & B are on the le0 side, and C & D on le1, try:
ifconfig le0 192.106.1.1 netmask 255.255.255.0
ifconfig le1 10.0.0.1 netmask 255.255.255.0
(You need 2 addr on distinct network for le0 and le1 - you may want to
take other addrs, as long as they are on distict network).
arp -s A <ether addr of A> pub
arp -s B <ether addr of B> pub
arp -s C <ether addr of C> pub
arp -s D <ether addr of D> pub
route add -host A 192.106.1.1 -interface
route add -host B 192.106.1.1 -interface
route add -host C 10.0.0.1 -interface
route add -host D 10.0.0.1 -interface
I think this should work, but I didn't try it :)
--
Manuel Bouyer <bouyer@antioche.eu.org>
--