Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 1996 20:39:06 +1000 (EST)
From:      darnison@albury.net.au (Don Arnison)
To:        questions@freebsd.org
Subject:   Setting up a FreeBSD 2.1 Router
Message-ID:  <199607121039.UAA16879@orac.albury.net.au>

next in thread | raw e-mail | index | archive | help
I am attempting to set up a 486 PC running FreeBSD as a gateway server to
an existing BSDI ISP.

There are five interfaces, as follows:

1) Ethernet (ep0) to local PCs
2) cuaa0 dial up PPP to ISP BSDI name server (203.15.244.10) This line always 
comes in on the same digiboard port
3) - 5) cuaa1-cuaa3 dial-in PPP

The situation is this:

1) I am new to the game
2) The FBSD server to has an internal address of 192.168.1.1, and the
server is known to the ISP's machine as 203.15.244.57.
3) The dial-up to ISP works fine. I can get to machines on the net via this
route.
4) The Dial-in lines I haven't tested yet, but I have followed faithfully 
Toshiharu Ohno's procedure in the ppp man pages and have high hopes.
5) The FBSD machine will not talk out the ethernet port to other PCs on the 
LAN. On the system console, I get the following message every few minutes,
repeated three times:

        corryong routed [55] deleting route tointerface ep0 (timed out)

I have included pieces of what I hope are relevant config files for your
reference:
                        /etc/sysconfig:
#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
#	network_interfaces="ep0 sl0 lo0"
#	ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#	ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
network_interfaces="ep0 lo0 tun0 tun1 tun2 tun3"
ifconfig_ep0="inet 192.168.1.1 203.15.244.10 netmask 0xffffff00"
ifconfig_tun0="inet localhost 192.168.1.31 netmask 0xffffff00"
ifconfig_tun1="inet localhost 192.168.1.32 netmask 0xffffff00"
ifconfig_tun2="inet localhost 192.168.1.33 netmask 0xffffff00"
ifconfig_tun3="inet localhost 192.168.1.34 netmask 0xffffff00"
ifconfig_lo0="inet localhost"


                        /etc/hosts
# Host Database
# This file should contain the addresses and aliases
# for local hosts that share this file.
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/host.conf for the resolution order.
#
#
127.0.0.1		localhost localhost.corryong.albury.net.au
192.168.1.1		corryong.albury.net.au corryong
           
                        /etc/host.allow
telnetd:203.15.244.

I would very much appreciate any help that you can offer. Please let me know
if you need any more information.

Regards,

Don              




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