two NICs and speed issues

Dennis Gilmore dennis at ausil.us
Mon Jul 19 14:57:56 UTC 2004


Once upon a time Monday 19 July 2004 9:39 am, Chadley Wilson wrote:
> On Mon, 2004-07-19 at 16:36, sam at illawarra.org wrote:
> > 220.x.x.x   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> > 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
> > eth0 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0      
> >  0 eth1 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0   
> >     0 eth1 0.0.0.0         220.x.x.x   0.0.0.0         UG    0      0    
> >    0 ppp0
> >
> > ^i get the same slowdown when i am connected to the internet or not,
> > iptables is only activated when i am online, so do not see how this would
> > be relevant.
>
> The way I understand this is that if you picture it this way you have a
> PC with modem connecting to the internet, that is your server and all
> your clients are connecting to it as a gateway to the www. If you have
> used (deliberate or by mistake) the server as the gateway all packets on
> your network will route through the server, but if the servers gateway
> is assigned to the isp then the packets are going to go out to theisp
> and back again that will cause an unusual speed reading in the
> connections of the clients as you are experiencing.

the default route is only used when it can't match  the adress in the other 
routes  so all your local stuff will not leave your machine and go out on the 
internet.  i have used my server as gateway in the past and had no issues at 
all.  

Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040719/286d9d73/attachment-0002.bin 


More information about the users mailing list