Solved

some network help

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best software for Unix commands in Windows cmd.exe? 18 102
AIX  NFS  question 1 118
Log File Creation with Header and Footer 17 56
Shell Script on AIX 7 62
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…
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.

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now