Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!swsbe6.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!blackbush.xlink.net!isar.de!newshost.photogrammetrie.de!mehldau
From: mehldau@photogrammetrie.de (Gerhard Mehldau)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help: can't get IP-forwarding to work
Date: 30 Oct 1995 12:40:17 GMT
Organization: Photogrammetrie GmbH
Lines: 59
Message-ID: <472h3h$sqq@muenchen.photogrammetrie.de>
NNTP-Posting-Host: muenchen.photogrammetrie.de
X-Newsreader: TIN [version 1.2 PL2]
Hello world,
I'm having a problem getting IP-forwarding to work on a Compaq 386/25,
running FreeBSD 2.0.5.
I have configured two 3COM boards as shown below, and manually do a
'sysctl -w net.inet.ip.forwarding=1' after the machine has booted.
The routing tables below look fine to me -- what am I missing?
Gerhard
# ifconfig ed0
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 193.29.190.62 netmask 0xffffffe0 broadcast 193.29.190.63
ether 02:60:8c:6c:5b:54
# ifconfig ie0
ie0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 193.29.190.165 netmask 0xffffffe0 broadcast 193.29.190.191
ether 00:60:8c:5c:ca:ab
# netstat -i -n
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
ed0 1500 <Link>02.60.8c.6c.5b.54 15 0 7 0 0
ed0 1500 193.29.190. 193.29.190.62 15 0 7 0 0
lp0* 1500 <Link> 0 0 0 0 0
ie0 1500 <Link>00.60.8c.5c.ca.ab 11 0 8 0 0
ie0 1500 193.29.190. 193.29.190.165 11 0 8 0 0
lo0 16384 <Link> 110 0 110 0 0
lo0 16384 127 127.0.0.1 110 0 110 0 0
sl0* 552 <Link> 0 0 0 0 0
tun0* 1500 <Link> 0 0 0 0 0
# netstat -r -n
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
127.0.0.1 127.0.0.1 UH 0 0 lo0
193.29.190.32 link#1 UC 0 0
193.29.190.57 0:60:8c:73:ca:ab UHLW 0 3 ed0 1138
193.29.190.62 2:60:8c:6c:5b:54 UHLW 0 12 lo0
193.29.190.160 link#3 UC 0 0
193.29.190.165 0:60:8c:5c:ca:ab UHLW 0 98 lo0
193.29.190.175 0:0:c0:7f:25:60 UHLW 0 4 ie0 1100
224 link#3 UCS 0 0
# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding = 1
---------------------------------------------------------------------------
Gerhard Mehldau
Photogrammetrie GmbH email: mehldau@photogrammetrie.de
Anzinger Str. 5 phone: +49 (89) 43 69 2-1 64
81671 Munich, Germany fax: +49 (89) 43 69 2-1 00