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

x
?
Solved

FreeBSD Router

Posted on 1998-03-11
2
Medium Priority
?
1,083 Views
Last Modified: 2013-12-16
Hello,
I have FreeBSD box and two ethernet interface cards with addresses 10.0.32.54  netmask 255.255.255.128 and 10.0.0.1 netmask 255.255.255.128 .  I cannot ping to the outside world from a machine with 10.0.0.1 as the default gateway 10.0.0.1 .
I have tried to run routed -s . However, I still cannot access the outside world.  I suspect that I would need to turn on some option in the kernel.  However, from the kernel source code netinet/ip_var.h, it seems ip forwarding has already turnned on by default.  So, what is the missing link to let my 10.0.0.0 network be albel to ping to the outside world ?
P.S. The default gateway of the machine is the 10.0.32.88 which is in the 10.0.32.X network.
0
Comment
Question by:ma0205
[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 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 200 total points
ID: 1812935
Your problem is that you aren't configuring your routes (or at least you aren't telling us about it).  The following URL gives an in-depth tutorial of this subject and how to setup routing between multiple network interfaces:

http://sunsite.unc.edu/LDP/HOWTO/NET-3-HOWTO-5.html#ss5.7


0
 

Expert Comment

by:basset
ID: 1812936
Here are two things that I'd like to comment on:
1. What do you mean by the "outside wordl" - if this is the
   internet you might have some problems unless you are using
   a proxy or NAT (network adress trnaslation) machine somehwere
   as the 10.0.0.0 mask 255.0.0.0 network is an experimental
   network and cannot work directly to the internet
2. If (1) above is not he case :) then check the following, make
   sure the default gateway of the FreeBSD router (the machine
   with IP 10.0.32.88) knows that it should route the 10.0.0.0
   mask 255.255.255.128 network back to the FreeBSD machine.

A few things you might try and tell me what the results are:
1. Ping 10.0.32.88 from the machine with default gateway 10.0.0.1
   (that is the inside machine) or better even ... can you
   do a traceroute (tracert in windows) to the site you want
   to contact and give me the results?
2. Does the 10.0.32.88 machine listen to RIP updates ? Is it in
   server mode ?
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

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

618 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