*BSD News Article 70438


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.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!newsfeed.internetmci.com!in2.uu.net!ott.istar!istar.net!n1ott.istar!uniserve!oronet!news.sprintlink.net!news-stk-11.sprintlink.net!gryphon.phoenix.net!uhura.phoenix.net!usenet
From: vccubed@phoenix.net (Keith Veseleny)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How do I keep Ethernet IP from overriding Dialup IP on a gateway machine!
Date: Fri, 07 Jun 1996 19:19:55 GMT
Organization: VC Cubed
Lines: 34
Message-ID: <4p9vcr$44u@uhura.phoenix.net>
NNTP-Posting-Host: vccubed.com
X-Newsreader: Forte Free Agent v0.55

I have setup a FreeBSD Gateway machine to connect 4 machines to the
net.  My dedicated IP assigned by my provider is 199.3.234.19.  My
Subnet ips are 207.43.0.144 thru .159 

My problem is as follows, when I connect via ISDN to my provider,
FreeBSD is trying to assign the IP from the Ethernet card 207.43.0.149
instead of accepting 199.3.234.19  I can connect to my isp if I change
my ethernet card to read 199.3.234.19, but then I can't see the rest
of my network (and vice versa).

The following is the pertinent part of /etc/sysconfig I would deeply
appreciate any suggestions!!

network_interfaces="ed0 cuaa1 lo0 tun0"
ifconfig_tun0="inet 199.3.234.19 netmask 255.255.255.0"
ifconfig_ed0="inet 207.43.0.149  netmask 255.255.255.240"
ifconfig_lo0="inet localhost"

For the record my host file looks like this:

127.0.0.1               localhost.com localhost
207.43.0.149            vccubed.com vccubed www.vccubed.com
gateway.vccubed.com gateway www ftp
207.43.0.150            tower.vccubed.com tower
207.43.0.155            kyle.vccubed.com kyle
207.43.0.145            pentium.vccubed.com pentium 

Replies sent to vccubed@phoenix.net would be greatly appreciated.

Keith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith R. Veseleny             vccubed@phoenix.net            Houston, Texas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~