Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Router on a Stick Configuration

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?

Everyone's tags (1)
5 REPLIES
Hall of Fame Super Blue

Re: Router on a Stick Configuration

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

Community Member

Re: Router on a Stick Configuration

I will try this config.  I appreciate your help.

Thank you

Community Member

Re: Router on a Stick Configuration

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.

Community Member

Re: Router on a Stick Configuration

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

Thank you.

Hall of Fame Super Blue

Re: Router on a Stick Configuration

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

1432
Views
0
Helpful
5
Replies
CreatePlease to create content