1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WRT54GC subnet and static routing problem

Discussion in 'Networking Issues' started by wirelessuser, Jan 6, 2006.

  1. wirelessuser

    wirelessuser Guest

    I'm trying to have different IP ranges for LAN and WLAN connected to the WRT54GC. My config is as follows:

    WRT54GC
    - ip 192.168.1.1
    - subnet 255.255.255.128
    - gateway ip/dns etc is auto issued from cable ISP
    - dhcp disabled
    - no port forwarding
    - SPI firewall enabled
    - broadcast forwarding disabled

    LAN PC:
    - ip 192.168.2.1 (hardcoded)
    - subnet 255.255.0.0
    - gateway 192.168.1.1 (WRT54GC)
    - dns from cable ISP (hardcoded)
    - static arp to WRT54GC is set
    - route to WRT54GC is set

    WLAN notebook:
    - ip 192.168.3.1 (hardcoded)
    - subnet 255.255.0.0
    - gateway 192.168.1.1 (WRT54GC)
    - dns from cable ISP (hardcoded)
    - static arp to WRT54GC is set
    - route to WRT54GC is set

    Questions:
    1. I'm trying to have LAN IPs in 192.168.2.x and WLAN IPs in 192.168.3.x which is away from wireless router IP 192.168.1.1. Is such setting possible?

    2. What static routes must I set in the WRT54GC router to make this work?

    3. Tries with some static routes but no Internet access. Does WRT54GC's NAT only work for 192.168.1.x?
     
  2. xrattiracer

    xrattiracer Network Guru Member

    this setup will never work right, the router gets confused since the WAN ip of 192.168.1.1 falls within the LAN network definition of 192.168.0.0/255.255.0.0.
    either change the subnet mask on the LAN side to be a class C network (255.255.255.0) or use one of the other reserved ip blocks (10.x.x.x or 172.16.x.x).
    i am also not sure why you are trying to use different class c networks for wired and wireless on the lan side, they are bridged together and so are actually the same network.
     
  3. SAPo57

    SAPo57 Network Guru Member

    subnetting

    Im not sure why you would want to subnet your network, too (only if your running a business). Im learning about subnetting in my Cisco networking class so I'll assist with this issue when I can. If your trying to setup a home or office network try simply enabling DHCP, even if your ISP has one already, and connect either a hub or switch (a switch has more benefits) to one of your router's ports to connect more devices.
     

Share This Page