|FROM ||Ruben Safir Secretary NYLXS
|SUBJECT ||Re: [hangout] suse network configuration
|From owner-hangout-desteny-at-mrbrklyn.com Mon Oct 20 10:11:19 2003
Received: from www2.mrbrklyn.com (LOCALHOST [127.0.0.1]) by mrbrklyn.com (8.12.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id h9KEBJTd021133 for ; Mon, 20 Oct 2003 10:11:19 -0400
Received: (from mdom-at-localhost) by www2.mrbrklyn.com (8.12.3/8.12.3/Submit) id h9KEBJ2D021132 for hangout-desteny; Mon, 20 Oct 2003 10:11:19 -0400
X-Authentication-Warning: www2.mrbrklyn.com: mdom set sender to owner-hangout-at-www2.mrbrklyn.com using -f
Received: from www2.mrbrklyn.com (LOCALHOST [127.0.0.1]) by mrbrklyn.com (8.12.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id h9KEBITd021126; Mon, 20 Oct 2003 10:11:18 -0400
Received: (from ruben-at-localhost) by www2.mrbrklyn.com (8.12.3/8.12.3/Submit) id h9KEBIUk021125; Mon, 20 Oct 2003 10:11:18 -0400
Date: Mon, 20 Oct 2003 10:11:18 -0400
From: Ruben Safir Secretary NYLXS
To: Ruben Safir Secretary NYLXS
Cc: Spidey309-at-aol.com, hangout-at-nylxs.com
Subject: Re: [hangout] suse network configuration
References: <7E8A7B88.0B1A32D2.029340D6-at-aol.com> <20031020135531.GA20891-at-www2.mrbrklyn.com>
Content-Type: text/plain; charset=us-ascii
Reply-To: Ruben Safir Secretary NYLXS
List: New Yorker GNU Linux Scene
Admin: To unsubscribe send unsubscribe name-at-domian.com in the body to hangout-request-at-www2.mrbrklyn.com
Each card has to be assigned an IP address
Then each card is assigned a route to a network
Then you can turn on masqrading.
I found that this is easier to do by hand than with a gui.
Assign each card an IP address through the guii YAST.
Then open the /etc/rc.d/network script and add a line in the
start section /sbin/route.sh
In /sbin create a simple script like this
/sbin/route add -net 127.0.0.0
/sbin/route add -host 10.0.0.5 dev eth0
/sbin/route add -net 10.0.0.0 netmask 255.255.255.0 dev eth0
/sbin/route add default gw 188.8.131.52 dev eth1
/sbin/route add 10.0.0.0 gw 10.0.0.5 dev eth1
## MASQUERADING Rule ##
/usr/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
See man route for more details on route.
On Mon, Oct 20, 2003 at 09:55:31AM -0400, Ruben Safir wrote:
> You want to use the SUSE distro as a gateway to the internet for
> another machine or network?
> On Sun, Oct 19, 2003 at 11:20:36PM -0400, Spidey309-at-aol.com wrote:
> > I am trying to assist a friend who is setting up suse 8.0 on his computer. He has been using win2k and the other computers have gotten to the web through it. I need to figure out how to allow suse to distribute the internet connection through his second ethernt card (which is recognized just fine). anyone know where I can find a faq or how-to to figure this out. thanks
> > -Spidey
> > ____________________________
> > NYLXS: New Yorker Free Software Users Scene
> > Fair Use -
> > because it's either fair use or useless....
> > NYLXS is a trademark of NYLXS, Inc
> Brooklyn Linux Solutions
> DRM is THEFT - We are the STAKEHOLDERS http://fairuse.nylxs.com
> http://www.mrbrklyn.com - Consulting
> http://www.inns.net <-- Happy Clients
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
> http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> NYLXS: New Yorker Free Software Users Scene
> Fair Use -
> because it's either fair use or useless....
> NYLXS is a trademark of NYLXS, Inc
Brooklyn Linux Solutions
DRM is THEFT - We are the STAKEHOLDERS http://fairuse.nylxs.com
http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
NYLXS: New Yorker Free Software Users Scene
Fair Use -
because it's either fair use or useless....
NYLXS is a trademark of NYLXS, Inc