cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
466
Views
0
Helpful
4
Replies

Help understand Vlan's config Batter.

alexten1983
Level 1
Level 1

Hello every one I have a asus router and a cisco L3 Switch. The lan side of the router is set to 192.168.1.1 and vlan10 on the L3 switch is set to 192.168.1.2 and a dhcp of 192.168.1.0 and a default gateway is 192.168.1.2 is set on l3 switch. I have a vlan20 as well of ip 10.1.10.1 on the lan side and I manuly set the ip of clints to 10.1.10.2-255 and default gate way of 10.1.10.1 im able to ping from vlan 10 anything and able to get online but on the vlan20 im able to ping everything but the router and not able to get online. Here is the config of the l3. 

How can I get all the vlan's to online and keep the router ip address? 

Router is connected on interface GigabitEthernet0/1.

version 15.0
service nagle
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
service password-encryption
service linenumber
service internal
!
hostname AlexHomeSwitch
!
boot-start-marker
boot-end-marker
!
!
logging buffered 256000
enable secret 5 $1$NqIH$QKOkmMhBYw.WOOgcH/
!
 password 7 11251C1119102017B257479
aaa new-model
!
!
!
!
!
!
!
!
aaa session-id common
clock timezone Eastern -5 0
clock summer-time DST recurring
system mtu routing 1500
vtp mode transparent
udld aggressive

ip routing
no ip domain-lookup
!
ip dhcp excluded-address 192.168.1.1 192.168.1.30
!
ip dhcp pool vlan10
network 192.168.1.0 255.255.255.0
default-router 192.168.1.2
dns-server 192.168.1.1 8.8.8.8 8.8.4.4
lease 6
!
!
!
mls qos map cos-dscp 0 8 16 24 32 46 48 56
mls qos srr-queue input bandwidth 70 30
mls qos srr-queue input threshold 1 80 90
mls qos srr-queue input priority-queue 2 bandwidth 30
mls qos srr-queue input cos-map queue 1 threshold 2 3
mls qos srr-queue input cos-map queue 1 threshold 3 6 7
mls qos srr-queue input cos-map queue 2 threshold 1 4
mls qos srr-queue input dscp-map queue 1 threshold 2 24
mls qos srr-queue input dscp-map queue 1 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue input dscp-map queue 1 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 32 33 40 41 42 43 44 45
mls qos srr-queue input dscp-map queue 2 threshold 3 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 4 5
mls qos srr-queue output cos-map queue 2 threshold 1 2
mls qos srr-queue output cos-map queue 2 threshold 2 3
mls qos srr-queue output cos-map queue 2 threshold 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 0
mls qos srr-queue output cos-map queue 4 threshold 3 1
mls qos srr-queue output dscp-map queue 1 threshold 3 32 33 40 41 42 43 44 45
mls qos srr-queue output dscp-map queue 1 threshold 3 46 47
mls qos srr-queue output dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 2 threshold 1 26 27 28 29 30 31 34 35
mls qos srr-queue output dscp-map queue 2 threshold 1 36 37 38 39
mls qos srr-queue output dscp-map queue 2 threshold 2 24
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 11 13 15
mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
mls qos queue-set output 1 threshold 1 100 100 50 200
mls qos queue-set output 1 threshold 2 125 125 100 400
mls qos queue-set output 1 threshold 3 100 100 100 400
mls qos queue-set output 1 threshold 4 60 150 50 200
mls qos queue-set output 1 buffers 15 25 40 20
mls qos
!
crypto pki trustpoint TP-self-signed-2705144320
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2705144320
revocation-check none
rsakeypair TP-self-signed-2705144320
!
!
crypto pki certificate chain TP-self-signed-2705144320
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32373035 31343433 3230301E 170D3933 30333031 30303031
35355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 37303531
34343332 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100BE0E 454F5E0D 7A9EDD80 25A6AABD F975D2C4 B3B3EF56 943E3EE7 3F0A54D6
4A3DA47B 900C7C8E B93442E1 E58DFD02 7594A74F 23BAB3BD F5D11203 4F6F89B6
76A9B614 877D8625 E8601D04 7F2EF640 8B3B63FB 571E93C5 C18B95E4 2EB83592
CE841FB3 5201305F 6A487DD7 0B70D67C 662E6C51 0A33FC1E D0A4C9EB 630C650C
313F0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 1432970E DB68AEFC DF27C98C AA9C0A62 79F2AB74 10301D06
03551D0E 04160414 32970EDB 68AEFCDF 27C98CAA 9C0A6279 F2AB7410 300D0609
2A864886 F70D0101 05050003 81810023 5402BA0B F53A6374 A04C829E 0C572A86
3439AD52 D9CE052C 631E8A78 8E677C1C 101F9F28 E08D9A91 31077CF9 30C18D90
2B143881 A44B7192 9F322AF2 C9EC0CC8 AB26E43D 82FA6EAC 608D402F DF85B917
45ECF248 02448BB1 DB2C3E2B 6D01EB5D F12AE8A1 B45BEC8A C49716A5 8CDED005
97079357 E523E016 77E96F9C 7F698E
quit
!
!
!
!
!
errdisable recovery cause link-flap
errdisable recovery interval 60
!
spanning-tree mode rapid-pvst
spanning-tree loopguard default
spanning-tree portfast default
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 10
name 192Net
!
vlan 20
name 10Net
!
vlan 100
name VOIP
!
!
!
!
!
!
!
!
!
!
!
!
!
!
macro global description cisco-global
!
interface GigabitEthernet0/1
switchport access vlan 10
!
interface GigabitEthernet0/2
switchport access vlan 10
!
interface GigabitEthernet0/3
description No POE
switchport access vlan 10
power inline never
spanning-tree portfast
!
interface GigabitEthernet0/4
switchport access vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/5
switchport access vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/6
switchport access vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/7
description No POE
switchport access vlan 10
power inline never
spanning-tree portfast
!
interface GigabitEthernet0/8
switchport access vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/9
switchport access vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/10
switchport access vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/11
description No POE
switchport access vlan 10
power inline never
spanning-tree portfast
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
description No POE
power inline never
!
interface GigabitEthernet0/16
!
interface GigabitEthernet0/17
!
interface GigabitEthernet0/18
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
!
interface GigabitEthernet0/24
switchport access vlan 20
spanning-tree portfast
!
interface GigabitEthernet0/25
shutdown
!
interface GigabitEthernet0/26
shutdown
!
interface GigabitEthernet0/27
shutdown
!
interface GigabitEthernet0/28
shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.1.2 255.255.255.0
!
interface Vlan20
ip address 10.1.10.1 255.255.255.0
!
interface Vlan100
ip address 192.168.10.2 255.255.255.0
!
ip default-gateway 192.168.1.1
ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1 name INTERNET
!
!
!
!
!
!
banner motd ^CCC


