Solved

some network help

Posted on 1998-06-30
4
212 Views
Last Modified: 2013-12-16
hello,

I have a i486 running FreeBSD and what i'm trying to do is make it a gateway (hope this is what it's called) to the internet for a local network.

The local network consists of 4 windows machines, but that shouldn't really matter.

Can someone tell me what it is i need to do (globally at least :) to accomplish this? I'm thinking about DNS, routing etc.

thank you,

 FlorizzzZz
0
Comment
Question by:TheMadManiac
  • 2
4 Comments
 
LVL 2

Expert Comment

by:JYoungman
ID: 1812218
Do you have Internet IP addresses to assign to those windows machines, or do you have just the one address from your ISP?
0
 
LVL 1

Author Comment

by:TheMadManiac
ID: 1812219
There is only one IP from the ISP.
All machine in the network have ip's in 192.168.1.x

I just heard that all I would have to do is set GATEWAY="YES" in rc.conf, and type ppp -alias, term and that would solve everything. However, this seems a bit simple and i couldn't really get it to work (read: not)
0
 

Accepted Solution

by:
ShootThemLater earned 50 total points
ID: 1812220
You're on the right track, probably just need a bit of fiddling (I assume here that you are able to get ppp running/dialing correctly without the aliasing...)

The Pedantic PPP Primer at http://www.freebsd.org/tutorials/ppp/ppp21.html#24 offers the following advice:

 To start the PPP program as a gateway between
 LAN resources and the Internet, one of the
 following command lines would be used instead:

 # ppp -alias interactive (Interactive mode)
 or
 # ppp -auto -alias demand (Dial-on-Demand mode)

 You can alternatively use the command
 ``alias enable yes''
 in your ppp configuration file (refer to the man
 page for details).

I imagine that the above primer, together with the handbook
(http://www.freebsd.org/handbook/handbook200.html#421) should provide all the information you need (although in my experience there will always be *something* you overlook).

The alternative is to go the route more favoured by our Linux-using friends and use pppd.  There's also plenty available to support this approach.

Good luck..

Dave
0
 
LVL 1

Author Comment

by:TheMadManiac
ID: 1812221
yes! yesterday i finally got the ppp working (manualy, but working :)
seems that all what was wrong was the hosts file, which probably got messed up after i installed ppp via /stand/sysinstall (on advice of an IRC person). After i fixed this, everything worked fine.

The man pages and the handbook were indeed a lot of help getting to know a lot of the things that i needed to do.. and things that were told i had to do i didn't have to do (weird :)

thanks!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question