Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 18:14:21 -0700
From:      John C <johnc909@comcast.net>
To:        freebsd-questions@freebsd.org
Subject:   Trouble configuring network gateway
Message-ID:  <BABE07FD.BFB%johnc909@comcast.net>

next in thread | raw e-mail | index | archive | help
Hello,

I am attempting to turn a PC into a gateway/firewall for my home network.
My ISP is Comcast ... So whatever ramifications therein, for better or
worse, apply to my predicament ...

I've gotten both interfaces up and working, but I can't seem to get it to
switch packets from within the subnet out into the internet.  The kernel is
pretty much GENERIC 4.7, except with the GATEWAY option set, plus with

net.link.ether.bridge=1

In sysctl.conf

My configuration is as follows:

Gateway machine: "argonath"
External network interface: sis0 12.235.54.203 (netgear card, ip provided by
DHCP)
Default route: 12.235.54.129 (presumably my cable modem)
Private subnet interface: rl0 192.168.0.1

Secondary subnetted machine "shelob":
Interface 192.168.0.2
Default route: 192.168.0.1

I can ping & ssh to "argonath" from "shelob", and can reach the internet
from argonath's rl0 ... But like I said, the gateway action isn't happening.

One other thing I found odd is that when my secondary machine is plugged
directly into the Comcast subnet, it reports a default route of 12.235.36.1,
which seems more right, but I don't have experience enough in these matters
to say, and what documentation I've found isn't specific enough to give me a
clue about how to solve this problem ...

Please help?

Thanks,
John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BABE07FD.BFB%johnc909>