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!newsfeed.internetmci.com!news.sprintlink.net!new-news.sprintlink.net!gryphon.phoenix.net!uhura.phoenix.net!pflores From: pflores@alpha1.phoenix.net (Paul Flores) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How do I keep Ethernet IP from overriding Dialup IP on a gateway machine! Date: 8 Jun 1996 00:35:32 GMT Organization: Phoenix Data Net (713) 486-8337 http://www.phoenix.net Lines: 33 Message-ID: <4pahsk$dar@uhura.phoenix.net> References: <4p9vcr$44u@uhura.phoenix.net> NNTP-Posting-Host: alpha1.phoenix.net X-Newsreader: TIN [version 1.2 PL2] Keith Veseleny (vccubed@phoenix.net) wrote: : 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" Assuming you are using the user-ppp, ijppp, I don't think you need (or want) to asign an IP address to your tun device. use your ppp.conf file in /etc/ppp to do the ip assignments for PPP. you might be suprised at how well it works. Paul Flores Phoenix Data Net -- "I've Always been easy, just never cheap!" ------ ME!