01-30-2008 11:38 AM - edited 03-03-2019 08:30 PM
Hi, I have a Cisco 877 DSL router connected in a remote office with nothing connect to the Vlan1 (4 port switch on back) to bring the VPN up, how can I add a loopback to test the VPN is working?
I can ssh to the outside IP and back the change.
01-30-2008 12:12 PM
if you have a rj-45 plug and a crimper, you can make a loopback plug. connect pin 1 to pin 3 and pin 2 to ping 6.
If you don't have a crimper you can do a Macgyver and take a cat5 cable, cut the end off and strip the jacket off to expose the wires. You want to connect pin 1, usually the white with orange cable, to pin 3, usually the white with green. Then connect pin 2, usually solid orange, to pin 6, usually solid green. Just strip off a little bit of the jackets and twist the cooper together. tape the exposed copper to prevent bad things from touching.
GL
http://www.duxcw.com/digest/Howto/network/cable/cable5.htm
(The colors above are based on the 568B standard, there is also 568A which is the reverse, orange would be gree and green would be orange. )
01-30-2008 12:29 PM
Just create a loopback interface that matches the 'interesting' traffic at each end.
For instance, if your VPN ACL consist of:
access-list 100 permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255
then on the source router, you need to configure
interface loopback 0
ip address 192.168.1.1 255.255.255.0
on the target router, then you need to configure
interface loopback 0
ip address 192.168.2.1 255.255.255.0
__
Once that's configured, then you can ping from the source by sourcing from the loopback
Example from router holding 192.168.1.1
ping 192.168.2.1 source loopback 0
__
One caveat, you need to advertise those loopbacks either via static routing or dynamic routing. For this test, go with static routing.
HTH,
__
Edison.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide