Solved

FreeBSD Router

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ubuntu install gnome-session-fallback is failing 4 110
help pulling data string using Awk 9 71
Shell Script on AIX 7 96
centos commands 6 54
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 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