Linux-Networking Digest #724, Volume #11         Tue, 29 Jun 99 21:13:59 EDT

Contents:
  DHCP Daemon.. ?? (" {MoosEMaN}")
  Re: NFS writes hang: client on 100MB, server on 10MB segment (Vidar Andresen)
  Re: Home networking for Linux ("Gregory D. Horne")
  Re: Samba & NT ("Ricky J. Sethi")
  Re: Why not C++ (Greg Comeau)
  Re: multiple ethernet 3c509 cards (Vidar Andresen)
  Re: 3c509 not found (Vidar Andresen)
  Re: Why not C++ (Greg Comeau)
  Re: Need help with some networking basics (Vikram Prabhu)
  Re: Why not C++ (Greg Comeau)
  Re: many many many TX errors on ifconfig. (Scott)
  Re: internet connection with Linux (Brutus)
  Re: hosts.allow or hosts.deny (Monte Phillips)
  Re: Routing two Internet Networks (Dr Vincent C Jones PE)
  Re: WinGate proxy server ("Gnork")

----------------------------------------------------------------------------

From: " {MoosEMaN}" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: DHCP Daemon.. ??
Date: Tue, 29 Jun 1999 15:30:17 -0400

...just installed and am successfully running DHCP

when I modify /etc/dhcpd.conf to add static IPs they only take affect after
I reboot the server...

how do I restart teh dhcp daemon without rebooting?..

thanx




--
Daniel Tatone ,  Network Analyst
Webcam: http://mooseland.montreal.qc.ca/webcam  ICQ: 843922
Personal HomePage: http://www.richterit.ca/mooseman
e-mail @ Work: mailto:[EMAIL PROTECTED]




------------------------------

From: [EMAIL PROTECTED] (Vidar Andresen)
Subject: Re: NFS writes hang: client on 100MB, server on 10MB segment
Date: Tue, 29 Jun 1999 23:58:30 +0200

In article <[EMAIL PROTECTED]>,
Peter Mutsaers <[EMAIL PROTECTED]> wrote:
>A little while ago I reported that a Linux client hangs after it has
>written several kilobytes to a NFS server (Solaris, SGI).

Was there a patch for solaris.. dont remember.

>Someone replied, guessing right that the client is on a 100MB/s
>eth.segment and the server on a 10MB/s segment.
>
>So, apparently this is a known problem with the 2.2.x kernels?

Dont know that part..

>Is there any way to make NFS writing work in this situation? I realy
>need to be able to read and write to our NFS servers, and our client
>segments really are 100MB.

Is there any help in reducing the read & write size?  Down to 2048 (or
even 1024) may help.

(What is your setting?  I belive solaris default to 8kb, is there any
sense in fiddling with that side, dont know.)

Here is from my fstab, a lot of no-god. (marked as "^^^^")

      my2mask:/       /mnt/my2mask    nfs
      exec,dev,suid,rw,noauto,soft,rsize=8192,wsize=8192 1 1
                              ^^^^       ^^^^       ^^^^ ^^^^
The ethernet-HOWTO have some info on a problem wich is the oposite as
yours, slow client, fast server:


  4.4.  Increasing NFS performance

  Some people have found that using 8 bit cards in NFS clients causes
  poorer than expected performance, when using 8kB (native Sun) NFS
  packet size.

  The possible reason for this could be due to the difference in on
  board buffer size between the 8 bit and the 16 bit cards.  The
  maximum ethernet packet size is about 1500 bytes.  Now that 8kB NFS
  packet will arrive as about 6 back to back maximum size ethernet
  packets.  Both the 8 and 16 bit cards have no problem Rx'ing back to
  back packets.  The problem arises when the machine doesn't remove
  the packets from the cards buffer in time, and the buffer overflows.
  The fact that 8 bit cards take an extra ISA bus cycle per transfer
  doesn't help either.  What you can do if you have an 8 bit card is
  either set the NFS transfer size to 2kB (or even 1kB), or try
  increasing the ISA bus speed in order to get the card's buffer
  cleared out faster.  I have found that an old WD8003E card at 8MHz
  (with no other system load) can keep up with a large receive at 2kB
  NFS size, but not at 4kB, where performance was degraded by a factor
  of three.

