> I have a lan that has the following setup- > > Dachstein router w/ 2 nics > > eth0 goes to a cisco router to a fractional t provided by at&t w/static ip > for internet access > > eth1 goes to a local lan = 192.168.0 network > > We also have another lan (192.168.2 network) across a point to point t that > i would like to have access to the internet through the dachstein box > > How can i get the router to see the other lan? Is it just as simple as > adding the 192.168.2.0 to the /etc/networks file?
If you're really using Dachstein, and not bering (as the subject line mentions), you just need to add some settings to /etc/network.conf. Setting: INTERN_NET="192.168.0.0/24 192.168.2.0/24" Should get traffic from both internal networks to pass through the firewall, but you still have to have some sort of route to the second internal network. If you've added another interface to the Dachstein box, it will be directly connected to the 192.168.2.0/24 network, so routing is already taken care of. If there's some host out on the 192.168.0.0/24 network that is the route to the 192.168.2.0/24 network, you'll have to explicitly add this route to /etc/network.conf so the firewall knows where to send the packets. Something like: eth0_ROUTES="192.168.2.0/24 192.168.0.???" Of course, you'll need to use the actual IP of the box that's hooked to the 192.168.2.0 network... If you're actually using bering, ignore all of the above, and start searching for shorewall documentation :) Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
