Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!news.ci.com.au!conger.softplus.com.au!ferryw From: Ferry Winarta <ferryw@softplus.com.au> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: IPFORWARDING on FreeBSD2.0, Help Please Date: Thu, 21 Sep 1995 13:06:40 +1000 Organization: Corinthian Internet Services P/L, Sydney, Australia. Lines: 69 Message-ID: <Pine.SCO.3.91.950921124240.15219B-100000@conger.softplus.com.au> References: <43ip24$as@mippet.ci.com.au> <43klt2$306@uriah.heep.sax.de> NNTP-Posting-Host: spgate.softplus.com.au Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <43klt2$306@uriah.heep.sax.de> On 18 Sep 1995, J Wunsch wrote: > > > > I tried to enable ipforwarding on FreeBSD2.0, but it didn't work. > > > > I did recompile the kernel with GATEWAY, IPFORWARDING, and > > IPFORWARDING_VERBOSE options. > > > > I tried sysctl -a, it gave me ipforwarding = 1. > > Btw., sysctl would have been sufficient. options GATEWAY is > considered obsolote (well, now, in the upcoming 2.1). > Are you referring to FreeBSD2.1 (is it the same as SNAP2.1). Will it be a straight forward upgrade from FreeBSD2.0. btw, what does SNAP stand for ? (my apologize for my ignorance) > > > > I have 2 network cards, with different subnet. I tried to telnet from > > network1 to network2, it came back with timeout. > > Guessing... > > Inconsistent netmask? Perhaps one of the machines in the subnets > attempts to resolve the remote peer via arp instead of forwarding the > packet to the gateway? You can use the arp command to see this. this is my gateway diagram: X.Y.Z.85 |--| X.Y.Z.65 X.Y.Z.33 |--| X.Y.Z.42 A.B.C.D |--| A.B.C.* (INTERNAL) (GATEWAY) (ROUTER) (External) Internal Subnet : netmask 255.255.255.224 subnet 3 (X.Y.Z.65 - X.Y.Z.94) route default 202.0.99.65 Gateway : netmask 255.255.255.224 for both network cards route network A.* X.Y.Z.42 telnet from gateway to A.B.C.4, ok. telnet from Z.Y.Z.85 to A.B.C.4, failed, timeout. is this possible to be done ? Thanks a lot..... > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ > Never trust an operating system you don't have sources for. ;-) > > Regards _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/ In nature there are neither rewards nor punishments, _/ _/ there are consequences. _/ _/ _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/