*BSD News Article 60331


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!pravda.aa.msen.com!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!mr.net!winternet.com!visi.com!usenet
From: Guy Gustavson <bigfoot@visi.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: multiple net interfaces, and routed confussion.
Date: Mon, 29 Jan 1996 14:13:29 -0600
Organization: Vector Internet Services, Inc.
Lines: 73
Message-ID: <310D2A69.2781E494@visi.com>
NNTP-Posting-Host: bigfoot.visi.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b6a (X11; I; FreeBSD 2.1.0-RELEASE i386)

SYSTEM: FreeBSD 2.1

I've got a system with a single eithernet connection and user ppp setup.
I've oviously screwed something up in the routing setup because
the ppp connection only works properly when I disconnect the eithernet
cable from the system. As long I have the cable unplugged I can see the
net, named services works fine, pinging works fine, ect. As soon as I
plug in the either cable named serviecs can't see my providers DNS
server, I can't ping to known address on the internet, basicly the
only thing I can get to is stuff on the internal network over the either
net adapter. Also when I plug the cable in my routing table explodes in
size. Things that I KNOW shouldn't be routed to the local network are
touted that direction. I know I've just not been around the block enough
to figgure out what's going on, but any help would be appreciated.
 
HOSTS:
--------------------------
127.0.0.1		localhost.norstan.com localhost
204.73.178.27		stomp.com stomp
(Note: The IP address is a static IP assigned to me by my provider.)


SYSCONFIG:
---------------------------
######################### Start Of Netconfig Section
#######################

# Set to the name of your host - this is pretty important!
hostname="stomp.com"

# Set to the NIS domainname of your host, or NO if none
defaultdomainname=NO

#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options.  If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
#
tcp_extensions=YES

#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
#	network_interfaces="ed0 sl0 lo0"
#	ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#	ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
network_interfaces="lo0 tun0 ed0"
ifconfig_ed0="inet 192.10.10.088  netmask 255.255.255.0"
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ My eithernet adapter
ifconfig_lo0="inet localhost"
ifconfig_tun0="inet stomp.com 204.73.178.254 netmask 255.255.255.0"
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ My ppp account
#
# Set to the list of route add lines for this host.  You must have a
# route_${static_routes} line for each static route listed here.
#
static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost"

# Set to the host you'd like set as your default router, or NO for none.
defaultrouter=NO

# These are the flags you'd like to start the routing daemon with
routedflags="-s"



-- 
"It's not my goddamned planet, understand monkey boy?!?" -John Bigboote'