Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

some network help

Posted on 1998-06-30
4
Medium Priority
?
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

610 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