Routing multiple public IP addresses

Discussion in 'Cisco/Linksys Wireless Routers' started by gr0mit, Oct 8, 2004.

  1. gr0mit

    gr0mit Guest

    Hi there

    I have a routed block of 16 public IP addresses from my ISP, plus a single IP address for the WAN side of the router.

    I am trying to configure the WRT54G to route all of these IP addresses to the LAN.

    I have disabled 'gateway' mode, and have set it to use RIP but I get no packets in or out. If I ssh to my router I can ping both internet and internal IPs.

    Does anyone have any hints or tips? I have a feeling I need to set up some static routes but I am not sure where to start....

  2. Guest

    Guest Guest

    Tim, need more info here.
    1) are your IP addresses from your ISP a subnet??
    2) what firmware are you using on your wrt45g?
    3) can you add to your router's route table?
    If you can add to the route table of your router, you need to point to your
    intranet ( inside IP ). Like so:

    route add -net outside_IP/28 gw 192.168.1.xx ( for example ).

    Remember the netmask only applies to how to reply to an outside
    request. ( xx.zz.yy.IP/28 means xx.zz.yy.00 to xx.zz.yy.15 ) Any
    traffic to these addresses will be sent to 192.168.1.xx not to the
    outside ( back to your ISP ).
    4) I am assuming your ISP is coming in on your WAN connection!

    You could use one of the Linux boxes to do a tcpdump between your ISP
    and your router.
  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