Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 1997 18:42:39 -0800
From:      "William O. Yates" <tinker@safemail.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   FreeBSD-2.1.6 ether-ether routing problem
Message-ID:  <199703131700.JAA13988@ns2.safemail.com>

next in thread | raw e-mail | index | archive | help

	Hello ALL,

	I just installed FreeBSD-2.1.6 on a Pentium-75/64MB-RAM/1GB-DISK PC with a
3c509 10Mbps Ethernet and a 3c905 100Mbps Ethernet adapter.

	The install was on a "virgin" (SCSI low level format) disk.

	Both Ethernet segments are isolated from everything else, and the FreeBSD
box was to be the router between them.

In /etc/sysconfig gateway="YES".

ppp7:/etc#> netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
127.0.0.1          127.0.0.1          UH          0        1       lo0
205.179.54         link#2             UC          0        0 
205.179.54.20      0:80:29:63:30:82   UHLW        0      153       ep0  
1057
205.179.54.27      0:20:af:16:8a:ea   UHLW        0        1       lo0
205.179.55         link#1             UC          0        0 
205.179.55.60      0:60:97:77:d5:47   UHLW        2     5467       vx0  
1144
205.179.55.253     0:60:97:77:fe:f2   UHLW        1       11       lo0


205.179.54.0 is the 10Mbps segment (ep0), and has 2 machines on it (.20,
.27)

205.179.55.0 is the 100Mbps segment (vx0), and has 2 machines (.60, .253)

The FreeBSD machine has 205.179.54.27 and 205.179.55.253 addresses.

The 205.179.54.20 machine can ping successfully 205.179.54.27 AND
205.179.55.253, BUT, CAN NOT ping 205.179.55.60.

The 205.179.55.60 machine can ping 205.179.55.253 AND 205.179.54.27, BUT
NOT 205.179.54.20.

	On a boot-up, FreeBSD reports that it is setting the machine as a gateway,
and starting routed (I've tried ALL the friggin -X switches...).

	Also, I verified IP forwarding via:

ppp7:/usr/home/master/notes#> sysctl net.inet.ip.forwarding
net.inet.ip.forwarding = 1
ppp7:/usr/home/master/notes#> 

	I have gone through "http://www.freebsd.org//search.html" (both TOP and
BOTTOM sections with number of results set to 999!) with NO ANSWERS (which
work).

	Is it REQUIRED to gen a new kernel to get routing to work?

	CAN ANYONE PLEASE HELP?

----------------------------------------------------------------------
----------------------------------------------------------------------
- William O. Yates     __________  SafeMail, Inc. (Email ISP)        -
- CEO/hacker at large /  _    _  \ 3615 Jackson Oaks Court           -
- tinker@safemail.com | | |  | | | Morgan Hill, CA U.S.A. 95037-6802 -
-  Tel: 408-778-5570  | |o|  |o| |  Fax: 408-778-5577                -
-------------------||||----------||||---------------------------------
----------------------------------------------------------------------




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