And the NFS-HOWTO... discuss it.

Mvh Vidar Andresen



------------------------------

From: "Gregory D. Horne" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.ms-windows.networking.misc,comp.os.ms-windows.networking.tcp-ip,comp.sys.ibm.pc.hardware.networking,de.comp.os.unix.networking,fr.network.divers,memphis.networking,microsoft.public.win98.networking,redhat.networkin
Subject: Re: Home networking for Linux
Date: Mon, 28 Jun 1999 19:02:18 -0400

Verheijen wrote:

> Hi,
>
> I want to buy two network cards to connect my home computers.
> I think 10Mb will be fast enough.
> What is a cheap and 100% supported card for Linux?
>
> Thanks in advance.
>
> Wouter Verheijen
> [EMAIL PROTECTED]

Any NE2000-compatibe network card will work with Linux.  D-Link cards
also work rather well with Linux.

Greg



------------------------------

From: "Ricky J. Sethi" <[EMAIL PROTECTED]>
Subject: Re: Samba & NT
Date: Tue, 29 Jun 1999 16:51:50 -0700

Hi,

I recently had trouble with my Samba and WinNT where the NT machine never
saw the Samba machine.  I'm guessing this is your problem.  To fix it, I:

*  changed the samba settings to *not* have encrypted passwords
*  modified the registry in WinNT as per
http://www.redhat.com/mirrors/LDP/HOWTO/SMB-HOWTO-6.html
*  made sure my Samba server had a real IP (and ran the tests at
http://us2.samba.org/samba/docs/DIAGNOSIS.html)

Reboot the NT machine and it should work.  It's tricky getting these guys to
work together but if you're patient, it will work eventually (and the payoff
is defnitely worth the headaches :).

Good luck,


Rick.
[EMAIL PROTECTED]


Nicholas E Couchman <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I would say that if the Win9x computer is able to connect to the WinNT
> shares, the problem is on the Samba end.  All I can suggest is to make
sure
> encrypted passwords are enabled and also make sure you have the Wintel
> computers (WinNT and Win9x) listed in /etc/hosts on the Linux machine.
> --Nick
>
> CIB Alfred wrote:
>
> > Hi all,
> >
> > I am using a samba in a network. And there are 2 NT and 1 win98 in the
> > network . I can share my files to all the clients successfully, however
> > there are some problems in getting the share of the clients.
> >
> > I can get the shares from the win 98 clients but i can't get the shares
> > from NT.  When i run the command "smbclient -L [NT workstation name]",
> > it shows that there are no share offer. I have checked that the
> > permission is granted to everyone in the NT workstation.
> >
> > Is it the problem of the setting of NT or that of samba?
> >
> > Thx....
> >
> > Becky
>




------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.lang.c++
Subject: Re: Why not C++
Date: 29 Jun 1999 15:56:31 -0400
Reply-To: [EMAIL PROTECTED]

In article <7l4d4r$4is$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Linus 
Torvalds) writes:
>In article <[EMAIL PROTECTED]>,
>Bruce Hoult <[EMAIL PROTECTED]> wrote:
>>
>>You may be able to find some particular C++ compiler that produces worse
>>code compiling a C program than some particular C compiler, but that is a
>>function of the compiler, not the language.
>[rest of Linus post snipped and moved below]
>Sometimes theory matters. Sometimes it doesn't. The world is not as
>simple as you make it out to be.

Since you've made it come down to your last words here, I'm compelled
to point out that your message has succeeded in simplifying things
_even more_ so than Bruce did.  Furthermore, Bruce has some experience
with this matter, so he's not just talking in practice.  So do I,
quite a lot in fact.  Your comments are technically out of line.
I'm really surprised at your lax and clearly biased statements.
Let's revisit your statements:

>In theory, you're right.

In practice, this can be quite right too.

>In practice, C++ is a much more complex language.

This is not an in practice or not in practice thing, it's a reality:
C++ is more complex than C.

>As such, C++ compilers are much more complex beasts.

Probably.  Something like that.

>And that is why some C++
>compilers do not generate as good code as the equivalent C compilers do. 

NO, THAT IS NOT WHY.  I cannot believe you are spreading such mythology.

Note too that many C++ compilers are also C compilers,
laced _right into_ the same exact compiler proper.
Let's see now.  This MUST mean: some C compilers do not generate
as good code as themselves.

BTW, you are clearly comparing apples to oranges in your
_theoretical_ example.  The reason why is because although we may
talk about equivalent C and C++ applications, it makes little sense
to talk about equivalent C and C++ compilers, certainly not at the
language level perspective itself.  Clearly then this was either thrown
in as a red herring or is simply wrong do to poor wording or something.

The reason why some C++ compilers do not generate as good code as
some C compilers is the same reason why some C compilers do not generate
as good code as some C++ compilers, which turns out to be the same
reason why some C++ compilers do not generate as good code as some
other C++ compilers and also why some C compilers do not generate as good
code as some other C compilers.  And that is because of the way the
authors wrote it.  Now you may argue that C++ is so complex those
authors could not grok it.  Well, this is not true across the board,
and no more so that some C compiler authors not grokking everything in C.
And anybody who thinks writing a C compiler is easy should spend the at
least 2 years or so it'll take to at least be baseline on a raw C compiler.

>In effect, what you're saying is "there is no theoretical reason why C++
>would be any slower than C". And you're right. 

I can think of some theoretical reasons why C++ might be slower than
C in some areas.  For instance, although a virtual function may be
faster than a hand-written switch statement, the comparison of say
exception handling vs some alternatives is not nearly so equivalent,
upon which C++  often would be slower in this isolated though granted
important area.  But yes, this is true in practice for most of the
languages, and as some implementation show, true in reality too.

>But what others are saying is "a lot of existing C++ compilers generate
>worse code than a lot of existing C compilers". And they are right too.

Yes, see above.  Perhaps those compiler writers just suck?
Or more to the point, perhaps the back end writers of the compiler just suck.

Anyway, clearly in your just made statement you are leaving open that
some C++ compilers generate better code than some C compilers.
So your remarks just don't follow.

>Sometimes theory matters. Sometimes it doesn't. The world is not as
>simple as you make it out to be.

You've made a grave technical mistake by assuming something more
complex must by nature have side-effects such as performance problems.
This is not inherent in complexity (though it is common).
Intuition is often wrong.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: [EMAIL PROTECTED] (Vidar Andresen)
Subject: Re: multiple ethernet 3c509 cards
Date: Tue, 29 Jun 1999 03:08:14 +0200

In article <[EMAIL PROTECTED]>,
Kurt Sims <[EMAIL PROTECTED]> wrote:
>I'm having a similar (but different) problem.  I, too, have dual 3c509
>cards.

I'v had three of 3com 509b working.

>You need to set the base address and irq in the card's EEPROM.
>Boot the computer in DOS and run the setup utility and manually change
>those settings on one of the cards (I have one with 10,0x300 and one
>with 11,0x210).  Hope that helps.

And additonally turning off pnp on the card.  (for the 509b only).

And setting which port it uses, bnc(coax) or tp.  for combo -cards,
it can be set by the driver, but if problems, set it in the card.

And make sure all cards connected run half duplex (normal) or full duplex.

(And while you are there, go to bios and set irq 11 and 12 to 'isa
only or 'legacy isa'.  And turn off 'boot with pnp-os'.  Just to
minimize what can go wrong..)

