Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 1997 12:59:29 +0100 (MET)
From:      Bogusz Jelinski <bogusz@lib.amu.edu.pl>
To:        freebsd-questions@freebsd.org
Subject:   Routing problem with two ethernet cards (2.1.5)
Message-ID:  <Pine.LNX.3.91.970209123304.6428B-100000@lib.amu.edu.pl>

next in thread | raw e-mail | index | archive | help
A couple months ago I configured routing on FBSD 2.1. It worked fine with
the following sysconfig:

network_interfaces="ed0 ed1 lo0"
ifconfig_ed0="inet 150.254.178.65  netmask 255.255.255.192"
ifconfig_ed1="inet 150.254.162.217 netmask 255.255.255.252"
ifconfig_lo0="inet localhost"
static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost"
defaultrouter="150.254.162.218"
routedflags="-q"
gateway="YES"
gated=NO

Unfortunately, my 2.1.5 doesn't want to route. I set it up in the 
following way:

network_interfaces="ed0 ed1 lo0"
ifconfig_ed0="inet 150.254.193.33  netmask 255.255.255.240"
ifconfig_ed1="inet 150.254.162.150 netmask 255.255.255.240"
ifconfig_lo0="inet localhost"
static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost"
defaultrouter="150.254.162.145"
router=routed 
routerflags=-q
gateway="YES"

My knowledge of TCP/IP is rather limited. Have I made any mistake?
Cheers,

Bogusz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.91.970209123304.6428B-100000>