cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1416
Views
20
Helpful
5
Replies

assign 2 ip address of same network on same router interface for configuring vlan

teslykuriakose
Level 1
Level 1

hi, 

I wanted to assign 2 ip address of same network on same router interface.

i am able to assign 2 ip address of different network in same router interface. But i want to try it with same network

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

it is not possible until you subnet them into 2 networks?

why do you need 2 IP address the same range? if they going to the same network segment?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

it is not possible until you subnet them into 2 networks?

why do you need 2 IP address the same range? if they going to the same network segment?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Thanks for answer. actually i did like that because that two ip address is going to different vlans.

 

I thought that in order to assign vlan we don't need to subnet..

when i searched on internet i found that we dont need to subnet an ip address for creating vlans. thats why i asked

 

the only option as per requirement is a secondary IP address.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Jon Marshall
Hall of Fame
Hall of Fame

 

ip address 192.168.3.1 255.255.255.0 

ip address 192.168.3.2 255.255.255.0 secondary 

 

Jon

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Have you tried using the secondary command?

!
int vlan 10
  ip address 192.168.1.1 255.255.255.0
  ip address 192.168.1.2 255.255.255.0 secondary
!

....or configure a FHRP like HSRP with just one active router:

!
int vlan 10
  ip address 192.168.0.1 255.255.255.0
  standby 1 ip 192.168.0.2
!

cheers,

Seb.