Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Routing Based on Destination

Hi,

I currently have a Cisco 887va with ADSL connection.
I have purchased a second ADSL line to use solely for offsite backups to a data center.

I want to setup a generic router on the new line and plug it into one of the Fast Ethernet ports on the 887va.


Backups are sent to address "ftp.mydatacenter.com" so i want everything going to this address to be routed through the new router/adsl line.

I have given the new generic router ip 172.0.0.1 and plugged it into Fast Ethernet 1 on the 887va.

On the 887va i created vlan3 as follows:

interface Vlan3
ip address 172.0.0.2 255.255.255.0

and on the FastEthernet1 port i have:

interface FastEthernet1
switchport access vlan 3
no ip address

I then added the ip route:

ip route XXX.XXX.XXX.XXX 255.255.255.252 Vlan3

(XXX.XXX.XXX.XXX is the IP of the datacenter)

This config doesn't work. I am able to ping the new generic router (172.0.0.1) for the 887va.

Any suggestion on what i'm doing wrong?

8 REPLIES
Hall of Fame Super Blue

Re: Routing Based on Destination

Benjamin

When you say it doesn't work how are you testing this ?

If you are pinging from an internal address remember the new router will need a route back to that subnet.

Can you clarify ?

Jon

New Member

Routing Based on Destination

Hi Jon,

When i say it doesn't work i am testing it by pinging the datacenter IP from the server that creates and sends the backup files.

I can ping the new router (172.0.0.1) from the 887 router but i cannot ping the 172.0.0.1 from the Server. What config do i need for it to work?

Hall of Fame Super Blue

Routing Based on Destination

What is the server IP ?

Is it just this server that needs access or more devices. If there are more can you specify them.

Also what model is the new router ?

Jon

Hall of Fame Super Blue

Routing Based on Destination

Benjamin

Bear in mind as well that the IP you are pinging in the DC, does it know it has to send return traffic via the new ADSL link ?

Jon

New Member

Routing Based on Destination

The server IP is 10.2.1.250 and it is the only device that needs access.

The new router is just a cheap tp-link 8817

The DC knows the new adsl link

Hall of Fame Super Blue

Routing Based on Destination

Okay then you need to add a route to new router. I don't know the syntax but the IOS example should give you an idea of what to do -

ip route 10.2.1.250 255.255.255.255 172.0.0.2

if you can't add a route to the new router then what you can do is NAT the server IP to the vlan 3 IP address. This would mean the new router would know how to send the traffic back because it is directly connected on that subnet.

If you want to do the NAT then let me know. I would need to know what NAT you have setup up already and which interface the server is reached from on the 887.

Jon

New Member

Routing Based on Destination

Jon I love you!!!!

i managed to get into the TP-Link cli and added that route.

then i could ping the new router from the server and now backups are sending offsite through the new adsl line:)

I confirmed that it was routing correctly by doing a tracert x.x.x.x (data center IP address)

Thankyou so much!

Hall of Fame Super Blue

Re: Routing Based on Destination

Benjamin

No problem, glad to have helped.

Jon

217
Views
0
Helpful
8
Replies