[Herefordshire] Routing two subnets

Chris Bond chris at logics.co.uk
Thu Oct 28 21:12:04 BST 2004


http://www.linuxforums.org/forum/ntopic25532.html seems to suggest you need
to fwd the packets using iptables as the default routing is not doing
nothing - not sure what lines need to be added in a two-subnets though.

 

  _____  

From: Mark Broadbent [mailto:markb at wetlettuce.com] 
Sent: 28 October 2004 9:03 PM
To: chris at logics.co.uk; Herefordshire Linux Users Group.
Cc: mherbert at redhat.com
Subject: RE: [Herefordshire] Routing two subnets

 

On Thu, 2004-10-28 at 20:43 +0100, Chris Bond wrote: 

 
Might have not made it clear I can route on the linux box perfectly its on a
remote machine that where the default gateway is set to route that segment
that it doesn't route via the linux box.
 
-----Original Message-----
From: Chris Bond [mailto:chris at logics.co.uk] 
Sent: 28 October 2004 8:41 PM
To: mherbert at redhat.com; herefordshire at mailman.lug.org.uk
Subject: RE: [Herefordshire] Routing two subnets
 
Already done that but still doesn't route the packets!  Iptables -L shows
default ACCEPT so its not that blocking it... aby more ideas?


I assume your network is laid out like somewhat like:

[Box A]<---Subnet 1-->[eth? "Linux Box" eth?]<--Subnet 2-->[Box B]

Starting with basics I'll assume your attempting to ping Box B from Box A.
The output from this would be useful, even more useful would be the packet
capture whilst your pinging Box B (using tcpdump or ethereal).  But to start
with if give us the output from the 'route' command on all the boxes (plus a
corresponding 'ifconfig' [Linux] or 'ipconfig /all' [Windows]) and we can
work from there.

Thanks
Mark




-- 
Mark Broadbent <markb at wetlettuce.com> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/herefordshire/attachments/20041028/6ce51d67/attachment.html


More information about the Herefordshire mailing list