From: Mohan Sundaram <mohan.tux@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Routing public IP's through a gateway
Date: Mon, 15 Oct 2007 02:59:53 +0000 [thread overview]
Message-ID: <4712D4D9.6090409@vsnl.com> (raw)
In-Reply-To: <200710142307.12127.tim@timg.ws>
Alex Samad wrote:
> 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
*cannot agree more*. Topology and better expression of scenario
requiring this helps always. This may be a convoluted solution to a
simple problem. I must add we are operating in relative vaccum here.
>
>
> 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.
seems to be outside subnet cited. *.72/29 is .72-.75* Only 2 addresses
can be served on DHCP from a subnet of 4.
>>
>> 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
>>
You seem to want to use public IP addresses against mapping public to
private addresses. If so, why not just connect the router to the switch
and connect all computers to the switch? Will also be better to get a
combined /28 subnet. No private addresses? No need for firewall?
I would use the Linux machine to map the public addresses to private
addresses for specific services to a DMZ.
Mohan
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next prev parent reply other threads:[~2007-10-15 2:59 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
2007-10-15 2:51 ` Mohan Sundaram
2007-10-15 2:59 ` Mohan Sundaram [this message]
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=4712D4D9.6090409@vsnl.com \
--to=mohan.tux@gmail.com \
--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.