Computing.Net > Forums > Linux > setting Linux as router

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

setting Linux as router

Reply to Message Icon

Name: Hasan Ciawi
Date: May 21, 2000 at 08:56:27 Pacific
Comment:

I am setting up Linux to function as router /
gateway between two LAN

WS1 WS2 WS3 WS4 WS5
|____|____|____|____|
|
LINUX WIN-2000 Server
|_____________________|
|
WIN NT
|
___________________
| | | | |
WS6 WS7 WS8 WS9 WSA

WS1,WS2,...,WS9,WSA are workstation running WIN98. I would like to configure this two LAN so that WS1 would be able to access share resource from WS6 and vice versa.

WS6,...,WS9,WSA must also be able to access email server install on linux

WS1,WS2,...,WS9,WSA must be able to access resouce and WEB server on WIN 2000

How to configure Linux for two network card?
How to setup DNS so that all station will recognize other station names?

Thank you.



Sponsored Link
Ads by Google

Response Number 1
Name: hello
Date: May 22, 2000 at 08:36:11 Pacific
Reply:

Try www.linuxdoc.org
See howtos
I believe that there is a "router" one


0

Response Number 2
Name: Apple
Date: May 25, 2000 at 22:29:36 Pacific
Reply:

Under Slackware: /etc/rc.d/rc.inet1 configures your network cards./etc/rc.d/rc.modules loads the drivers for said cards. The only difference is when you load the drivers you need to specify BOTH I/O ports:

/sbin/modprobe ne io=0x2a0,0x2c0

Same line, 2 cards. That took me a week to figure out 8) Sigh. Simplicity is never easy.

in rc.inet1, just copy the block of script that configures card 1. Just make sure to change your ip address and such. Your gateway is ALWAYS an external computer, not the current computer or you won't get out. Once you can talk to the Win2K machine, the easy part is over. Now you need to configure samba to talk between the two.

I am assuming that you have 2 net cards in the linux computer, not a net card and an ISDN or modem. The concept is basically the same, but I'm not sure how linux will react to logging into RAS with pppd. That and I've never actually configured RAS so I don't know how any computer would log into it 8P


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: setting Linux as router

how to setup linux as router www.computing.net/answers/linux/how-to-setup-linux-as-router/2817.html

how configure linux as router www.computing.net/answers/linux/how-configure-linux-as-router-/16519.html

Linux as a router