Subject: Re: IPNAT with just one ethernet card? -- now two cards...
To: Zach Fine <czyz@u.washington.edu>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 03/07/1999 15:20:55
On Mar 5, Zach Fine wrote
> But I do have 'options GATEWAY' set. Maybe the configuration file I'm
> working with is pretty old, as IPFORWARDING isn't in it (easy enough
> to add though, I'm just surprised to not see it in the file but
> commented out). That's what puzzles me.
GATEWAY is the one you want to put in your kernel config file. If will implie
IPFORWARDING=1 if it's not already defined elsewhere (would most likely be in
the kernel config file), see netinet/ip_input.c for details.
options GATEWAY sets IPFORWARDING to 1, and bumps NMBCLUSTERS to 512.
>
> Here's the relevant section of my kernel configuration file:
>
> # Networking options
> options GATEWAY # packet forwarding
> options INET # IP + ICMP + TCP + UDP
> #options MROUTING # IP multicast routing
> options NS # XNS
> #options NSIP # XNS tunneling over IP
> options ISO,TPIP # OSI
> options EON # OSI tunneling over IP
> options CCITT,LLC,HDLC # X.25
> options NETATALK # AppleTalk networking protocols
> #options PPP_BSDCOMP # BSD-Compress compression support for
> # PPP
> #options PPP_DEFLATE # Deflate compression support for PPP
> #options PPP_FILTER # Active filter support for PPP
> # (requires bpf)
> options PFIL_HOOKS # pfil(9) packet filter hooks
> options IPFILTER_LOG # ipmon(8) log support
>
> Any thoughts?
GATEWAY should imply ipforwarding=1 by default. Maybe you added GATEWAY to
your kernel config file and didn't do a 'make clean' after re-running config ?
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--