Here is my problem. 1 router, 3 switches.
ROUTER fa1/0 -- SWITCH1
ROUTER fa1/1 -- SWITCH2
ROUTER fa2/0 -- SWITCH3
ROUTER
| | |
| | |
| | |
| | |
| | |
SWITCH1 SWITCH2 SWITCH3
Every switch has 4 vlans configured. VLAN1, VLAN10, VLAN20 and VLAN30.
How can I configure the router to route between those VLANs?
I mean, if I use subinterfaces, I can configure interface fa1/0 ok.
interface fastethernet 1/0.1
encapsulation dot1Q 10
ip address 10.1.1.1 255.255.255.0
!
interface fastethernet 1/0.2
encapsulation dot1Q 20
ip address 20.1.1.1 255.255.255.0
!
interface fastethernet 1/0.3
encapsulation dot1Q 30
ip address 30.1.1.1 255.255.255.0
!
Then I go for interface fa1/1:
interface fastethernet 1/1.1
encapsulation dot1Q 10
ip address 10.1.1.2 255.255.255.0
% 10.1.1.0 overlaps with FastEthernet1/0.1
I thought about bridging, but is this the right way to do it?
Thank you for your help