Date: Thu, 29 Apr 1999 10:09:31 +0200 From: livensw@rc.bel.alcatel.be (Wim Livens) To: freebsd-questions@FreeBSD.ORG, sourav+@cs.cmu.edu Subject: Re: Use of znyx card.. Message-ID: <199904290809.KAA15387@btm0uk.rc.bel.alcatel.be>
next in thread | raw e-mail | index | archive | help
> Hi , > > I have been trying to use a multiport znyx card in order to use a > FreeBSD (2.2.8) box as a gateway. I'm using a znyx multiport card under 2.2.8 without any problems. > The network configuration that I'm trying to use is this: > > There are two FreeBSD machines, connected to two different hubs. I would > like connect two separate ports of the znyx card from the FreeBSD router > to two hubs. Another port goes to the local LAN. This way, all the > traffic from both the machines have to pass through the router box. > Can anyone tell me how to make this configuration working? > > Just declaring the IP addresses of the ports as a default router doesn't > help. And also, FreeBSD ignores the presence of the router if it > accesses the machines that are directly connected to the LAN. So, how > is it possible to prevent the dynamic routing so that it uses the router > box all the time? I assume you have assigned different subnets (addess ranges) to the three different LANs. Then all you need to do (besides ifconfig) is set the default route on the two hosts towards the address of the gateway on their respective subnet. Please provide the output of netstat -rn and ifconfig -a on the three machines if you want more help. Greetings, Wim Livens. Alcatel - Corporate Research Center wim.livens@alcatel.be Fr. Wellesplein 1 livensw@rc.bel.alcatel.be B-2018 Antwerpen Tel: +32 3 240 7570 Belgium. Fax: +32 3 240 9932 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904290809.KAA15387>