[Voyage-linux] Routing question

Wayne Lee (spam-protected)
Mon Jan 28 07:51:20 HKT 2008


Hi

If the DSL router is of the cheap kind I suspect it will nat everything
going out. The way to avoid double natting is to insert a static route
on the DSL router pointing back to the alix box

IE, On dsl router

192.168.1.0/24 via 192.168.0.2

Wayne



On Sun, 2008-01-27 at 14:27 -0700, Andrew Niemantsverdriet wrote:
> Your DSL router will not NAT the 192.168.1.0/24 network. You will need to
> setup Voyage to NAT that network for you to a 192.168.0.0/24 address which
> will then be NAT'ed by the DSL router. This is a double NAT and make cause
> some applications to not work (for example VOIP protocal SIP) but over all
> most everything should work.
> 
> > Hi,
> >
> > I'm running voyage on a ALIX 2C3 Board. The interfaces are configure
> > with 192.168.0.2 and 192.168.1.2, both with mask 255.2552.255.0. Default
> > GW is 192.168.0.1, my dsl router.
> >
> > I'm trying one PC to be connected on the 192.168.1.0 network, with an ip
> > adress  of 192.168.1.120, which should reach the internet. Default gw
> > for this pc is set to 192.168.1.2, the alix board.
> >
> > I've done "echo 1 > /proc/sys/net/ipv4/ip_forward" to enable ip
> > forwarding.
> >
> > Still this PC cannot go beyond the ALIX-Board....
> >
> >
> > These are the routing infos:
> > yasmin-pc ~ # route
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 192.168.1.0     *               255.255.255.0   U     0      0        0
> > eth0
> > loopback        *               255.0.0.0       U     0      0        0
> > lo
> > default         192.168.1.2     0.0.0.0         UG    0      0        0
> > eth0
> >
> >
> >
> > ratte:~# route
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 192.168.1.0     *               255.255.255.0   U     0      0        0
> > eth1
> > 192.168.0.0     *               255.255.255.0   U     0      0        0
> > eth0
> > default         router.ocv.org. 0.0.0.0         UG    0      0        0
> > eth0
> >
> >
> > can anyone tell me where I go wrong?
> >
> > TIA
> >
> > --
> > Alexander Topolanek
> > Intelligente EDV- und Telekommunikationslösungen
> > Montage von Sicherheitstechnik
> >
> > Probst Peitlstr. 85
> > 2103 Langenzersdorf
> >
> > +43 664 507 68 09
> > http://www.topolanek.at
> >
> >
> > _______________________________________________
> > Voyage-linux mailing list
> > Voyage-linux at list.voyage.hk
> > http://list.voyage.hk/mailman/listinfo/voyage-linux
> >
> 
> 
> 
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
-- 
Regards
 
Wayne Lee
Technical Manager
Link Connect Services ltd
Moor Park House
Moor Park Lane
Farnham
Surrey
Tel :: 0870 7433100
FAX :: 0870 7433101
http://www.link-connect.com
MSN :: wayne.lee at link-connect.com




More information about the Voyage-linux mailing list