[Gllug] Routing Issues

French, Alastair Alastair.French at racalinst.co.uk
Fri Aug 23 09:27:12 UTC 2002


Thanks to all those that replied.

I have now fixed it!

I think there was a problem with the ADSL link that night that did not help.

Cheers

Alastair

On Thursday, August 15, 2002 11:04 AM, Ian [SMTP:bredroll at atari.org] wrote:
> hmm,
> 
> reading what you have, it looks like you have your dsl router on
> 192.168.1.x and plugged into eth0, and your lan on 192.168.1.x also and
> plugged into eth1, you cant route traffic for one subnet thru two
> interfaces, unless you use some sort of ethernet bridge(evil),
> 
> ok, i take it your adsl router is plugged into adsl and your linux box,
> and your linux box is plugged into your LAN ? if so, its routing table
> should look like this (also with its lo interface)
> 
> eth0 has ip 192.168.0.2 and goes to 192.168.0.1 on the dsl router,
> eth1 has ip 192.168.1.1 and is for the LAN,
> 
> network            netmask            router            dev
> -----------------------------------------------------------------
> 192.168.0.2        255.255.255.255      -               eth0
> 192.168.0.0        255.255.255.0        -               eth0
> 192.168.1.1        255.255.255.255      -               eth1
> 192.168.1.0        255.255.255.0        -               eth1
> 0.0.0.0            0.0.0.0            192.168.0.1       -
> 
> if you can ping the dsl router from your lan, then cool, if not check
> proc/sys/net/ip_forward to see if its set to 1 or not, if its not echo 1
> > to it,
> 
> remember to export your correct route to the lan with dhcp, in this case
> i would export the ip 192.168.1.1 as your linux box can have more
> control over what goes in and out (you may run a dns etc,)
> 
> hope this helps
> 
> bredroll
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug


*******************************************************************************************************
The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful.

If you have received this e-mail in error, please inform RACAL INSTRUMENTS LTD. immediately by phoning +44 (0)1628 604455 (ask for the I.T. dept) and delete it and all copies from your system.
*******************************************************************************************************


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list