Static routing question

I just took a WRT610N and configure a few static routes for my network.

I have the router connected to a cable modem WAN and the interface of local network connected to my LAN via 192.168.0.1.

I have three other LAN subnets in a test environment, they are:-

172.16.0.0/24

172.16.100.0/24

172.16.200.0/24

I tried to add the following to the first subnet:

Destination = 172.16.0.0 LAN IP address

Subnet mask = 255.255.255.0

Gateway = 172.16.0.1

Interface = LAN

No matter what I try, I get a message saying route static invalid, and I can't get anything to stick.  Everyone can't see what I'm doing wrong?

Thank you guys!

Gary

The IP address of the gateway in a static route is the IP address of the connected device directly on each side of the router, either on the ethernet LAN or WAN side.

In particular you cannot route a subnet of an IP address of the gateway inside the target IP subnet. The static route example you deposited directions where to send traffic destined to 172.16.0.0/255.255.255.0. It is impossible to set the address of the gateway as 172.16.0.1 because the router doesn't know where to send the traffic to 172.16.0.1.

In other words, the IP address of the gateway must in most cases be a 192.168.0. * IP address that you use these IP addresses in the local network of the WRT. The IP address of the gateway should be the IP address of the router on the subnet specific target within your local network.

For example, if your second router with address 172.16.0.1/255.255.255.0 IP LAN has an IP 192.168.0.2, then the 192.168.0.2 is the IP address of the gateway for the static route to 172.16.0.0/255.255.255.0.

Tags: Linksys Routers

