I have 2 machines which have recently been networked to each-other, one
connects to the internet via dial-up, how would I go about configuring
them both to connect to the net (configure one as a gateway, and the
second to access that gateway) they are both running SuSE 9.0 networked
via 100/Mbit LAN card.
---------------------------------
SUSE - 1,000 Possibilities, not 1,000 Vulnerabilities
Olipro - GTA Global
On Saturday 13 March 2004 03:50 pm, Olipro wrote:
I have 2 machines which have recently been networked to each-other, one connects to the internet via dial-up, how would I go about configuring them both to connect to the net (configure one as a gateway, and the second to access that gateway) they are both running SuSE 9.0 networked via 100/Mbit LAN card. ----------------------------
Add a second NIC, get shorewall at shorewall.net then, using the quick start guide, do the two interface firewall. Via YAST add the second card and click ip forwarding, another name for masquerading. It's pretty easy but will require a bit of reading. I found most of my info searching for howto networking and reading this list. You might get lucky and get YAST to do it all for you without much thinking, but that;s not very likely in my experience. Good luck Richard
On Sunday 14 March 2004 02:22, Richard Atcheson wrote:
On Saturday 13 March 2004 03:50 pm, Olipro wrote:
I have 2 machines which have recently been networked to each-other, one connects to the internet via dial-up, how would I go about configuring them both to connect to the net (configure one as a gateway, and the second to access that gateway) they are both running SuSE 9.0 networked via 100/Mbit LAN card. ---------------------------- << snip >> Hi, Seem you have same setup I have...Suse 9.0 both pc's Done same with help of a friend 3 weeks ago....like it...will never look back. If I understand your memo correctly your pc's already talk to each other...probably by crossover cable. OK...if so...then..this is how mine looks....on the gateway...FROM MY NOTES...as notes are they make sense to the creator...but when you open the correct windows it will make sense...Goodluck... Yast Network devices Network card you will see... Realtek Eth0 192.168.1.1
eth0 Ethernet 192.168.1.1 EDIT:- NETWORK DEVICE ETH0 X...Static address setup 192.168.1.1 255.255.255.0 HOSTNAME AND NAME SERVER :- HOST NAME DOMAIN NAME gateway local NAME SERVER AND DOMAIN SEARCH LIST. (Your ISP address) xxx.xxx.xxx.xxx local xxx.xxx.xxx.xxx ROUTING:- Default gateway 192.168.1.1 X...Enable IP forwarding OK *********************************************** NETWORK DEVICES MODEM AT Modem Already configured EDIT:- CHANGE :- ppp0 modem your ISP name provider0 your ISP name phone number your isp id password NEXT:- your isp name X...Stupid mode X...Firewall Idle time 0.................Change to zero if you would like to stay on net long. IP DETAILS:- X....Dynamic IP address X....Default route NEXT:- FINISH. **************************************************** SECURITY USERS FIREWALL X...reconfigure firewall settings NEXT:- (notice...personal firewall active) CONTINUE:- EXTERNAL DEVICE ppp0 INTERNALL INTERFACE eth0 NEXT:- FIREWALL STEP 2 0F 4 ALL services unmarked NEXT:- X....Allow tracroute X...Forward Traffic and do masquerading X...protect all running sevices -....Protect from internal network (do not mark) NEXT:- X...Log critical dropped packets X...Log critical accepted packets Do not mark other 2 NEXT:- Save your settings ***** THATS IT ************************** Nice little tool you can install from disk....Gkrellm...on gateway...I did on both pc's. Configure it and you can start/stop your connection from it. It shows usage of cpu...disk...proc...eth0...ppp0....swap....mem. The 2 commands for stop / start in timer button START....cinternet -i ppp0 -A STOP...cinternet -i ppp0 -O Suggest you make a little script for the stop command too...if the isp is engaged you will not be able to stop from gkrellm....otherwise this works very nice. ***************************** Well what can I say...I enjoy my setup. On my workstation I have...win xp...mandrake 9.2....suse 9.0. Now I can update all three OS'ses during a weekend...on same call...can even switck workstation off and the gateway stays connected to internet...if you set the idle time to zero. *********** Trust this looks like shorthand but that it will help you and maybe others Goodluck -- Johan Registered Linux User #330034 May this be a good day for learning
Hi, Seem you have same setup I have...Suse 9.0 both pc's Done same with help of a friend 3 weeks ago....like it...will never look back. If I understand your memo correctly your pc's already talk to each other...probably by crossover cable. OK...if so...then..this is how mine looks....on the gateway...FROM MY NOTES...as notes are they make sense to the creator...but when you open the correct windows it will make sense...Goodluck... << snip >>
On Sun, 2004-03-14 at 05:34, Johan wrote:
thanks, all I needed to setup were the name servers on the workstation,
your notes were invaluable, thanks :)
---------------------------------
SUSE - 1,000 Possibilities, not 1,000 Vulnerabilities
Olipro - GTA Global
On Sunday 14 March 2004 02:22, Richard Atcheson wrote:
On Saturday 13 March 2004 03:50 pm, Olipro wrote:
I have 2 machines which have recently been networked to each-other, one connects to the internet via dial-up, how would I go about configuring them both to connect to the net (configure one as a gateway, and the second to access that gateway) they are both running SuSE 9.0 networked via 100/Mbit LAN card. ---------------------------- << snip >> Hi, I would like to add some more info to my previous reply... On the workstation... Setup your mailer...say like Kmail...that's all you hvae to setup....the rest...browser...etc..will work as if connected directly as usual.
On gateway...console...ping 192.168.1.2 (if that is the workstation address)...you will get some packets. ** On the workstation.....consle....ping 192.168.1.1...if all goes wel you will receive some packets. If the above is OK then...... on gateway...Startup your net connection on gateway.....ping www.google.com...if all is well you must receive packets. Now on your workstation....ping www.google.com...if all is well you must receive packets. Now on your workstation mailer click...get...you should get your mail. ********* If you have gkrellm going you will see a lot of activity on eth0 and ppp0. If you already knew all of the above then it is fine goodluck -- Johan Registered Linux User #330034 May this be a good day for learning
On Sunday 14 March 2004 08:57, Johan wrote:
On Sunday 14 March 2004 02:22, Richard Atcheson wrote:
On Saturday 13 March 2004 03:50 pm, Olipro wrote:
I have 2 machines which have recently been networked to each-other, one connects to the internet via dial-up, how would I go about configuring them both to connect to the net (configure one as a gateway, and the second to access that gateway) they are both running SuSE 9.0 networked via 100/Mbit LAN card. ----------------------------
<< snip >> Hi, I would like to add some more info to my previous reply... On the workstation... Setup your mailer...say like Kmail...that's all you hvae to setup....the rest...browser...etc..will work as if connected directly as usual. **** On gateway...console...ping 192.168.1.2 (if that is the workstation address)...you will get some packets. ** On the workstation.....consle....ping 192.168.1.1...if all goes wel you will receive some packets.
If the above is OK then...... on gateway...Startup your net connection on gateway.....ping www.google.com...if all is well you must receive packets. Now on your workstation....ping www.google.com...if all is well you must receive packets. Now on your workstation mailer click...get...you should get your mail. ********* If you have gkrellm going you will see a lot of activity on eth0 and ppp0. If you already knew all of the above then it is fine goodluck -- Johan Registered Linux User #330034 May this be a good day for learning
Hi, Stiil more info... If you can not connect to internet from workstation...then...in yast go to..host name and name server...and add...or correct.. HOST NAME DOMAIN NAME Workstation local NAME SERVER1 DOMAIN SEARCH 1 ISP address1 local NAME SERVER2 ISP address 2 Goodluck -- Johan Registered Linux User #330034 May this be a good day for learning
participants (3)
-
Johan
-
Olipro
-
Richard Atcheson