Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news2.acs.oakland.edu!condor.ic.net!news.cic.net!chi-news.cic.net!News1.mcs.net!nntp04.primenet.com!news.shkoo.com!nntp.primenet.com!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!dash.com!news From: jordan@colorado.net (Jordan Redner) Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.386bsd.misc Subject: Re: Problem with Aliases and Virtual Domains Date: 8 Aug 1996 16:43:25 GMT Organization: Arapahoe Software, Inc. Lines: 260 Message-ID: <4ud5fd$6cr@impsets.dash.com> References: <4ud5b9$6cr@impsets.dash.com> NNTP-Posting-Host: 205.218.11.132 Mime-Version: 1.0 Content-Type: Text/Plain; charset=ISO-8859-1 X-Newsreader: WinVN 0.99.5 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:4543 comp.unix.bsd.netbsd.misc:4307 comp.unix.bsd.386bsd.misc:1001 In article <4ud5b9$6cr@impsets.dash.com>, jordan@colorado.net says... > > >I am having the strangest problem that I haven't been able to resolve. > > >I have 3 network cards in my host > >one 205.218.11.131 subnet 255.255.255.192 2nd network of 64 >one 205.218.11.193 subnet 255.255.255.192 3rd network of 64 >one 204.95.123.131 subnet 255.255.255.192 2nd network of 64 > > >I also have a bunch of virtual ip/s that ping fine..... > >205.218.11.194...210 > >to add the virtual ips I do the following for each ip for example.... > >ifconfig ef1 205.218.11.214 alias >route add -host 205.218.11.214 127.0.0.1 > > >I run an ISP, and my users have their ppp DNS set to 205.218.11.131, and >gateway set to 205.218.11.130. Correction - my mistake - make the above sentence... I run an ISP, and my users have their ppp DNS set to 204.95.123.131, and gateway set to 204.95.123.130. > >But if I add any more alias ips, my users can't get DNS through >the 204.95.123.131 ip. > >Yet - on the console, I can ping 204.95.123.131 fine. > > > >here is my netstart file.... > >The problem is - if I uncomment the last 3 commented out virtual ips >my dial-up users cant get dns using 204.95.123.131 as a server, >yet 205.218.11.131 works fine. > >Any help would be awesome! > > >Jordan Redner > > ># ># netstart - configure network daemons, interfaces, and routes ># ># Do not change lines above the `DO NOT DELETE THIS LINE' line. They ># are generated by the config_netsta program. You can change them by >re-running ># that program or by placing additional assignments (or other changes) ># after that line. ># > >hostname=resort.brecknet.com >iface=ef0 >ipaddr=205.218.11.131 >linkarg=link1 >netmask=255.255.255.192 >defroute=205.218.11.130 > ># DO NOT DELETE THIS LINE -- make local changes below here ># ># BSDI $Id: netstart,v 2.1 1995/02/03 17:09:10 polk Exp $ ># @(#)netstart 5.9 (Berkeley) 3/30/91 ># ># These flags specify whether or not to run the daemons (values YES or NO), ># or the flags with which to run them if another value. >routedflags=-q # YES by default; -q is quiet >timedflags=NO >rwhod=NO >rstatd=YES > >hostname $hostname > ># Configure ethernet interface if one was specified >if [ X$iface != X ]; then > if [ X$netmask != X ]; then > ifconfig $iface inet $ipaddr netmask $netmask $linkarg > else > ifconfig $iface inet $ipaddr $linkarg > fi > # set up multicast on primary ethernet interface > route add -net 224.0.0.0 -interface $ipaddr >fi > ># configure localhost (loopback) interface >ifconfig lo0 inet 127.1 > ># do not send packets to the "loopback" net off-machine >route add -net 127 127.1 -reject > >if [ X$defroute != X ]; then > route add default $defroute >fi > ># ># NOTE: ># If you have additional interfaces, you'll have to add ifconfig lines ># for them manually. The config_netstart program can only handle ># the simplest of configurations (i.e., zero or one interfaces with ># at most one static default route). ># ># Setup additional network cards... ># ># The Airlan bridge is 205.218.8.34 - notice bsdi automatically ># knows how to route that .32 network because it sees .36 as an ># ethernet card on that segment - .36 is the other side of ># the transparent bridge. ># >echo "Configuring additional ethernet adapters" >ifconfig ef1 inet 205.218.11.193 netmask 255.255.255.192 link1 >ifconfig ef2 inet 204.95.123.131 netmask 255.255.255.192 link1 > ># CFP routes... >route add -net 205.218.8.16 205.218.11.130 -netmask 255.255.255.240 >route add -net 205.218.8.32 205.218.11.130 -netmask 255.255.255.240 >route add -net 205.218.8.48 205.218.11.130 -netmask 255.255.255.240 >route add -net 205.218.8.64 205.218.11.130 -netmask 255.255.255.240 >route add -net 205.218.8.112 205.218.11.130 -netmask 255.255.255.240 > ># Real-Info WAN Network.... >route add -net 205.218.8.96 205.218.11.130 -netmask 255.255.255.240 > ># Real-Info Network... >route add -net 205.218.11.0 205.218.11.130 -netmask 255.255.255.192 > ># gobreck.com Virtual Domain >ifconfig ef1 205.218.11.195 alias >route add -host 205.218.11.195 127.0.0.1 > ># arapahoe.com Virtual Domain >ifconfig ef1 205.218.11.196 alias >route add -host 205.218.11.196 127.0.0.1 > ># tasteof.com Virtual Domain >ifconfig ef1 205.218.11.197 alias >route add -host 205.218.11.197 127.0.0.1 > ># timberweb.com Virtual Domain >ifconfig ef1 205.218.11.198 alias >route add -host 205.218.11.198 127.0.0.1 > ># goldpoint.com Virtual Domain >ifconfig ef1 205.218.11.199 alias >route add -host 205.218.11.199 127.0.0.1 > ># skicountry.com Virtual Domain >ifconfig ef1 205.218.11.200 alias >route add -host 205.218.11.200 127.0.0.1 > ># skicondos.com Virtual Domain >ifconfig ef1 205.218.11.201 alias >route add -host 205.218.11.201 127.0.0.1 > ># realfast.com Virtual Domain >ifconfig ef1 205.218.11.202 alias >route add -host 205.218.11.202 127.0.0.1 > ># skibcl.com Virtual Domain >ifconfig ef1 205.218.11.203 alias >route add -host 205.218.11.203 127.0.0.1 > ># realcasino.com >ifconfig ef1 205.218.11.204 alias >route add -host 205.218.11.204 127.0.0.1 > ># realgaming.com >ifconfig ef1 205.218.11.205 alias >route add -host 205.218.11.205 127.0.0.1 > ># the3.com >ifconfig ef1 205.218.11.206 alias >route add -host 205.218.11.206 127.0.0.1 > ># foodstuff.com >ifconfig ef1 205.218.11.207 alias >route add -host 205.218.11.207 127.0.0.1 > ># cohenesrey.com >ifconfig ef1 205.218.11.208 alias >route add -host 205.218.11.208 127.0.0.1 > ># elleven.com >ifconfig ef1 205.218.11.209 alias >route add -host 205.218.11.209 127.0.0.1 > ># winfield.com >ifconfig ef1 205.218.11.210 alias >route add -host 205.218.11.210 127.0.0.1 > ># vpo.com >ifconfig ef1 205.218.11.211 alias >route add -host 205.218.11.211 127.0.0.1 > ># vaildaily.com >ifconfig ef1 205.218.11.212 alias >route add -host 205.218.11.212 127.0.0.1 > ># ranchusa.com >ifconfig ef1 205.218.11.213 alias >route add -host 205.218.11.213 127.0.0.1 > ># killerbee.com >ifconfig ef1 205.218.11.214 alias >route add -host 205.218.11.214 127.0.0.1 > ># realmediainc.com >ifconfig ef1 205.218.11.215 alias >route add -host 205.218.11.215 127.0.0.1 > ># realinfo.com >ifconfig ef1 205.218.11.216 alias >route add -host 205.218.11.216 127.0.0.1 > ># realeducation.com >ifconfig ef1 205.218.11.217 alias >route add -host 205.218.11.217 127.0.0.1 > ># skicountry.com ---- currently using skictry.com >#ifconfig ef1 205.218.11.218 alias >#route add -host 205.218.11.218 127.0.0.1 > ># nboots.com >#ifconfig ef1 205.218.11.219 alias >#route add -host 205.218.11.219 127.0.0.1 > ># psaarch.com ------- currently using arapahoe.com >#ifconfig ef1 205.218.11.220 alias >#route add -host 205.218.11.220 127.0.0.1 > ># chartersports.com >ifconfig ef1 205.218.11.221 alias >route add -host 205.218.11.221 127.0.0.1 > >#Old DASH IP's >ifconfig ef2 204.95.123.130 alias >route add -host 204.95.123.130 127.0.0.1 > >#ifconfig lo0 204.95.123.131 alias >#route add -host 204.95.123.131 127.0.0.1 > >ifconfig $iface inet $ipaddr netmask $netmask $linkarg > > > > >jordan@colorado.net > > >