09-09-2003 01:55 PM - edited 03-02-2019 10:13 AM
I have set up a simple GRE tunnel. I can ping through the tunnel from the each end of the routers. What is the procedure to get hosts talking through it?
Solved! Go to Solution.
09-09-2003 05:47 PM
The default gateway on the hosts should point to the router's local interface address they are attached to. This shouldn't have anything to do with the tunnel (?). For instance:
host1---(e0)rtr1(to)------(t0)rtr2(e0)host2
It doesn't matter how the tunnel between rtr1 and rtr2 is set up, the default gateway on host 1 would be set to e0 on rtr1, and the default gateway on host2 would be set to e0 on rtr2.
Does that help? Or is there more in the network we don't see at this point that's confusing matters?
:-)
Russ.W
09-09-2003 02:02 PM
Hi,
You need to advertise the host via the GRE tunnel. You can run an IGP on your tunnel interfaces and advertise the host. When you do a " show ip route " to the host from Router B you need to make sure that the host is learned from the tunnel. Hope this helps.
09-09-2003 02:14 PM
I am currently running EIGRP on the routers. When I do a "show ip route" I do see the "tunnel" network advertised. I have never set up tunnel before so please forgive my ignorance with this subject.
09-09-2003 02:30 PM
Basically, if X and Y are the networks on which the hosts reside (one network at each end), then you need to advertise these networks under eigrp. Assume Z is the network on the tunnel interface.
Your config should look like
router 1 - config
router eigrp 100
network X
network Z
router 2 - config
router eigrp 100
network Y
network Z
Hope that helps.
09-09-2003 02:39 PM
The output you pointed out is how i am configured.
I believe the internal config (routers) are correct as I can ping either way. My biggest unknown is how to configure the hosts (ip..default gateway) so I can talk host to host via that tunnel.
09-09-2003 05:47 PM
The default gateway on the hosts should point to the router's local interface address they are attached to. This shouldn't have anything to do with the tunnel (?). For instance:
host1---(e0)rtr1(to)------(t0)rtr2(e0)host2
It doesn't matter how the tunnel between rtr1 and rtr2 is set up, the default gateway on host 1 would be set to e0 on rtr1, and the default gateway on host2 would be set to e0 on rtr2.
Does that help? Or is there more in the network we don't see at this point that's confusing matters?
:-)
Russ.W
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