Solved

FreeBSD Router

Posted on 1998-03-11
2
1,055 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
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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 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.

772 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

10 Experts available now in Live!

Get 1:1 Help Now