hello. let's say i have an non-routed Internet connection, and my
provider gave me an ip block where their equipment's and my router's ip
addresses belong to said block, and i want to do NAT and/or
Masquerading.

how do i make the DSL Router see that the rest of the IPs in the block
should be forwarded to the Linux Box's Ethernet, when both machine's IP
addresses are part of the same IP block?


                  (Ethernet)
                          eth0              eth1
----| DSL ROUTER |----------| Linux FW/Router |-----(internal network)
    203.10.100.1/27   203.10.100.2/27   192.168.1.1/24


i tried just a flat NAT and MASQ but it didnt work. i was told that for
every external IP address I put a NAT to, i have to add that IP address
to eth0 of the Linux Router (as described in the diagram above), since
it's not routed, i.e. over Ethernet and ARP cannot find the proper MAC
address unless i bind it to eth0.

di ba magulo yun when it comes to creating the firewall rules? it
doesn't look like it would scale gracefully.

thanks!

-- vince.

ps.

can this be done on a cisco router with two ethernet ports as well?
tried it out with ip nat but the packets cant find their way to the
other (NAT'ed) ip addresses. just on the cisco's ip address.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to