Similar Questions

  • RV042 Question of static routing

    I am currently using RV042 in the two-WAN backup mode. However, I tried the redundant option and think it's to give me more bandwidth and better performance than only the WAN.

    My problem is that in redundant mode, I am unable to use a few sites that I use on a regular basis. One of the sites is our Web Timesheet hosted service and their website will just crazy when I try to access the router set up in redundant mode. I am still not able to connect to their site, and it is important for my daily work.

    My question is - can I configure static for some sites routes so that the router knows he must access them through my WAN alone? For example, if my site of timesheet software is 123.123.123.123, and my favorite WAN gateway is 68.68.68.68, I can the router only to access this site through the specific gateway, even if the router is configured to use either WAN?

    I tried static routes and it doesn't seem to work at all.

    For example:

    Site: 123.123.123.123

    SM: 255.255.255.0

    Gateway 68.68.68.68

    When I save it and run the tracert to 123.123.123.123, it passes through the other door, and not that I mentioned here.

    Any tips are appreciated.

    Thank you
    Alex P.

    If your help it balance mode, go to system management support and scroll down to protocol binding.  Chances are you're going to a site secured with the two beginning of work and the site sees a connection with two upcoming ip home addresses and interrupts the connection.  You can perform a binding protocol for all your https traffic out a wan for all your network ip addresses and this should solve the problem.  You can do it for mail and other protocols that would be stripped by the dual wan.  I hope this helps.

  • Static route / network Configuration?

    I have a cable modem that connects via Ethernet (eth0) of a configuration for NAT and Firewall Linux box.  Another card (eth1) connects to a switch for my cable network (192.168.1.1/24).  I added a third adapter (eth2 - 192.168.2.1/24) which is connected to a M20 (192.168.2.2).  The server DHCP M20 has been implemented to serve the 192.168.3.1/24 network.

    Is there a configuration more simple than that?

    Problems reported with the current configuration:

    (1) I think the M20 NAT function must be disabled because the Linux machine is.  However, disable NAT causes machines on 192.168.3 bad connection to the internet.

    (2) I want the machines wirelessly on 192.168.3 to see shared windows on 192.168.1 and vice versa.  Currently they do not see each other.  If I remove M20 and plug a PC eth2 and set as 192.168.2.2, this machine can see actions on 192.168.1 and vice versa.  I think a static route must be set on the M20 so that he knows what to do with traffic to 192.168.1.  However, I don't properly because he always tells me I have an invalid route when I try to enter.

    (3) is there one another device other than on the M20 motorway which would better suit my needs (adding a wireless to my private/internal network segment)?

    Kind regards

    Case No.

    OK, I just saw the previous thread on this question pop up on the first page,

    Valet parking can be defined as an access point only?

    I'll try the posted instructions here.

  • Remove the static route by default

    Hello

    I have a switch L3 which has a static default route pointing to a FW that is connected to a circuit of the Internet. The same L3 switch made EIGRP routers on our MPLS network. If this default static route disappears EIGRP will inject a default route, and users will receive their Internet traffic through the MPLS cloud as a backup.

    My question is how to remove this static road by default with a mechanism that is unique on the Internet circuit. I can't count on line protocol because it almost never goes down. I can't rely on Internet ping IP SLA addresses because if they descended through the Internet channel available on the circuits quickly and create a loop of the SLA of intellectual property.

    I wish I could do BGP with the Internet provider but this circuit is in a country where it would be difficult.

    Any ideas on how to remove this default static route based on something that is unique to this tour of the Internet.

    Thank you

    P.

    "I can't rely on Internet addresses ping IP SLA because if they descended through the Internet channel available on the circuits quickly and create a loop IP SLA."

    To remedy this situation, you must add a route with the 'permanent' switch at the end of any IP you track on your IPSLA... In this way, if this interface is down, your ping IPSLA would stop and IPSLA would be the move and change your default route.

    Example:

    Route IP 1.1.1.1 255.255.255.255 2.2.2.2 Permanent

    where 1.1.1.1 is the IP address, you are followed and 2.2.2.2 is your 'usual' default gateway

  • Static route ISA570W to Comcast gateway/modem

    In my view, that it is a question of static route.

    I want to be able to connect to the gateway/Modem Comcast (10.1.10.1) using any computer on my network. Currently, I am unable to do this, I am also unable to ping the unit of Comcast. Here's my setup.

    Comcast device (SMC8014)

    WAN IP: 50.x.x.238

    LAN IP: 10.1.10.1 (255.255.255.0)

    A single cable CAT5E for:

    ISA570W (WAN Port) - (basic out-of-the-box configuration, 1 - WAN, DMZ - 1, 8 - LAN Ports)

    WAN STATIC Port info:

    IP WAN: 50.x.x.233 bridge (255.255.254.0): 50.x.x.238

    LAN IP: 10.1.10.2 (255.255.255.0)

    DHCP enabled for bridge VLAN-1 (10.1.10.30 - 99) by default: 10.1.10.2

    A single cable CAT5E for:

    Cisco SG200 - 50 p (POE switch to serve as a connection for phones and desktop computers)

    LAN IP: 10.1.10.3 (255.255.255.0)

    For devices on my network to get an IP address from the device of the ISA, ISA is also the default gateway. I have logged on to the device of Comcast and all firewall rules and blocking are disabled.

    Here's a copy of my current routing table according to the ISA570:

    Destination address

    Subnet address Entry door Flags *. Metric Interface

    192.168.3.0

    255.255.255.0

    0.0.0.0

    U

    0

    DMZ

    10.1.10.0

    255.255.255.0

    0.0.0.0

    U

    0

    DEFAULT

    10.1.1.0

    255.255.255.0

    0.0.0.0

    U

    0

    VOICE

    192.168.25.0

    255.255.255.0

    0.0.0.0

    U

    0

    COMMENTS

    50.x.x.0

    255.255.254.0

    0.0.0.0

    U

    0

    WAN1

    127.0.0.0

    255.0.0.0

    0.0.0.0

    U

    0

    LOOPBACK

    0.0.0.0

    0.0.0.0

    50.x.x.238

    UG

    0

    WAN1

    My desktop (10.1.10.32), so I'm unable to ping or you connect the unit to comcast to 10.1.10.1.

    So according to me, that missing me something simple here, it is a solution of static route, or I'm looking for policies of NAT?

    Thanks for your help and please let me know if you need more information on my network.

    -Matthew-

    OK, a few possibilities here.

    1. Did you go through this process for the SMC8014 Bridge mode?

    2. I advise to use a different subnet on the LAN of the ISA to the 10.1.10.x interface.  The reason is that when you send a request from a subnet of 10.1.10.x behind the ISA to a subnet of 10.1.10.x, your PC and the ISA assumes that the device is on the same network and will not try to route.  Consider using the subnet of 192.168.75.x by default on ISA LAN interface.

    If you do not step 1 above, then I'm fairly certain that you will not be able to browse the internet at all.  If you can browse the internet, but just can't get the Comcast router 10.1.10.1, then chances are 1 step has already been completed.

    Shawn Eftink
    CCNA/CCDA

    Please note all useful messages and mark the correct answers to help others looking for solutions in the community.

  • Followed by static route ASA

    We have implemented this feature on four of our ASA5510s who have several ISPS attached.  It works fine, but I would like some details on the inner workings of this feature.  When I set the number of packets to 3 and the frequency at 20, causing the route be detected as failed?  Does detect three consecutive missed echoes and fail on the fourth missed package?  If she loses three, then sees echoes for the next, dows road stand?  Is the number of packets as a counter ' down/up', which means that success after breakdowns made the availability of County zero to three?  What is the time between the echo packets sent?  How dows the ASA begin to use the route taken after it's available again?  That actually mean the part "rtr" of the command?  I dug deep into Cisco and other resources online for several days, but have not found answers to these questions.  If there are documents available that answer my questions, provide links.  Thank you!

    To answer your question if 3 echos fail then the ASA mark the road as having failed and uses it. Now he keeps ping well and if he sees a response from the main road he scored again as functional and use it.

    The sssociates part of rtr a static route on track with the SLA monitoring process. The track ID corresponds to ID track given the static route to monitor: "rtr" = entry delay response time. 123 is the ID of the SLA process defined above.

    I hope it answers your question.

    PK

  • Explain SGE2000/P static routing (equal to L2 +)?

    L2 + mean?  I know these aren't L3 switches with IVR capabilities, then what is the purpose to configure static routes, if there is no functionality InterVLAN routing?

    T.I.A.,

    Chris

    Welcome to Cisco Community!

    With get them into a huge discussion, I will try to respond as quickly and directly as possible.

    Our EMS and EMS in the series switches are layer 3 switches (can also be configured as L2) so that they are able to operate as a (inter VLAN) router or gateway for all the VLANS. Once you have created the VLANS and assign an IP address, that IP address will become the GW for this VLAN. Under routing, you will not see any scholarly networks until what you assign the VLAN to a port and the port is enabled. You will then need to configure a default route to send traffic to the cloud. The router must belong to the same VLAN on the switch. So if the switch has an IP address of 172.16.30.1/24, the router will have an IP address of 172.16.30.254/24 for example. The road reads: next hop metric 172.16.30.254 0.0.0.0/0 2 (or higher).

    With respect to the static routes as a switch L2 or L3, that they would be useful when you have a device connected to another switch that is disjoint from your typical network of the local switch. In other words, let's say you have 3 (except default native VLAN 1) VLAN V10 - 30. Everything you devices belong to these VLANs, but you have a server on 30 VLAN that is not connected to this switch. You will then create a static route for the IP address of this server to the remote switch.

    VLAN30: 172.16.30.1 (local EMS)

    Server: 172.16.30.200 (on the remote switch)

    Remote switch: 192.168.20.1 (distance EMS)

    VLAN30: 172.16.30.2 (on the EMS distance)

    Static route:

    hop metric 172.16.30.2 next destination 172.16.30.200 2

    I hope that answers your question. These are really my favorite switches, because I find them very reliable and highly configurable. I love these things.

  • Next hop for the static route on the VPN site to site ASA?

    Hi all

    I would be grateful if someone could help me with my problem ASA/misunderstanding. I have a VPN site-to site on a SAA. I want to add a floating static route to point to the VPN on the ASA. Note that the traffic in this way is not with in subnets cryptographic ACL that is used to bring up the VPN. This VPN is used only as a backup.

    The static route with the next hop add local public address or the remote public address of the VPN? The next break maybe local ASA isp internet facing interface? I intend to do on the ASDM. I'm sorry if it's a simple question but I found no material that explains this?

    Concerning

    Ahh, ok, makes sense.

    The next hop should be the next jump to the interface that ends the VPN connection, essentially the same as your Internet connection / outside the next hop interface.

    Example of topology:

    Site B (outside interface - 1.1.1.1) - (next hop: 1.1.1.2) Internet

    The static route must tell:

    outdoor 10.2.2.2 255.255.255.255 1.1.1.2 200

    I hope this helps.

  • What is checked first, GLBP or static route?

    I have 2 routers doing GLBP. The virtual IP address is given to jobs as a default gateway.

    When a packet hits the default gateway, it will go to RTR - A. Then the second package request will go to RTR - B. It's all good via GLBP.

    The question is, if RTR - A is a static route to 66.66.66.66 and the next hop for this destination is via RTR - B, how will RTR - A treat this package when RTR - is the router that needs to deliver the package to the internet? I mean, how is this Treaty?

    GLBP will review the package and then determine what it is RTR - A tour to take it, then it give RTR - A, and then this router will focus on its local routing table and then it give RTR - B because the destination is 66.66.66.66?

    Or the static route will take precedence GLBP? but again, only RTR - A will have this static route entry as the network admin pushes everyting for 66.66.66.66 out of the RTR - B. Confusion is the GLBP thing.

    Thank you for the help

    Hello

    GLBP works on a per-host basis and not per package. I mean, when the host is the gateway for the first time, this is the moment where we decide which router is actually going to be pass packets to the host.

    Consider this example

    Three host X, Y, Z

    Two routers with GLBP RTR A and B RTR operating in the Round Robin database

    1. Boots X host receives the IP via DHCP or configured statically, it will send the ARP request to the gateway. ARP request is served by RTR and he sends MAC address. Host X now use RTR A gateway
    2. Boots of host obtains the IP via DHCP or configured statically, it will send the ARP request to the gateway. ARP request this time is served by RTR B because GLBP is set to be in round robin mode. RTR B sends address MAC to host b. host Y will now use RTR B gateway
    3. Boots of the host Z Gets the IP via DHCP or configured statically, it will send the ARP request to the gateway. ARP request is served by RTR has time and he sends MAC address. Host X now use RTR A gateway

    RTR has accessibility to 66.66.66.66 network RTR B also accessibility features. This package can be transferred.

    X(a) RTR as gateway host sends the packet to 66.66.66.66 going A RTR, which will send to RTR B because of the static route.

    Host Y (RTR B as gateway) sends out packets to 66.66.66.66 going to RTR B, which it will process in accordance with its routing table

    I hope this helps.

    See you soon

  • Static routing LRT214 does not

    Hello

    I have a hard time with a static routing on LRT214.

    My configuration:

    * LRT214 (recently purchased), acting as a gateway to the internet, local subnet is 192.168.28.0/24

    * There is a local VPN (192.168.28.98) server on the local network, serving a LAN tunnel with subnet 192.168.29.0/24. on LRT214 port forwarding is configured

    I can connect to my VPN server on the internet, and I can access the machine running on the VPN server (for example via ssh).

    However, I can not connect to any other computer on my LAN, although I tried

    adding another subnet under Configuration > network > LAN settings

    * setting up a static route under Setup > Advanced Routing (kind of route add - net 192.168.29.0/24 gw 192.168.28.98)

    of course, when I add the itinerary of statitc over any computer on the local network, I can connect via VPN tunnel to the machine, so its clearly a problem of LRT214.

    Please help, how can I configure a static route for this scenario in the user Web interface?

    The SPI Firewall, intercept traffic.

    As far as I understand, it could be that when the VPN server sends data to another machine on the local network, this happens on layer 2 (where the SPI Firewall not listening), while the return on the VPN server traffic is routed higher up in the stack, where the SPI listening and intercept.

    So, I will use the above workarounds, or put the OpenVPN server on a different subnet or VLAN, which I do anyway. I tried a basic configuration of VLAN yesterday (just put the Server full VPN with all interfaces in one VLAN separated), with InterVLAN routing enabled, but there seems to be some particularities with it (like the ping works, but not ssh). In any case, it's another story. Thanks for you support.

  • Help! Static route between two router WRT160NL

    Hi all

    I have my internet connection to connect to my main router from Linksys WRT160NL (192.168.1.1) with 192.168.1.x.

    My 2nd Linksys router to connect to the first gateway as well.
    The 2nd router has the ip 192.168.1.100 WAN and it's a local subnet as 192.168.2.x.

    My 192.168.2.x machines can access the internet and connect to all the machines in the network 192.168.1.x.

    However, the 1.x network cannot access the machines on the network of the 2. And because of that, I can't share or print between two networks.

    I try to add static routes on my main router (192.168.1.1) with the road: 192.168.2.0 mask 255.255.255.0 and default gateway 192.168.1.100

    However, the road does not work yet.

    in any case to ensure that the 1.x network able to access the network 2.x and 2.x access 1.x file and print sharing.

    Thanks for your help!

    Gateway of the router does NAT who made the side inaccessible side LAN WAN, unless you configure port forwarding automatic or similar. If she would not make your LAN 192.168.1 would be accessible from the internet. Static routing will not change that.

    You will need to disable NAT (aka switch to router mode) on the second router. You must configure a static route on the main router then. However, most likely your network 192.168.2 * will not have Internet more because the main router will NAT for 192.168.1. * and no 192.168.2. *.

    If possible set up the second router as access point only and run a LAN.

  • Connecting two routers via a static route

    I have a relatively simple configuration involving a Wireless-N Router and a wireless-B router (several years).  The N wireless router is connected to the internet (via DSL modem) and accepts several DHCP clients without problem.  Wireless - b router is connected to the Wireless-N router.  To do this, I connected the WAN port on the router wireless - b to a port on the router Wireless N ethernet (did not use the uplink). I have a PC connected to the router wireless - b, so I want him to be able to hit the internet, but also be accessible to DHCP clients on the Wireless N router.  The PC connects to the internet successfully, but it does not find clients on the network supported by the Wireless-N router.  It's about my setup:

    B 192.168.55.1 wireless router (LAN) 192.168.56.102 (WAN)

    PC 192.168.55.10 (active dhcp)

    Wireless N 192.168.56.1 (LAN) x.x.x.x (internet)

    (several clients dhcp... 192.168.56.100...)

    I've added a static route in the hope that a computer on the network of the Wireless N router would be able to hit the PC, but nothing helped. I've added a static route as such, on the Wireless-N router, which was the only way that that would enable the web interface:

    Destination LAN 192.168.55.0

    Subnet mask 255.255.255.0

    Gateway 192.168.56.102

    I tried to place the router without wireless - B gateway mode, then router and changed mode, then return.  I can connect to the web interface of the router wireless - b from the PC, and I can connect to the internet from the PC.  Also, the PC is able to reach customers on Wireless N, but the reverse is not true, i.e. clients on Wireless N can't find clients on the wireless - B network. Also, I turned on the port forwarding on the router wireless - B so that it points to the PC, in the hope he would lead all traffic to the PC, but still cannot access PC.  How to configure both routers (or both set up as access point?) so that clients on the Wireless N Router can talk to customers on the wireless router - B?  For now, all customers are on DHCP, but finally, I would like to create static entries for at least two or three of them.

    Thanks in advance

    Are Linksys routers teas? If so what model is router B? It may not supported for a DHCP client port forwarding. Even if you can get the port forwarding to work for a client on router B, it will not work for several clients.

    In addition, if you have the option in router B, disable the SPI Firewall. It is the cause of the problem, in my opinion. If you do this, you should port forward.

    Is there a reason that you connect the routers via the WAN port on the router B? You could uplink using an ethernet port on the B to an ethernet port on the N and avoid all this... You can always configure router B as a point of wireless access for specific customers.

  • Add a static route to a RV042

    I have configured the RV042 dual WAN port for backup smart link connected to two different ISPS.  The subnet behind this is 192.168.2.xxx.  I have a second router linksys Garland with the 192.168.2.250 WAN port and subnet behind it is 192.168.20.xxx.  My problem is that I have a not able to route traffic fron 192.168.2.xxx to 192.168.20.xxx.  How can I add a static route so that clients on 192.168.2.xxx can access resources on 192.168.20.xxx?

    1. the second Linksys router must be changed of gateway (active NAT) in router mode (NAT disabled) mode. With NAT the LAN behind the second Linksys will be not accessible from the outside unless you configure port forwarding.

    2. on the RV042 set up a static route for the subnet 192.168.20.0/255.255.255.0 to the gateway IP address 1921.68.2.250 on the LAN interface.

    3. Ideally, you must configure the same static route on all clients connected to the RV042. If you don't want to do this, you must configure the firewall on all clients on the RV042 accept ICMP redirect messages. This is important because otherwise all traffic from 192.168.2. * to * 192.168.20 would be sent to the RV042 and from there to the second Linksys that is unnecessary and could create a bottleneck.

  • Redistribution of static routes in OSPF

    Hi all

    It seems that the static routes can still live even if the designated interface went down.

    I added a description for this problem file.

    Stephen,

    I don't know why the distribution list did not work. Did you include the permit all at the end of the access list? Without it, you wouldn't get the external routes, as you journey.

    I have just re-read the documentation for the ip route, 12.2 and 12.4, ' cos I wasn't aware of the useful form of the command that Rick suggested. Here is an excerpt:

    Specifying a next digital jump which is on a directly connected interface will prevent the router to use Proxy ARP. However, if the next hop interface breaks down and the digital next hop can be reached by a recursive route, you can specify hop and the following interface (for example "ip route 0.0.0.0 0.0.0.0 Ethernet1/2 10.1.2.3") with a static route to avoid the roads pass through an unintentional interface.

    Which describes your problem exactly, I think. He comes:

    http://www.Cisco.com/en/us/products/SW/iosswrel/ps1835/products_command_reference_chapter09186a00800ca75a.html#wp1018065

    Therefore, the interface specification that force the static route to use only a local next hop.

    Kevin Dorrell

    Luxembourg

  • By default static route with recevied BGP default route

    Hi guys;

    I have a problem and I don't know how to find or solve it.

    My chart is attached, please check everything first.

    Secondly, I have a multihomed BGP with two Internet service providers, I received two ISPS via BGP default route.

    Now, I have two types of IP addresses as follows:

    1 - my own prifixes, who has recorded with my ACE

    2 - iPs purchased ISP2.

    I have two networks, the first will contain my own prefixes and second will contain my prifixes ISP2. so I have to go on the internet, static route by default to the ISP2 need and that's fine, now the problem that carry the second defect I received two ISPS in routing however my table if I show ip bgp I see that I received it, but because of favorite and distancing China he disappear the default road statistics.

    so now a network is already online and the second network that contain my own IPs is out of service, of course this second network I need to routed to my isps1 via bgp and when isps1 down, go through ISP2 and I do using weight and as path prefix.

    Thank you

    Hi Nathan,

    With ACB option, you config-route map is your own prefix and set its next hop ISP 1 and 2 PSI when ISP 1 IP is not accessible. Apply the road map to interface with Network1. ACB is processed before routing.

    With option VRF, put the Network1 interface and isps1 VRF1, so it will have separate routing table. Under the vrf1 you static default config with higher AD and the next hop pointing to ISP2 in the global routing table. This will be used when you lose by default isps1. Because separate ridges VRF table routing, so netwoek1 will use the default route in vrf1 to isps1 as primary, the Network2 use ISP2.

    HTH,
    Lei Tian

    Sent by Cisco Support technique iPhone App

Maybe you are looking for

  • Firefox is updated. need for 128-bit security encryption

    My firefox is updated. In order to obtain statements without credit cards paper, I need to have 128-bit security encryption. Card company control the browser and not continue to make the change of paperless, due to the fact that 128-bit security encr

  • Audio distorted after upgrade to tvOS 9.1

    After the upgrade to tvOS 9.1, audio is distorted. I rebooted, reset it and tried the restore as well without a bit of luck. Surround Speaker running check indicates that the audio is sent simultaneously to all speakers (instead of individual flows f

  • Message "Set up the reboot" turns the loop after power failure

    I reinstall Windows XP on my PC and there is a power outage during the time of "Windows Installer". Then the error message "Set up the reboot" comes on the loop and repeats indefinitely.  When I tried to enter together at the top, he's going bonkers

  • Cannot print photos with Photo Printing Wizard

    Have used the Photo Printing Wizard many, many times and have usually no problem but today, I do not get the layout options, he seems stuck on full page layout. Can anyone help please?

  • How can I fix registry error

    Im having problems with the introduction of itunes on the computer.