[LARTC] Routing public IP's through a gateway
Alex Samad
alex at samad.com.au
Sun Oct 14 22:47:37 CEST 2007
On Sun, Oct 14, 2007 at 11:07:10PM +1000, Tim Groeneveld wrote:
> Greeting all,
>
> I have a bit of a complicated question.
>
> I have two ethernet devices, eth1 and eth2.
>
> eth1 is where my internet comes from. It is in the form of 202.172.122.208/29.
> It has another IP range, 202.172.122.72/29. What I want to be able to do is
> route 202.172.122.72/29 to eth2, so that other machines can use those IPs,
> any ideas on how to do this, I cannot work out how to do this.
You haven't made it too clear what exactly you are trying to do, from what i
gather this should work on your linux box
ip route add 202.172.122.72/29 dev eth2
Does your isp route 202.172.122.72/29 to you ?
>
> eth2 has a DHCP server, which only gives out IPs 202.172.122.74 to
> 202.172.122.76.
>
> eth1 is basically just hooked into my internet router, while eth2 is hooked
> into a switch, and will be used for other computers.
>
> If anyone could help me with this setup, I would more then appreciate it.
>
> Thank you very much,
>
> - Tim Groeneveld
>
> --
>
> Need hosting for your next Open Source project? why not try ShareSource?
> www.sharesource.org
> _______________________________________________
> LARTC mailing list
> LARTC at mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.ds9a.nl/pipermail/lartc/attachments/20071015/e224addf/attachment.pgp
More information about the LARTC
mailing list