Our service provider is giving us the connectivity between main and remote site by keeping one router. We dont have control on that router. No internet is working through that router.
We have internet running by one modem which is direct into the switch.
Now the problem is that at one time, either internet will work or central application. Keeping in view that i cant lay cable from internet modem to service provider router as i dont have access to get into the same.
Is it possible that one install one more cisco router by own and put dsl cable into ADSL card and one cable from SP router to our router and one for lan?
If so, do i need to divert the traffice? Thanks
If you switch is manageable switch, then make too separate VLAN.
One for internet and another for INTRANET (VPN or your central application).
Get a router on which your Internet circuit will terminate.
Then for all the internet traffic ( i.e static default route) your ADSL will be used.
And for your INTRANET traffic configure static route pointing to next hop as your service provider's router.
But IP address scheme will be same. Lets say Lan users haave 192.168.1.X/24 ip addresses. How can we differentiate the traffic? i mean to say how will a pc knows that to access internet it will go out from ADSL port and to access application it will go out from lets say fastethernet port. Thanks
Can you give code
Lets say IP address of the application you are trying to reach is 126.96.36.199
then, your routing table should look something like
ip route 188.8.131.52 255.255.255.255
ip route 0.0.0.0 0.0.0.0
Yes you can have PBR, but personally I have opinion of not using PBR unless very neccessary or say no other way.
In your scenario, I didn't felt nessecity of using PBR.
Well, for PBR your config should be something like below:
ip access 101
match ip address 101
set ip next-hop