Hi List 

I have a FreeBSD 4.7(i386) Release box and I am trying to make it run as
a router. My outer interface is ppp and seems that is not working
correctly. The interface definitions inside the rc.conf file are the following:

network_interfaces="ppp0 rl0 lo0"
ifconfig_rl0="inet mtu 1500 netmask"
ifconfig_rl0_alias0="inet mtu 1500 netmask"
ifconfig_ppp0="inet 333.333.333.333 mtu 1500 netmask"

And I start pppd from the rc.local file like this:

/usr/sbin/pppd /dev/cuaa0 115200 noauth
persist netmask

When I boot the router and try to connect through the outer interface
(ping) I get "no route to host", but when I try "route add default
333.333.333.333" the ppp seems to run ok. On the other hand, adding
"route add default 333.333.333.333" to my rc.local file does not solve
the problem.

The same rc.conf and rc.local files have been used in my old FreeBSD
4.2(i386) router with no problem at all. 

What am I doing wrong?
Is rc.local the correct place to start the pppd?
Any suggestions?

Thank you very much for your time

Jim Xochellis
Escape Information Services

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to