http://cesdis.gsfc.nasa.gov/linux/drivers/3c509.html

     Only the IRQ and transceiver setting may be overridden when using
     the river as a module.  Setting two cards to 10base2/IRQ10 and
     AUI/IRQ11 is done by using the xcvr and irq module options:

       options 3c509 xcvr=3,3 irq=10,11

     Available Transceiver Types

     The available transceiver types are
      0    default from EEPROM, normally 10baseT
      1    AUI (DB15 connector)
      2    undefined
      3    10base2 (BNC)
      4    10baseT only (RJ45 connector)



(Hmm.. from the above the line 'options 3c509 xcvr=3,3 irq=10,11' i
belive should have been 'options 3c509 xcvr=3,1 irq=10,11'...)

>My problem is that I can't get linux 2.0.35 to see the second card:
>I get a "modprobe: can't locate module eth1" error.  I can get each card
>running individually, just not together.
>
>My conf.modules file looks like this:
>alias eth0 3c509
>alias eth1 3c509
>options eth0 io=0x210 irq=11
>options eth1 io=0x300 irq=10

Hm.. I would have tried this first:

if coax:

    alias eth0 3c509
    alias eth1 3c509
    options 3c509 xcvr=3,3 irq=10,11

or if tp:

    alias eth0 3c509
    alias eth1 3c509
    options 3c509 xcvr=4,4 irq=10,11

or if tranceiver set in card, i guess:

    alias eth0 3c509
    alias eth1 3c509
    options 3c509 irq=10,11


from the driver:

        Known limitations:  Because of the way 3c509 ISA detection
        works it's difficult to predict a priori which of several
        ISA-mode cards will be detected first.

.. so maybe a 'options 3c509 irq=11,10' will help..  (I dont know,
dont use modules.)

>My ifcfg-eth0 and ifcfg-eth1 (of course the device and ipaddr are
>different)
>files look like this:
>DEVICE=eth0
>IPADDR=192.168.0.2
>NETMASK=255.255.255.0
>NETWORK=192.168.0.0
>BROADCAST=192.168.0.255
>ONBOOT=yes

nice.

>I've added append="ether=11,0x210,eth0 ether=10,0x300,eth1" to my
>lilo.conf file.

If driver _not_ in kernel.  It does not make sense to have this in
lilo.

>Sorry for dumping a new problem into an existing thread, but it seemed
>too familiar to ignore.  I've read all the man pages, HOW-TOs and
>postings I can find, and have tried every combination of the above I
>can think of, but this one is really ticking me off.

Been there, done that...  What i find easy is driver in kernel and let
lilo do the job.

Mvh Vidar Andresen


------------------------------

From: [EMAIL PROTECTED] (Vidar Andresen)
Subject: Re: 3c509 not found
Date: Tue, 29 Jun 1999 04:27:25 +0200

In article <7l80f3$[EMAIL PROTECTED]>, "Waif" <[EMAIL PROTECTED]> wrote:
[...]
>I have recompiled the 2.0.35 kernel to include loadable module support,
>tcp/ip networking support, 3COM Cards (both statically), and the 3c509.o
>driver as a module (quite a few times actually).  The process I am using is
>as follows:
>
>'cd /usr/src/linux' ('linux' being a symbolic link to /linux-2.0.35)
>'make menuconfig' (choose the options I want)
>'make dep; make clean; make zlilo'
>'make modules; make modules_install'
>reboot

Maybe a new 3c509 driver into the kernel source, and compiling it into
the kernel.  (to sort out problems if it is already solved in a new
driver, whats in 2.0.35 i dont know. to have it into the kernel will
save some trouble with modules, if that is what is happening.)

And remove any trace of loading the card as module.

