10-29-2020 11:04 AM
how can i add a sec ip add on ve interfaces but on diff subnet with primary?
Solved! Go to Solution.
10-29-2020 11:54 AM
hi Ben,
still have an issue on icx 7150-08P.... they can register to SZ100 but they are not showing any info.... but for 24 and 48 are working normally. please do you have any idea on this?
10-29-2020 11:11 AM
Hey Claude,
Yes, you can. However, this is generally not recommended as having two networks in one broadcast domain is not a best practice. If needed under a special circumstance, you would issue something similar to:
conf t
interface ve 10
ip address 192.168.10.1 255.255.255.0
*replace IP address and subnet mask as needed
EDIT: Correct usage in nested comment below
10-29-2020 11:19 AM
Hi Ben,
i did that but it is restricting to be in same network.... here is the "Error: must assign primary ip address on specified subnet first"
10-29-2020 11:27 AM
Hey Claude,
I double-checked this in the lab. I misused the 'secondary' syntax there. Apologies. The secondary syntax is for two IP addresses in the same subnet such as:
conf t
interface ve 10
ip address 192.168.10.1 255.255.255.0
ip address 192.168.10.2 255.255.255.0 secondary
In your scenario, you simply enter the second address normally. An Example:
conf t
interface ve 10
ip address 192.168.10.1 255.255.255.0
ip address 192.168.20.1 255.255.255.0
10-29-2020 11:32 AM
hi Ben,
Thanks a lot