
!
!
!
!
!
!
!
!
interface Tunnel0
!−−− Tunnel interface 0
ip address 192.168.20.2 255.255.255.0
!−−− IP address of the gre tunnel interface 0
tunnel source Ethernet0
!−−− IP source of the tunnel. It is best to make this an
!−−− interface with a public, routable IP address so that
!−−− it is reachable from the other endpoint of the tunnel.
tunnel destination 9.9.9.9
!−−− IP destination of the tunnel. Make sure this is
!−−− reachable via the ping command
!−−− Otherwise, the tunnel will not be created properly.
!
interface Ethernet0
ip address 11.11.11.11 255.255.255.0
ip rip send version 2
!−−− Send RIP version 2 packets.
ip rip receive version 2
!−−− Receive RIP version 2 packets.
!
no ip route−cache
no ip mroute−cache
!
interface cable−modem0
ip rip send version 2
!−−− Send RIP version 2 packets.
ip rip receive version 2
!−−− Receive RIP version 2 packets.
no ip route−cache
no ip mroute−cache
no cable−modem compliant bridge
!
router rip
version 2
passive−interface Tunnel0
!−−− This command is used to avoid recursive routing.
Kommentare zu diesen Handbüchern