04-15-2010 12:45 PM - edited 03-06-2019 10:38 AM
If a network is subnetted, like for example 192.168.1.0/24 is subnetted to 192.168.1.0/25 & 192.168.1.128/25, can a router on a stick configuration be used?
04-15-2010 12:49 PM
jdleon wrote:
If a network is subnetted, like for example 192.168.1.0/24 is subnetted to 192.168.1.0/25 & 192.168.1.128/25, can a router on a stick configuration be used?
Yes it can eg.
vlan 10 = 192.168.1.0/25
vlan 11 = 192.168.1.128/25
switch config
==========
int fa0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 10,11
router config
=========
int fa0/0.10
encapsulation dot1q 10
ip address 192.168.1.1 255.255.255.128
int fa0/0.11
encapsulation dot1q 11
ip address 192.168.1.129 255.255.255.128
Jon
04-15-2010 02:21 PM
I will try this config. I appreciate your help.
Thank you
04-15-2010 02:18 PM
Without VLANs you would simply apply an IP address from 192.168.1.0/25 to the router interface and a secondary IP address from 192.168.1.128/25 to the same router interface.
04-15-2010 02:22 PM
I will try this second solution also. I appreciate your help.
Thank you.
04-15-2010 02:38 PM
No problem, glad to have helped.
Just be aware if you use secondary addressing then you must have all the clients in the same vlan on the switch(es) ie. you are no longer routing between vlans.
Jon
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