How to use Real IP inside the LAN
Jason.Sigurdur at aspenview.org
Mon Mar 6 19:22:21 CET 2006
Hi, I am in the same scenario. My eth0 will have a different address
assigned by the isp, and a different internet valid pool assigned to us
to use. The isp will route all traffic to our eth0 for the assigned
My question is that is it possible to DNAT the 'assigned' address pool
into the Lan without having an interface with that address?
From: netfilter-bounces at lists.netfilter.org
[mailto:netfilter-bounces at lists.netfilter.org] On Behalf Of George
Sent: Sunday, March 05, 2006 10:56 AM
To: Sandeep Agarwal
Subject: Re: How to use Real IP inside the LAN
If the ISP routed an 8 ip subnet (let's say 126.96.36.199/29) to you
(consider having an ip on eth0 from a different pool), then you can
configure the ip 188.8.131.52 on eth1, with subnet mask 255.255.255.248,
and the ips from 184.108.40.206 to 220.127.116.11 with same subnet mask above on
the PC, VOIP device and Web Server, also enable ip_forward on the
Linux Box with command
# echo 1 > /proc/sys/net/ipv4/ip_forward
.. then it will just work.
On 3/3/06, Sandeep Agarwal <sandeep_agarwal at hotmail.com> wrote:
> Dear All,
> I have following setup.
> ISP---->|eth0|Linux Box|eth1|------>|Switch|--->PC (LAN IP)
> (Cisco) (Real IP)
> (Real IP)
> ISP has provided 8 IP Pool.
> No DMZ configuration is there. Simple rc.firewall is working.
> Now I want to use Real IP inside the LAN.
> What is the right way to do this?
> Will it be worthwhile, If I make aliases like eth1:1 & assign a Real
> If this is ok, than which rules I have to add in iptables?
More information about the netfilter