>Note: occasionally I'll mix it up by replacing 'make zlilo' with 'make
>zImage' followed by copying  usr/src/linux/arch/i386/boot/zImage to /vmlinuz
>(the boot file indicated in lilo.conf) and running lilo to reset.  Then
>rebooting.  (I'm still new to the linux game and not entirely sure if one
>way is better than the other, though the zlilo method certainly seems less
>bothersome).

I dont know slackware. ('man depmod' maybee..)

[...]
>The startup message indicates the "device or resource is busy", followed by
>the SIO gibberish, and "eth0 not recognized" (which makes sense given the
>card did not work right).
>
>'modprobe eth0' generates the same error.  It indicates it's pulling the
>3c509.o information, but that the "device or resource is busy".

http://cesdis.gsfc.nasa.gov/linux/drivers/3c509.html for a new driver.

http://cesdis.gsfc.nasa.gov/linux/diag/ for diagnostics, el3.c maybee..

>'dmesg |more' stops logging before the card errors, and as such is pretty
>useless.

With the card in the kernel it give information..

/var/log/dmesg is the file btw.

I dont know if it will work for you, but on a redhat 5.1 with 2.0.36
kernel; after a reboot, login as root, do nothing but; press ctrl and
the 'up-arrow'.

It takes me up to lilo boot-screen.

>'cat /proc/ioports' shows the io range needed as wide open (no conflicts).
>
>'cat /proc/interrupts' shows IRQ 10 is not being used by any other device.
>
>What am I missing here?

Output of ifconfig maybe..

(but it seems like you have done 'the right ting' over and over
again.. not easy to say why it dont work.)

Mvh Vidar Andresen


------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 29 Jun 1999 15:59:22 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> Andi Kleen <[EMAIL PROTECTED]> writes:
>[EMAIL PROTECTED] (Nathan Myers) writes:
>
>> Andi Kleen  <[EMAIL PROTECTED]> wrote:
>> >Well, the theory is that:
>> >  int f(vector<vector<float> > array) 
>> >is easier than
>> >  int f(float **array) 
>> >to handle for a beginner.
>
>[exercise in selective quoting to prove a point deleted]
>
>My point was simply:
>In my first tries to use the STL, I had to fight with 10+ lines
>really obscure template error messages. I wouldn't wish that to 
>any poor beginner (given that beginning is usually mostly syntax 
>error fixing at first)

We agree (at least I do), it can be obscure et al indeed.
However, the alternative IS NOT as rosey as you make it out to be.
It is often as obscure and sometimes worse so.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: Vikram Prabhu <[EMAIL PROTECTED]>
Subject: Re: Need help with some networking basics
Date: 29 Jun 1999 21:26:17 +0100

Gary Helbig <[EMAIL PROTECTED]> writes:

> Vikram,
> 
>       IIWM, I'd put the firewall on the 75MHz, and the file server on the
> Celeron.

Could you please explain why this would be a good idea?

>       Thin-net is 10Mbit; fast enough for 16 or so stations.

OK.  This is more than fast enough for current and future needs.

[SNIP]

I'll try out all the details as soon as I decide which network cards
to get.

> Oh, and do yourself a BIG favor.  Do a net search for the "linux
> documentation project".  Once you find a local mirror, bookmark it.

I've already got a local copy of the HOWTOs, just don't know which of 
the network related ones to read.

Thanks for your help.

-- 
Vikram Prabhu
[EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.lang.c++
Subject: Re: Why not C++
Date: 29 Jun 1999 16:17:26 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] (NF Stevens) 
writes:
>[EMAIL PROTECTED] (Nathan Myers) wrote:
>
>[snip]
>
>>If you don't know C++ templates, you don't know C++ at all.  It is 
>>templates, for example, that make it possible to write a C++ library 
>>that does matrix operations as efficiently as specially-optimizing 
>>Fortran on machines specifically designed to run Fortran well. Unlike 
>>Fortran, though, C++ templates are not tuned specificially for matrix 
>>math, so can be used to accomplish similar wonders in any area.
>
>I have to disagree with this. Templates do not in any way improve
>the efficiency of generated code. They are no faster (and no
>slower) than the equivalent hand written code. Templates only
>improve the efficiency of the programmer since only one (templated)
>version has to be coded rather than individual versions for each
>template class.

