How to use Real IP inside the LAN
George Alexandru Dragoi
waruiinu at gmail.com
Sun Mar 5 18:55:41 CET 2006
If the ISP routed an 8 ip subnet (let's say 188.8.131.52/29) to you
(consider having an ip on eth0 from a different pool), then you can
configure the ip 184.108.40.206 on eth1, with subnet mask 255.255.255.248,
and the ips from 220.127.116.11 to 18.104.22.168 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)
> |--->VOIP Device
> (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 IP from
> If this is ok, than which rules I have to add in iptables?
More information about the netfilter