05-19-2011 01:11 AM - edited 03-06-2019 05:08 PM
Here is my Cisco in LAN, how to set up routing from F0/1 to F0/0 ?
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cisco3745
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 172.64.192.0 172.64.192.10
!
!
ip dhcp pool home
network 172.64.192.0 255.255.255.0
default-router 172.64.192.1
dns-server 192.168.10.35 8.8.8.8
!
!
no ip domain lookup
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
vpdn enable
!
vpdn-group 1
! Default PPTP VPDN group
accept-dialin
protocol pptp
virtual-template 1
l2tp tunnel receive-window 1024
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username vpnuser password 0 vpnuser
archive
log config
hidekeys
!
!
!
!
!
track 10 rtr 1 reachability
!
!
!
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.64.192.1 255.255.255.0
ip policy route-map PBR
duplex auto
speed auto
!
interface Virtual-Template1
ip address 10.10.10.2 255.255.255.0
no peer default ip address
ppp authentication chap
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
!
no ip http server
no ip http secure-server
!
ip access-list extended ACL-PBR
permit ip 172.64.192.0 0.0.0.255 93.158.128.0 0.0.63.255
!
ip sla 1
icmp-echo 10.10.10.1 source-ip 10.10.10.2
timeout 2000
threshold 2
frequency 5
ip sla schedule 1 life forever start-time now
!
!
!
route-map PBR permit 10
match ip address 1 ACL-PBR
set ip next-hop verify-availability 10.10.10.1 10 track 10
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
end
Solved! Go to Solution.
05-19-2011 01:42 AM
Hi,
You've got nothing special to do to enable routing between 2 directly connected interfaces.
show ip route should show you the 2 C routes and if you see nothing then ip routing is disabled, reenable with global config command ip routing.
Regards.
Alain.
05-19-2011 01:42 AM
Hi,
You've got nothing special to do to enable routing between 2 directly connected interfaces.
show ip route should show you the 2 C routes and if you see nothing then ip routing is disabled, reenable with global config command ip routing.
Regards.
Alain.
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