Yes and no.  Yes, in that what you say can be the case.
However, you are comparing things with what I'll call different
granularity levels.  For instance, there is a dimension to templates
that I'll say is analogous to say the pointer alias rules in C,
which allow specific optimizations to occur.  Knowing that some
templates came from the same generic descriptions DOES allow
certain shall we say global analysis to occur that either would
not be otherwise or at least very hard otherwise.  This is distinctly
an efficiency issue.  Also, I'll be hard pressed to have ever seen
the kinds of matrix ops Nathan is mentioning able to be done in C.
If Linus want to talk about theory and practice, well, this one's
practice for C :)

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: Scott <[EMAIL PROTECTED]>
Subject: Re: many many many TX errors on ifconfig.
Date: Wed, 30 Jun 1999 05:07:47 -0500

gah. I just can't believe it was that simple....... I really appreciate it
Pat Crean, i was completely stumped. =)

Pat Crean wrote:

> Read /usr/src/linux/Documentation/Changes --- get latest version of net
> tools.
>
> Scott <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Ok this is happening on two different machines, both running RedHat 5.1
> > 2.2.5 kernel.  Both have 3c509b ethernet cards set for eth0.   And both


------------------------------

From: Brutus <[EMAIL PROTECTED]>
Subject: Re: internet connection with Linux
Date: 30 Jun 1999 00:30:44 GMT


phantom wrote:
> Brutus wrote:
> > 
> > James R. Barnett, Jr. wrote:
> > > Did you set up DNS Servers in the kppp setup? Or you can edit
> > > /etc/resolv.conf directly.
> > >
> > > JamesB
> > >
> > >
> > > > ------------------  Posted via SearchLinux  ------------------
> > > >                   http://www.searchlinux.com
> > 
> > I used the kppp setup. The connection is made, I can see the current
> > connection rate, I just can't get any programs to use it.
> > 
> > ------------------  Posted via SearchLinux  ------------------
> >                   http://www.searchlinux.com
> 
> WHy do you cross-post stupid bitch?  Think about it.  It doesn/t fucking
> make sense!  The same fucking question in all of the freaking ngs.
> 
> If eveyone is a stupid ass like you, there should be only one fucking
> newsgroup.
> 
> Your problem is KDE, kpp shit.

Maybe I'm new to this website, and maybe your an incredible asshole

==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

------------------------------

From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: hosts.allow or hosts.deny
Date: Tue, 29 Jun 1999 22:02:30 GMT

As I understand it hosts.allow overules host deny  i.e.
you can have All:ALL  in hosts.deny and foobar.com in hosts.allow and
foobar will get accessed.


>> From: Marty Bowers <[EMAIL PROTECTED]>
>> Newsgroups: comp.os.linux.networking
>> Subject: hosts.allow or hosts.deny
>> 
>> I was curious, if you put a name in etc/hosts.allow, and then you put
>> the same name in hosts.deny, would that host be allowed or denied?
>> Which file does Linux look at first?
>> 
>> --
>> 
>> Marty Bowers
>> [EMAIL PROTECTED]
>> 
>> 
>> 
>> 
>
>
>Bob PHILLIPS
>Director/System Administrator
>[EMAIL PROTECTED]               |  ISP to the nor'west of Western Australia
>                                |  http://www.norcom.net.au
>Yes, I am on the interthingy    |  If it aint broke, fix it, then it will be
>--------------------------------------------------------------------------
>     dotnet dotau Pty Ltd PO Box 2762 SOUTH HEDLAND WA 6722 AUSTRALIA
>-------------------------------------------------------------------------- 
> 


