Solved

FreeBSD Router

Posted on 1998-03-11
2
1,072 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 100 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

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

728 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