All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Samad <alex@samad.com.au>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Routing public IP's through a gateway
Date: Sun, 14 Oct 2007 20:47:37 +0000	[thread overview]
Message-ID: <20071014204737.GR6456@samad.com.au> (raw)
In-Reply-To: <200710142307.12127.tim@timg.ws>


[-- Attachment #1.1: Type: text/plain, Size: 1360 bytes --]

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@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2007-10-14 20:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-14 13:07 [LARTC] Routing public IP's through a gateway Tim Groeneveld
2007-10-14 20:47 ` Alex Samad [this message]
2007-10-15  2:51 ` Mohan Sundaram
2007-10-15  2:59 ` Mohan Sundaram
2007-10-15 12:14 ` Tim Groeneveld
2007-10-15 12:31 ` Dan
2007-10-15 13:07 ` FW: " Dan
2007-10-15 13:12 ` Tim Groeneveld
2007-10-15 14:10 ` Tim Groeneveld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071014204737.GR6456@samad.com.au \
    --to=alex@samad.com.au \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.