03-07-2018 05:12 PM - edited 03-08-2019 02:10 PM
Hello,
I'm setting up a simple homelab as I learn CCNA using a 3560G-48P. I have setup a vlan 20 and put 16 ports on it. The host is my PS4 since its easy to see network info. I setup a dhcp pool of 10.0.5.0 /24 and assigned it to vlan 20. on the switch I can ping 10.0.5.2 (the ip assigned to the PS4) with all packets. However, on the PS4 it is not able to access the internet through the router at 192.168.1.1. I setup RIPv2 and still no luck.
To further test I put in another 3560 switch on the network and trunked it to the main switch. I setup ripv2 and ran show ip route but 10.0.5.0/24 didn't show up. I tried pinging 10.0.5.2 from here and it didn't go through.
Could I be missing something simple here?
03-07-2018 10:10 PM
What is your setup?
1)Router>SW>ps4?
or do you have
2)ISP_ROUTER>Cisco_router>SW>ps4?
if you have option 2 are you able to ping a public dns like 8.8.8.8?
does your SW have a default gateway assigned?
post a runn config from both Router and Switch
03-08-2018 07:38 AM
It's
ISP Router (NVG468MQ) -> Cisco 3560G -> PS4
ISP Router (NVG468MQ) -> Cisco 3560G -> Cisco 3560G
So, after messing with this I got it working and connected to the internet in the 10.0.2.0 subnet. Afterwards I took out each thing I tried and if it didn't break the connection I left it out. If it did break the connection I put it back in.
I found the following:
-in the IP DHCP Pool I needed to have the:
DNS-SERVER 192.168.1.1
DEFAULT ROUTER 10.0.2.1
-On the ISP routers I setup a static route for 10.0.0.0/8 to 192.168.1.2 (IP of 3560G).
So now my question is why the RIPv2 isn't updating the Router AND the Lab3560G I have connected. I was hoping I wouldn't have to setup a static route if I setup RIPv2.
Pictures of the NVG468MQ ISP Router
3560G Core Config:
version 15.0 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption service sequence-numbers ! hostname 3560-CORE ! boot-start-marker boot-end-marker ! ! logging userinfo logging buffered warnings enable secret 5 enable password 7 ! no aaa new-model clock timezone CST -6 0 clock summer-time CDT recurring system mtu routing 1500 ip routing ip domain-name ex ! ! ip dhcp pool HomeAuto import all network 10.0.5.0 255.255.255.0 default-router 10.0.5.1 dns-server 192.168.1.1 ! ip dhcp pool Data import all network 10.0.2.0 255.255.255.0 default-router 10.0.2.1 dns-server 192.168.1.1 ! ! ip device tracking ! ! crypto pki trustpoint TP-self-signed-1897608192 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-1897608192 revocation-check none rsakeypair TP-self-signed-1897608192 ! ! crypto pki certificate chain TP-self-signed-1897608192 certificate self-signed 01 nvram:IOS-Self-Sig#1.cer ! ! ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending lldp run ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface GigabitEthernet0/1 switchport mode dynamic desirable ! interface GigabitEthernet0/2 switchport mode dynamic desirable ! interface GigabitEthernet0/3 switchport mode dynamic desirable ! interface GigabitEthernet0/4 ! interface GigabitEthernet0/5 ! interface GigabitEthernet0/6 ! interface GigabitEthernet0/7 shutdown ! interface GigabitEthernet0/8 shutdown ! interface GigabitEthernet0/9 shutdown ! interface GigabitEthernet0/10 shutdown ! interface GigabitEthernet0/11 shutdown ! interface GigabitEthernet0/12 shutdown ! interface GigabitEthernet0/13 shutdown ! interface GigabitEthernet0/14 shutdown ! interface GigabitEthernet0/15 shutdown ! interface GigabitEthernet0/16 shutdown ! interface GigabitEthernet0/17 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/18 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/19 switchport mode access shutdown ! interface GigabitEthernet0/20 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/21 switchport mode access shutdown ! interface GigabitEthernet0/22 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/23 switchport mode access shutdown ! interface GigabitEthernet0/24 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/25 switchport mode access shutdown ! interface GigabitEthernet0/26 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/27 switchport mode access shutdown ! interface GigabitEthernet0/28 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/29 switchport mode access shutdown ! interface GigabitEthernet0/30 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/31 switchport mode access shutdown ! interface GigabitEthernet0/32 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/33 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/34 switchport access vlan 20 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/35 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/36 switchport access vlan 20 switchport mode access ! interface GigabitEthernet0/37 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/38 switchport access vlan 20 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/39 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/40 switchport access vlan 20 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/41 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/42 switchport access vlan 20 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/43 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/44 switchport access vlan 20 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/45 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/46 switchport access vlan 20 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/47 switchport access vlan 20 switchport mode access shutdown ! interface GigabitEthernet0/48 switchport mode access switchport port-security mac-address sticky switchport port-security ! interface GigabitEthernet0/49 shutdown ! interface GigabitEthernet0/50 shutdown ! interface GigabitEthernet0/51 shutdown ! interface GigabitEthernet0/52 switchport access vlan 5 shutdown ! interface Vlan1 ip address dhcp ip rip send version 2 ip rip receive version 2 ! interface Vlan2 no ip address ! interface Vlan5 no ip address ! interface Vlan10 ip address pool HomeAuto ! interface Vlan20 ip address pool Data ip rip send version 2 ip rip receive version 2 ! router rip version 2 network 10.0.0.0 network 192.168.1.0 no auto-summary ! ip http server ip http secure-server ! ! ! ! tftp-server flash: ! line con 0 line vty 0 4 line vty 5 15 ! ntp master ntp server 132.163.97.1 ntp server 132.163.96.1 prefer ntp server 129.6.15.28 end
03-07-2018 10:26 PM - edited 03-07-2018 10:27 PM
Hi,
Check the default route on your router and configure the RIP with a command "ip default-network" to generate the default route information.
If the default route is correctly configured then check your NAT configuration.
Regards,
Deepak Kumar
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