Two IP in one fa0/0

Answered Question
Jan 21st, 2009
User Badges:

Hi all,


I have some problem in use 2620+2950

2620 have one eth port , but i need to routing between two eth,


How can I use one eth port linkup to SW2950 and set routing between two eth ,


EG: LAN A 192.168.1.1 , LAN B 172.16.1.1


Many thanks

Correct Answer by Richard Burts about 8 years 6 months ago

Andy


On the 2950 switch configure two VLANs. Assign a port to one of the VLANs for the 192.168.1 network and assign another port to the other VLAN for the 172.16.1 network. Then configure a third port on the switch as a trunk port and connect it to the router. Configure the FastEthernet interface on the router for trunking. Configure one subinterface to process the VLAN for the 192.168.1 network and configure another subinterface to process the VLAN for the 172.16.1 network.


HTH


Rick

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Roberto Salazar Wed, 01/21/2009 - 10:37
User Badges:
  • Gold, 750 points or more

You can do the following on the 2620:

interface fa 0.B = please note B is just a place holder for whatever number you want to put in:

encap dot1q B

ip address 172.16.1.1

interface fa 0.A

encap dot1q A

ip address 192.168.1.1


Connect the 2950 to fa0, and configure trunking on the interface on 2950 that connects to 2620. Assign the appropriate vlans to the host ports.



Tshi M Wed, 01/21/2009 - 10:37
User Badges:
  • Silver, 250 points or more

I am not sure if this is what you are asking but:


ip address x.x.x.x secondary


?


Correct Answer
Richard Burts Wed, 01/21/2009 - 10:40
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Andy


On the 2950 switch configure two VLANs. Assign a port to one of the VLANs for the 192.168.1 network and assign another port to the other VLAN for the 172.16.1 network. Then configure a third port on the switch as a trunk port and connect it to the router. Configure the FastEthernet interface on the router for trunking. Configure one subinterface to process the VLAN for the 192.168.1 network and configure another subinterface to process the VLAN for the 172.16.1 network.


HTH


Rick

spaandynky Fri, 01/30/2009 - 14:24
User Badges:

Rick


As checked, my 2620 Version 12.1(5)T8 , how to set VLANs,

I can't use "encapsulation dot1q" command.


-.-

Richard Burts Fri, 01/30/2009 - 15:17
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Andy


I suspect that it is an issue with the feature set of the code that you are running. I checked the feature navigator on CCO and it shows that dot1q VLAN encapsulation is supported for 2620 in 12.1(5)T8 with the PLUS feature set but is not supported with the IP feature set.


It looks like that with the code that you are running you will not be able to implement this. Is it feasible to consider an upgrade to the code?


HTH


Rick

spaandynky Sat, 01/31/2009 - 00:06
User Badges:

Rick,


How can i do in next step,how to upgrade?


Thanks,

Andy

Richard Burts Sun, 02/01/2009 - 14:40
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


Andy


To change from one feature set to another feature set requires purchase of a license for the code upgrade. If you purchase the feature set license then you should be able to get a copy of the code that does support this.


HTH


Rick

Actions

This Discussion