02-03-2017 08:09 AM - edited 03-08-2019 09:10 AM
Hi All,
I am trying to set up router with couple vlans but it does not seem to be willing route between them.
the goal is to go from 10.0.2.0 network on to WAN interface xxx.xxx.xxx.76,could some one advise what am i doing wrong?
Current configuration : 2096 bytes
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname VRN-SRRTR01
!
boot-start-marker
boot-end-marker
!
!
enable secret
!
no aaa new-model
memory-size iomem 10
!
!
!
!
!
ip dhcp excluded-address 10.0.2.0 10.0.2.100
ip dhcp excluded-address 10.0.2.240 10.0.2.254
!
ip dhcp pool LABPool1
import all
network 10.0.2.0 255.255.255.0
default-router 10.0.2.254
dns-server 8.8.8.8
domain-name test.co.uk
!
!
!
ip domain name test.co.uk
ip name-server 8.8.8.8
ip cef
no ipv6 cef
!
!
!
!
username xxxxx secret
!
!
!
!
controller VDSL 0
!
!
!
!
interface Ethernet0
no ip address
shutdown
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface FastEthernet0
switchport access vlan 101
no ip address
!
interface FastEthernet1
switchport access vlan 111
no ip address
!
interface FastEthernet2
no ip address
shutdown
!
interface FastEthernet3
switchport trunk native vlan 111
switchport trunk allowed vlan 1,10,101,111,1002-1005
switchport mode trunk
no ip address
!
interface Vlan1
no ip address
shutdown
!
interface Vlan101
ip address XXX.XXX.XXX.76 255.255.255.248
!
interface Vlan111
ip address 10.0.2.254 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.73
ip route 172.0.0.0 255.0.0.0 10.0.2.250
!
!
!
!
line con 0
session-timeout 10
login local
line aux 0
session-timeout 10
login local
line vty 0 4
session-timeout 10
login local
transport input all
!
!
end
VRN-SRRTR01#ping 8.8.8.8 source 10.0.2.254
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 10.0.2.254
.....
Success rate is 0 percent (0/5)
VRN-SRRTR01#ping 8.8.8.8 source XXX.XXX.XXX.76
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of XXX.XXX.XXX.76
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/10/12 ms
VRN-SRRTR01#
Many thanks in advance!
Nikolai
Solved! Go to Solution.
02-03-2017 08:23 AM
Is this a lab setup? Does the x.x.x.73 device have a route back to 10.0.2.0? If simulating a connection to an ISP you would normally NAT this traffic so that 10.0.2.0 traffic going out the WAN interface gets translated to the public IP x.x.x.76.
Brandon
02-04-2017 04:36 AM
Yes your missing NAT agree with that
800 series are routers , with switch modules
02-03-2017 08:23 AM
Is this a lab setup? Does the x.x.x.73 device have a route back to 10.0.2.0? If simulating a connection to an ISP you would normally NAT this traffic so that 10.0.2.0 traffic going out the WAN interface gets translated to the public IP x.x.x.76.
Brandon
02-03-2017 11:09 AM
Is this a router or a Layer 3 Switch?
02-04-2017 04:36 AM
Yes your missing NAT agree with that
800 series are routers , with switch modules
02-06-2017 07:12 AM
Thanks
02-06-2017 07:11 AM
Thanks for your reply Brandon, it is lab setup but i have no control over .73 device as it is ISP owned
I will give it a go!
Kind regards
Nikolai
02-06-2017 09:01 AM
Worked like a charm, thanks Brandon!
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