Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2002 11:56:57 -0500 (EST)
From:      "Stan Brown" <stanb@panix.com>
To:        freebsd-questions@freebsd.org (Free BSD Questions list)
Subject:   A routeing question
Message-ID:  <200201131656.g0DGuv807646@panix2.panix.com>

next in thread | raw e-mail | index | archive | help
I'm seting up a new FreeBSD machine (STABLE) it will be able to make a ppp
onection to my work network. It will not be the default route off of my
home lan. I intend to put a route like this.

route add xxx.yyy. freebsd_machine

In teh routing table of the machine that serves as the default router to
allow it to send packets from all the machines on the lan to the FreeBSD
machine, which will then bring up the ppp link to work.

Here's the routing table from the FreeBSD machine.

Destination        Gateway            Flags    Refs      Use  Netif Expire
default            205.159.77.234     UGSc        0        0    ed0
127.0.0.1          127.0.0.1          UH          1       38    lo0
xxx.yyy             170.85.107.1       UGSc        1       60   tun0
xxx.yyy.107/25      170.85.107.14      UGSc        1        0   tun0
xxx.yyy.107.14      170.85.107.109     UH          1        0   tun0
205.159.77         link#1             UC          7        0    ed0
205.159.77.224     0:50:ba:52:69:f1   UHLW        2        2    lo0
205.159.77.227     0:e0:98:4:28:c     UHLW        0        0    ed0   1083
205.159.77.234     0:20:af:26:a2:4a   UHLW        1      126    ed0    588
205.159.77.236     8:0:9:78:ea:56     UHLW        3       20    ed0    888
205.159.77.237     0:50:ba:52:ac:d    UHLW        1       86    ed0   1131
205.159.77.240     8:0:9:11:e5:a      UHLW        2      649    ed0   1149
205.159.77.255     ff:ff:ff:ff:ff:ff  UHLWb       1        5    ed0

When I try to ping a machine atw work from the default router machien,
packets get sent to the FreeBSD machine, but seem to get lost there.

What am I doing wrong?

Oh yes, I have gateway_eneable set to yes in /etc/rc.conf


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201131656.g0DGuv807646>