*BSD News Article 74430


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!usenet
From: robseco@wizard.teksupport.net.au (Rob Secombe)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: I can't forward packets
Date: Mon, 22 Jul 96 23:20:52 EST
Organization: Teksupport Internet Access
Lines: 37
Message-ID: <4svv7r$9c7@eplet.mira.net.au>
References: <31F3228F.DF4@ssrnet.snu.ac.kr>
NNTP-Posting-Host: magician.teksupport.net.au
Mime-Version: 1.0
X-Newsreader: WinVN 0.93.9

In article <31F3228F.DF4@ssrnet.snu.ac.kr>, leesw@ssrnet.snu.ac.kr 
says...
>
>I want to forward packets between ethernets.
>I use FreeBSD-2.1.0 and I have two SMC Elite16 cards. 
>I change "/etc/sysconfig".
>This is changing part of the file.
>...
>network_interfaces "ed0 ed1 lo0"
>ifconfig_ed0="inet 147.46.121.62 netmask 255.255.255.0"
>ifconfig_ed1="inet 147.46.121.73 netmask 255.255.255.0"
>ifconfig_lo0="inet localhost"
>...
>routedflags="-s"
>...
>gateway=YES
>...
>
>After done this. 
>At starting kernal, ifconfig makes message such as "File Exists"
>And then, the system can't forward packets and only can commuicate with 
>ed0 card. 
>Hardware is no problem. 
>Thank you very much for your reading.

I recently had problems getting this to work with ed1 and tun0 (user ppp) 
and had to resort to GateD. 

-- 
Rob Secombe
Teksupport Pty. Ltd.
7 Warwick Avenue,
Springvale,                 Email       robseco@wizard.teksupport.net.au
Melbourne  3171 
Victoria Australia          World Wide Web  http://www.teksupport.net.au/
*************************************************************************