Need to configure secondary ips on subinterface in cisco 2821

Answered Question
Dec 9th, 2009

currently my ISP workring on 1841 router with 33 MB Bandwidth from ISP-1,

now we need to upgrade anather 45 MB bandwith from ISP-2 (2nd), so we are purchased cisco 2821
router.


At present in 1841 router there are only 2 FastEthernet one Fa0/1 from ISP-1 (WAN) and Fa0/0 to my switch.

we have four IP pool three Class "C" and one Class "A" given bellow.

220.224.129.1/25
220.224.132.1/24
220.224.45.1/24
113.233.71.1/22

currently we are configured in 1841 on fas0/0 ip address 220.224.45.1 255.255.255.0
                                              ip address 220.224.129.1 255.255.255.192 secondary
                                              ip address 220.224.132.1 255.255.255.0 secondary
                                              ip address 113.233.71.1 255.255.255.240 secondary

now we need to move all configuration to cisco 2821

there are in cisco 2821 Three Giga port

giga0/1 from ISP-1 (WAN)
Giga0/2 From ISP-2 (WAN)
Giga0/0 to cisco 3750 port 1

now i need to make subinterface in cisco 2821 with above mention secondary Ips on giga0/0.2

I am not sure that about it should work or not

on cisco 2821 int giga0/0
               no ip address

               int giga0/0.1
               encapsulation dont1q 1 native
               ip address 113.233.71.17 255.255.255.252

               int giga0/0.2
               encapsulation dont1q 2
               ip addess 113.233.71.1 255.255.255.240
               ip addess 220.224.45.1 255.255.255.0 secondary
               ip address 220.224.129.1 255.255.255.192 secondary
               ip address 220.224.132.1 255.255.255.o secondary

can it is work when i create secondary ip on sub iterface ?

my 3750 switch port 1 is trunk connect with router giga0/0 and port 2, 3, 4 connect with my two billing authenticaion server
ip address 220.224.129.6 255.255.255.192 server 1, and 220.224.132.7 255.255.255.0 server 2 and i need to  configure port 2,3,4 access vlan 2. in cisco 3750 switch

please suggest me it is possible i am not sure if not possible so then how can i configure it.

Thanks in ADV,

Vaib...
,

I have this problem too.
0 votes
Correct Answer by Giuseppe Larosa about 7 years 1 day ago

Hello Vaibhav,

>> can it is work when i create secondary ip on sub iterface ?

yes this can be done but I would see it as a temporary fix during a migration I would recommend to deploy one vlan per ip subnet if possible.

Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Thu, 12/10/2009 - 00:37

Hello Vaibhav,

>> can it is work when i create secondary ip on sub iterface ?

yes this can be done but I would see it as a temporary fix during a migration I would recommend to deploy one vlan per ip subnet if possible.

Hope to help

Giuseppe

csawest.dc Thu, 12/10/2009 - 01:05

Dear Sir,

Thank you very much.

accourding to you per subnet i have to config per vlan as given bellow.

int giga0/0

no ip address

no shut

               int giga0/0.1
               encapsulation dont1q 1 native
               ip address 113.233.71.17 255.255.255.252

               int giga0/0.2

               encapsulation dot1q 2

               ip  address ip addess 113.233.71.1 255.255.255.240

              no shut

         

               int giga0/0.3

              encapsulation dot1q 3

              ip address ip addess 220.224.45.1 255.255.255.0

              no shut

          

              int giga0/0.4

              encapsulation dot1q 4

              ip address  ip address 220.224.129.1 255.255.255.192

             no shut

        

             int giga0/0.5

             encapsulation dot1q 5

            ip address  ip address 220.224.132.1 255.255.255.0

            no shut

from router giga0/0 port connected with cisco 3750 switch port 1 and port 1 is trunk ok

switch port 2 in cisco 3750 connect with billing authenticaion server 1 ip address 220.224.129.6 255.255.255.192

switch port 3 in cisoc 3750 connect with billing authentication server 2 ip address 220.224.132.7 255.255.255.0

switch port 4 in cisco 3750 connect with web and mail server ip address 220.224.129.4 255.255.255.192

                                                                                         ip address 220.224.129.5 255.255.255.192

all the users on both billing authenticaion server need to access web and mail server.

i need to communicat all ip pools visa-versa so how can i confiure in cisco 3750 inter Vlan routing ??

Pl guide me.

Thanks in ADV,

Vaib...

vinodsharma7 Thu, 12/10/2009 - 01:20

i need to communicat all ip pools visa-versa so how can i confiure in cisco 3750 inter Vlan routing ??

You can create svi interface in 3750 and assign ip address to them and 3750 will take care of intervlan routing.

Thanks

Vinod

csawest.dc Thu, 12/10/2009 - 04:15

Dear  Vinod,

Thanks for your help,

but sir i dont understand what you are saing, how can i create svi interface in 3750 and assign ip address to them ??

I request you to Please explain me.

Thanks in ADV,

Vaib...

Giuseppe Larosa Fri, 12/11/2009 - 00:15

Hello Vaibhav,

first of all if they don't exist in vlan database you need to create the L2 vlan objects.

example:

conf t

vlan 2

name sales

exit

after you have created the L2 broadcast domain  vlan 2 you need to associate it with access ports and/or L2 trunk ports.

then you can create the L3 object SVI

int Vlan2

desc SVI for broadcast domain vlan2

ip address 10.10.20.1 255.255.255.0

no shut

Hope to help

Giuseppe

Actions

This Discussion