MESSAGE
DATE | 2003-10-20 |
FROM | Ruben Safir Secretary NYLXS
|
SUBJECT | Re: [hangout] suse network configuration
|
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 ________________________________________________________________
#/bin/sh
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/openwin/bin:/usr/lib/java/bin:/opt/gnome/bin
export PATH
/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 64.105.122.137 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 /sbin/route -n
__________________________________________________________________________
See man route for more details on route.
Ruben
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: > wasnull > > > > 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.... > > 1-718-382-0585 > ____________________________ > 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....
1-718-382-0585 ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|