06-06-2016 03:49 AM - edited 03-08-2019 06:05 AM
Hi,
Consider the picture Attached
I want to make Inter VLAN between to switches using a Router.
when trying to use subinterfaces using this CLI command:
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 10.0.0.1 255.0.0.0
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 10.0.0.20 255.0.0.0
But when I give IP Address for fa0/0.2 it is showing "10.0.0.0 is overlapping with interface fa0/0.1"
Can't I give same network for different Subinterfaces???
and How can I configure InterVALN for this Design?
Thanks in Advance
06-06-2016 06:31 AM
Hi,
That is the correct behavior. You can't use the same subnet for 2 different sub-interfaces.
Each sub-interfaces needs to be in its own subnet,
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 10.0.0.1 255.255.255.0
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 10.0.1.20 255.255.255.0
HTH
06-08-2016 09:44 PM
Hi,
Thanks for the reply,
But still it didn't worked showing same error '10.0.0.0 is overlapping with interface fa0/0.1'
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