Date: Sun, 24 May 1998 14:47:57 -0700 (PDT) From: Brad Tucker <zvi@t-networking.com> To: freebsd-questions@FreeBSD.ORG Subject: ip forwarding PPP and ed0 Message-ID: <Pine.BSF.3.96.980524143259.9554A-100000@zvi.t-networking.com>
next in thread | raw e-mail | index | archive | help
I have a server wich is running a ppp server in one location, and is
conected to the internet via ethernet.(zvi, 206.117.19.2)
I also another freebsd machine running the ppp client at home.
(ivz 206.117.19.10). Im running the ppp -auto -alias provider on the
freebsd machine at home. This works fine for the freebsd machine. I also
have another win95 machine(zzyx 206.117.19.11) hooked up on a local
network to the freebas box at home. I have gateway="yes" in my rc.config,
but packets will not pass from the win95 box to "zvi". I can ping ivz
from zvi, and vice versa. I can ping ivz to zzyx and vice versa, but I
can not ping zvi to zzyx or vice versa.
This is my host file:
127.0.0.1 localhost localhost.my.domain
206.117.19.10 ivz.t-networking.com ivz
206.117.19.11 zzyx.t-networking.com zzyx
206.117.19.2 zvi.t-networking.com zvi
"These are fixed ips I assigned my self. They are valid. I have half of
a class C.
this is my host.conf:
hosts
bind
These are the statements out of rc.conf:
ifconfig_tun0="inet 206.117.19.10 206.117.19.2 netmask 255.255.255.255"
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
ifconfig_ed0="inet 206.117.19.10 netmask 255.255.255.128"
defaultrouter="206.117.19.2" # Set to default gateway (or NO).
static_routes="" # Set to static route list (or leave
empty).
gateway_enable="YES" # Set to YES if this host will be a
gateway.
router_enable="NO" # Set to YES to enable a routing daemon.
router="routed" # Name of routing daemon to use if
enabled.
router_flags="-q" # Flags for routing daemon.
mrouted_enable="NO" # Do multicast routing (see
/etc/mrouted.conf).
mrouted_flags="" # Flags for multicast routing daemon.
ipxgateway_enable="NO" # Set to YES to enable IPX routing.
ipxrouted_enable="NO" # Set to YES to run the IPX routing
daemon.
ipxrouted_flags="" # Flags for IPX routing daemon.
arpproxy_all="" # replaces obsolete kernel option
ARP_PROXYALL.
forward_sourceroute="NO" # do source routing (only if
gateway_enable is s
et to "YES")
accept_sourceroute="NO" # accept source routed packets to us
this is ab ifconfig:
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 206.117.19.10 netmask 0xffffff80 broadcast 206.117.19.127
ether 00:40:05:69:59:03
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 206.117.19.10 --> 206.117.19.2 netmask 0xffffffff
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
This is a netstat:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default zvi UGSc 3 12 tun0
localhost localhost UH 0 0 lo0
206.117.19/25 link#1 UC 0 0
zvi ivz UH 4 2041 tun0
zzyx 0:40:5:69:59:1 UHLW 0 8 ed0
543
The problem, I believe is that I cant get tun0 to pass packets any further
that itself. When I do tcpdump from zzyx to ivz, it only goes through the
ed0, and not the tun0.
PLEASE HELP. This is day #2 of non stop fun, and Ive run out of ideas.
Thanks
Brad
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980524143259.9554A-100000>
