cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1154
Views
0
Helpful
1
Replies

RV220W - Static Route

RealMuhko
Level 1
Level 1

Hello Cisco People.

I am using my Cisco RV220W as primary gateway/router on my LAN but has recently added a secondary gateway/router (4G Mobile Broadband Router).

Is it somehow possible, via RV220W static routing, to route all traffic for a specific client on the LAN, say 192.168.1.100 to always access the internet via the secondary router ?

It is only one specific client which should always route via the secondary router, all the rest of the clients on the LAN should use the primary router.

Facts:

Primary Gateway/Router (DHCP Server): 192.168.1.1

Secondary Gateway/Router (NO DHCP Server): 192.168.11.1

Subnet Both: 255.255.255.0

RV220W IPV4 Routing Table (Default):

Kernel IP routing table

Destination      Gateway      Genmask      Metric  Ref      Use      Interface      Type          Flags

127.0.0.1      127.0.0.1      255.255.255.255 1      0      0      lo          Static      UP,Gateway,Host

192.168.1.0      0.0.0.0      255.255.255.0      0      0      0      bdg1          Dynamic      UP

192.168.1.0      192.168.1.1      255.255.255.0      1      0      0      bdg1          Dynamic      UP,Gateway

192.168.11.0      0.0.0.0      255.255.255.0      0      0      0      eth1          Static      UP

192.168.11.0      192.168.11.142  255.255.255.0      1      0      0      eth1          Static      UP,Gateway

0.0.0.0      192.168.11.1      0.0.0.0      0      0      0      eth1          Dynamic      UP,Gateway

I am kinda noobish on this Iptables thing, used to GUI - but GUI can not help me this time, hope a friendly sould out there could help me instead.

Any help is appreciated,

Many Thanks !

Martin B.

1 Reply 1

mpyhala
Level 7
Level 7

Martin,

It is the Default Gateway of the PC that determines how it reaches the internet. A simple solution is to configure the PC with a static IP as follows:

IP Address: 192.168.11.100

Subnet Mask: 255.255.255.0

Default Gateway: 192.168.11.1

Primary DNS: 192.168.11.1

Secondary DNS: 8.8.8.8 (You can use ISP DNS if you like)

This will force the PC to go to 192.168.11.1 for all internet bound traffic

Give the PC a second IP address:

IP Address: 192.168.1.100

Subnet Mask: 255.255.255.0

Default Gateway: NONE

This will allow the PC to have access to the RV220W LAN 192.168.1.0/24

- Marty

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: