I have this scenario in my home lab
My cisco 2600 router has only 1 physical interface so i have divided into 3 sub interfaces
- E0/0.1 for vlan 10
- E0/0.2 FOR vlan 20
- E0/0.3 for vlan 1 which is in same subnet as my mian netgear router which is dhcp server
- The cisco switch is Layer 2 switch
- First i want to know that is this setup possible or need router two 2 interfaces
- i have setup default gateway to be 192.168.0.1 but i can't ping to it from router.
Internet on Laptop is working fine via ethernet cable and its getting valid ip from netgear router
Best Answer
Yes, it is possible.
You are doing something wrong, most likely tagging frames on the router but the trunk has VLAN 1 as native.
To confirm what your trunking settings are use:
I like to keep the subinterface IDs matching the VLAN number although it is not required. Use a configuration like:
For the router:
Obviously replace IP with your desired IP in the subnet.