------------------------------

Crossposted-To: comp.os.linux.misc,linux.net
Subject: Re: Routing two Internet Networks
Reply-To: Dr Vincent C Jones PE <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED] (Dr Vincent C Jones PE)
Date: Tue, 29 Jun 1999 20:52:59 -0400

In article <[EMAIL PROTECTED]>, T.J. Weber <[EMAIL PROTECTED]> wrote:
>
>Hi, I have a question, and it might be fairly complex.
>
>We currently have two Internet connections coming into our building.  My
>company hosts several web sites and does some Internet work.  I'm trying
>to get re-familiar with the route daemon, and the basics on configuring
>routes.
>
>We have two Internet connections, both T1, and for simplicity I'll use
>local IP addresses.
>
>ISP #1 -- 192.168.1.0/25   (default route)
>ISP #2 -- 10.201.30.0/24   (new route, not configured)
>
>So we have the two Internet connections, and the link from ISP #1 has
>been working for over a year, just fine without problems.  Now we have
>our new, ISP, ISP #2 .... which I'm trying to routes set for all IP
>addresses on 10.201.30.0/24 to go to the router, set to 10.201.30.1.
>
>In a nutshell, I want all traffic with IP addresses on the
>10.201.30.0/24 block to route through the router on 10.201.30.1, and all
>the IP addresses on 192.168.1.0/25 to go through on 192.168.1.1.  Here's
>the diagram:
>
>     current default route:  192.168.1.1
>
>     10.201.30.0/24  --> 10.201.30.1 --> Internet
>     192.168.1.0/25  --> 192.168.1.1 --> Internet
>
>   Lots more deleted...

What you're describing does not make sense. If the host has an IP
address on 10.201.30.0/24, the only way it can reach 192.168.1.1 is via
a router on subnet 10.201.30.0, which would have to be 10.201.30.1.
Ditto for a host with an IP address on 192.168.1.0/25. Its can only
reach systems on the 192.168.1.0 network without going to a router on
the 192.168.1.0/25 subnetwork. 

By definition, what you want must be happening as IP doesn't know any
other way to do it. To get the behavior you describe would require the
192 router to have a secondary address on 10... defined and configured.
Are you sure that you have set up the host addresses correctly or are
the hosts configured with both addresses on the same interface?

By the way, if what you are trying to provide is high reliability service
offerings accessed from the Internet, there are better ways to achieve
the goal.  However, if all you want is better access out to the internet,
this is the easiest way to get it.

-- 
Dr. Vincent C. Jones, PE              Expert advice and a helping hand
Computer Network Consultant           for those who want to manage and
Networking Unlimited, Inc.            control their networking destiny
14 Dogwood Lane, Tenafly, NJ
http://www.networkingunlimited.com
[EMAIL PROTECTED]  +1 201 568-7810  Fax: +1 201 568-6626 

------------------------------

From: "Gnork" <[EMAIL PROTECTED]>
Subject: Re: WinGate proxy server
Date: Tue, 29 Jun 1999 15:25:32 -0700

You can also get rid of WinGate.
Get Sygate 3.0 for Win9x/NT (www.sygate.com).
It's not a proxy but allows you to share your modem (thus network
connections).
>From your linux box you'll be able to telnet, HTTP, FTP, etc...
Plus Sygate can autodial for ya.

--G3k

<[EMAIL PROTECTED]> wrote in message news:7l634f$ukc$[EMAIL PROTECTED]...
> I have a small network consisting of mainly windows machines,
>
> One win98 box runs WinGate, a proxy server.
>
> I can access the internet useing netscape (set up access proxy server)
> on the linux box, how ever i can't use things such as ping, telnet etc.
>
> Pls. advise upon setting up the gateway so that the linux box will go
> through wingate all the time.
>
> Thanks for any help, Pls. reply to [EMAIL PROTECTED]
>
>
> Kev
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to