Link to home
Start Free TrialLog in
Avatar of ma0205
ma0205

asked on

FreeBSD Router

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.
ASKER CERTIFIED SOLUTION
Avatar of jhance
jhance

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of basset
basset

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 ?