WRT54G + Public and Private IP routing/NAT.

Discussion in 'Networking Issues' started by tr1980, Jan 16, 2006.

  1. tr1980

    tr1980 Guest

    Hi All,

    I have a block of 16 public IPs;

    I am using a D-Link DSL-502T router/modem in bridge mode for PPPoE with the WRT54G running HyperWRT 2.0 firmware.

    The router's local IP is (mask However, I also want to configure it as (mask and be able to route traffic between those machines on my LAN which have a public IP (eg. nameserver, web server etc.) and those which don't (eg. my laptop

    I have telnet access to my router, and have been able to ifconfig vlan1's IP address to, ping the router from my laptop ( and have it reply, however, am unable to ping my webserver (

    I suspect I need to create an entry in iptables, but don't know how or what. I would really appreciate any help anyone is able to offer (or let me know if I am headed in the wrong direction).

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice