Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Mar 1996 01:47:29 +0100
From:      Tomaz Borstnar <tomaz@cmir.arnes.si>
To:        questions@freebsd.org
Subject:   weird problem with dual-homed machine (ppp link aand ethernet)
Message-ID:  <199603030047.BAA22431@cmir.arnes.si>

next in thread | raw e-mail | index | archive | help
Hello!
	I need to set up a FreeBSD box as dial-on-demand router and general 
internet box. Machine has one 3com ethernet card and one V.34 modem for ppp
to my provider. Since we don't need full C class our provider assigned us 
small block out of full C class 193.2.52.129 to 193.2.52.159 with netmask
255.255.255.224. I set 3com card as 193.2.52.129 with command:
ifconfig ep0 inet 193.2.52.129 netmask 255.255.255.224
and added gateway=YES to /etc/sysconfig. I fixed ppp (user ppp) to run as
dial-on-demand and it works OK from BSD box, but I can't force the box to 
route packets from ethernet to PPP link. Machine can reach FreeBSD box on
ethernet - I used freebsd box as www-proxy and it works correctly. It just 
won't work as router.

I even added options GATEWAY to kernel config, but no luck.

I use FreeBSD-stable.

Tomaz

p.s.
Please mail me directly. Thanks
----
Tomaz Borstnar <Tomaz.Borstnar@arnes.si>



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