Can a single router eth interface with multiple ips route to itself ?

Unanswered Question
May 13th, 2010
User Badges:

HI guys,


Lets say I have a router with eth0.


I have a switch pluged to it.


eth0 has 2 ip addresses assigned to it 192.168.1.1 and 172.16.1.1


clients in the switch in subnet 192.168.1.x have DG of the router IP 192.168.1.1.


someone from 192.168.1.x wants to reach another PC plugged to the switch in 172.16.1.x subnet.


is it possible for the router to route back to it's original interface?

Thanks
Dan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Reza Sharifi Thu, 05/13/2010 - 06:05
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Hi Dan,


Yes, it is call router on a stick.  You create one sub-interface for 192.168.1.0 subnet and another one for 172.16.1.0 subnet and do .1q tagging on the router interface with 2 different vlan on the switch.


have a look at this paper for more info:


https://learningnetwork.cisco.com/servlet/JiveServlet/previewBody/2935-102-1-7800/Router%20on%20a%20Stick.pdf


HTH

Reza

Actions

This Discussion