Solved

some network help

Posted on 1998-06-30
4
214 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

696 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