12-02-2017 07:40 PM - edited 03-08-2019 12:58 PM
Hi! I'm doing a simple network of 1 router, 3 switches, 3 servers and 3 hosts. The router assigns dynamics IP's to the hosts through OSPF and inside the swtiches I have two VLAN's defined (40 and 50), the vlan 40 which corresponds to the switch 0 and hosts PC1 and Smartphone can connect via ping to the servers or to the router, contrary to that the vlan 50 cant ping to any other host or server, I wanted to know what am I doing wrong.
Right now, I can see that the message doesn't even "get" to the router and I don't know why because it has the smae configuration as the other swtich.
Thanks for the help in advance!
The files uploaded are the config files of the router the Swtich0 (Vlan40) and the Swtich1 (Vlan50) which is the one failing, I have also uploaded an image of the network.
Solved! Go to Solution.
12-03-2017 02:54 AM
Hello
You have defined on the rtr the correct sub-interfaces for vlans 40-50, however your dhcp scope doesn't related to either of vlan 40 or 50.
This shouldn't stop connectivity it will only negate hosts from obtaining dhcp correctly if not at all - so you would have to manually apply the correct addressing for each host to communicate with each other.
I see trunks on each switch, I am assuming theses are for switch-to switch connectivity and also for switch 0 to rtr connectivity?
Your dhcp scope should be
Vlan 40
ip dhcp pool netB
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
Vlan 50
ip dhcp pool netA
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1
or
interface GigabitEthernet0/1.50
encapsulation dot1Q 50
ip address 10.0.0.1 255.0.0.0
res
Paul
12-02-2017 07:56 PM
Hi,
Can you post the config for switches (sh run) and the router?
What is the output of "sh vlan summ" from the switches?
HTH
12-02-2017 08:10 PM
12-03-2017 02:54 AM
Hello
You have defined on the rtr the correct sub-interfaces for vlans 40-50, however your dhcp scope doesn't related to either of vlan 40 or 50.
This shouldn't stop connectivity it will only negate hosts from obtaining dhcp correctly if not at all - so you would have to manually apply the correct addressing for each host to communicate with each other.
I see trunks on each switch, I am assuming theses are for switch-to switch connectivity and also for switch 0 to rtr connectivity?
Your dhcp scope should be
Vlan 40
ip dhcp pool netB
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
Vlan 50
ip dhcp pool netA
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1
or
interface GigabitEthernet0/1.50
encapsulation dot1Q 50
ip address 10.0.0.1 255.0.0.0
res
Paul
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