Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 1998 01:09:17 -0600 (CST)
From:      Bruce Albrecht <bruce@zuhause.mn.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   problems with ppp -alias in -current
Message-ID:  <13898.35229.589551.309663@zuhause.zuhause.mn.org>

next in thread | raw e-mail | index | archive | help
I recently upgraded to -current (from a 12/97 vintage of -current) and 
I can no longer access the internet from my second computer (running
NT) with ppp -alias.  The NT box can ping/ftp/telnet to my freebsd box 
just fine.  The wierd thing is that if I run tcpdump on both rl0
(ethernet) and tun0 (ppp), it appears as though the data is getting
sent via the ppp (tun0) connection, and the data from the internet is getting 
received via tun0 and put out on rl0.  I'm not sure what to look at
next.  I do not have options IPFIREWALL or IPDIVERT in my kernel, but
I do have gateway set to YES in rc.conf.  Any suggestions?

netstat -rn:
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            166.55.32.213      UGSc        8       32     tun0
10.0.2/24          link#1             UC          0        0      rl0
10.0.2.15          127.0.0.1          UGHS        0        0      lo0
10.0.2.17          0:a0:c9:55:90:c1   UHLW        2      367      rl0    849
10.0.2.255         link#1             UHLW        3      172      rl0
127.0.0.1          127.0.0.1          UH          2      748      lo0
127.0.0.254        127.0.0.254        UH          0        0      lo0
166.55.32.213      166.55.209.248     UH          9        0     tun0

ifconfig -a:
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	inet 10.0.2.15 netmask 0xffffff00 broadcast 255.255.255.255
	ether 00:e0:7d:01:14:07 
	media: autoselect
	supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 10baseT/UTP <half-duplex>
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500
	inet 166.55.209.248 --> 166.55.32.213 netmask 0xffff0000 
tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
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 
	inet 127.0.0.254 netmask 0xffffffff 


rc.conf (abbreviated):
### Basic network options: ###
hostname="zuhause.mn.org"		# Set this!
nisdomainname="NO"		# Set to NIS domain if using NIS (or NO).
firewall_enable="NO"		# Set to YES to enable firewall functionality
firewall_type="UNKNOWN"		# Firewall type (see /etc/rc.firewall)
firewall_quiet="NO"		# Set to YES to suppress rule display
natd_enable="NO"                # Enable natd (if firewall_enable == YES).
natd_interface="fxp0"           # Public interface to use with natd.
natd_flags=""                   # Additional flags for natd.
tcp_extensions="NO"		# Disallow RFC1323 extensions (or YES).
network_interfaces="lo0 rl0"	# List of network interfaces (lo0 is loopback).
ifconfig_lo0="inet 127.0.0.1"	# default loopback device configuration.
ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
#ifconfig_ed0="inet 10.0.2.15 netmask 0xffffff00 broadcast 0xffffffff"   # NE2000 compatible ISA card
ifconfig_rl0="inet 10.0.2.15 netmask 0xffffff00 broadcast 0xffffffff"   # Realtek 8139 PCI card

### Network routing options: ###
defaultrouter="NO"		# Set to default gateway (or NO).
static_routes="zuhause"		# Set to static route list (or leave empty).
route_zuhause="10.0.2.15 127.0.0.1"
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 set to "YES")
accept_sourceroute="NO"		# accept source routed packets to us

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?13898.35229.589551.309663>