cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1972
Views
0
Helpful
5
Replies

Router on a Stick Configuration

jdleon
Level 1
Level 1

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?

5 Replies 5

Jon Marshall
Hall of Fame
Hall of Fame

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

I will try this config.  I appreciate your help.

Thank you

bmbreer1000
Level 1
Level 1

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.

I will try this second solution also.  I appreciate your help.

Thank you.

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card