NOTICE: This is a private network device. If you are not authorized
to connect or configure this device, disconnect at once! Actual
or attempted use, access, examination, or configuration change by
an unauthorized person will result in criminal and civil
prosecution to the full extent of the law.


^C
!
line con 0
exec-timeout 0 0
password 7 022A014F0509002F491F074954
logging synchronous
stopbits 1
line vty 0 4
exec-timeout 30 0
password 7 062A0A354241061700461C5B5D
logging synchronous
length 0
transport input all
line vty 5 15
logging synchronous
transport input all
!
ntp server 208.78.120.150
end

1 Accepted Solution

Accepted Solutions

Dennis Mink
VIP Alumni
VIP Alumni

from within your vlan 20, can you ping the 192.168.1.1 of the asus router?

I am guessing not, which means your asus router does not have static routes to route back to 10.1.10.0

so add a static router on the asus router for 10.1.10.0/24 pointing to 192.168.1.2

remember: routing always needs to work in 2 directions!

please rate if useful

Please remember to rate useful posts, by clicking on the stars below.

View solution in original post

4 Replies 4

Dennis Mink
VIP Alumni
VIP Alumni

from within your vlan 20, can you ping the 192.168.1.1 of the asus router?

I am guessing not, which means your asus router does not have static routes to route back to 10.1.10.0

so add a static router on the asus router for 10.1.10.0/24 pointing to 192.168.1.2

remember: routing always needs to work in 2 directions!

please rate if useful

Please remember to rate useful posts, by clicking on the stars below.

Thank You very much! 

so all is working now?

Please remember to rate useful posts, by clicking on the stars below.

Yeah your the man! Thank You!

Review Cisco Networking products for a $25 gift card