You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Able to config multiple ip's on single interface,please find the log below
sonic(config)# interface Ethernet 122
sonic(conf-if-Ethernet122)# do show interface Ethernet 122
Ethernet122 is up, line protocol is up
Hardware is Eth
Interface index is 30
Mode of IPV4 address assignment: not-set
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed 10GB, Auto-negotiation off
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
Output statistics:
136 packets, 31688 octets
136 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic(conf-if-Ethernet122)# ip address 10.0.0.1/24
Success
sonic(conf-if-Ethernet122)# ip address 11.1.1.2/24
Success
sonic(conf-if-Ethernet122)# ip address 192.168.1.2/24
%Error: IP 192.168.1.2/24 overlaps with IP 192.168.1.4/24 of Interface Ethernet121
sonic(conf-if-Ethernet122)# do show interface Ethernet 122
Ethernet122 is up, line protocol is up
Hardware is Eth
Interface index is 30
IPV4 address is 10.0.0.1/24,11.1.1.2/24
Mode of IPV4 address assignment: MANUAL
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed 10GB, Auto-negotiation off
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
Output statistics:
138 packets, 32154 octets
138 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic(conf-if-Ethernet122)# ip address 12.16.1.2/24
Success
sonic(conf-if-Ethernet122)# ip address 191.16.1.2/24
Success
sonic(conf-if-Ethernet122)# do show interface Ethernet 122
Ethernet122 is up, line protocol is up
Hardware is Eth
Interface index is 30
IPV4 address is 10.0.0.1/24,11.1.1.2/24,12.16.1.2/24,191.16.1.2/24
Mode of IPV4 address assignment: MANUAL
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed 10GB, Auto-negotiation off
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
Output statistics:
139 packets, 32387 octets
139 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic(conf-if-Ethernet122)#
The text was updated successfully, but these errors were encountered:
Able to config multiple ip's on single interface,please find the log below
sonic(config)# interface Ethernet 122
sonic(conf-if-Ethernet122)# do show interface Ethernet 122
Ethernet122 is up, line protocol is up
Hardware is Eth
Interface index is 30
Mode of IPV4 address assignment: not-set
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed 10GB, Auto-negotiation off
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
Output statistics:
136 packets, 31688 octets
136 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic(conf-if-Ethernet122)# ip address 10.0.0.1/24
Success
sonic(conf-if-Ethernet122)# ip address 11.1.1.2/24
Success
sonic(conf-if-Ethernet122)# ip address 192.168.1.2/24
%Error: IP 192.168.1.2/24 overlaps with IP 192.168.1.4/24 of Interface Ethernet121
sonic(conf-if-Ethernet122)# do show interface Ethernet 122
Ethernet122 is up, line protocol is up
Hardware is Eth
Interface index is 30
IPV4 address is 10.0.0.1/24,11.1.1.2/24
Mode of IPV4 address assignment: MANUAL
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed 10GB, Auto-negotiation off
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
Output statistics:
138 packets, 32154 octets
138 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic(conf-if-Ethernet122)# ip address 12.16.1.2/24
Success
sonic(conf-if-Ethernet122)# ip address 191.16.1.2/24
Success
sonic(conf-if-Ethernet122)# do show interface Ethernet 122
Ethernet122 is up, line protocol is up
Hardware is Eth
Interface index is 30
IPV4 address is 10.0.0.1/24,11.1.1.2/24,12.16.1.2/24,191.16.1.2/24
Mode of IPV4 address assignment: MANUAL
Mode of IPV6 address assignment: not-set
IP MTU 9100 bytes
LineSpeed 10GB, Auto-negotiation off
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
Output statistics:
139 packets, 32387 octets
139 Multicasts, 0 Broadcasts, 0 Unicasts
0 error, 0 discarded
sonic(conf-if-Ethernet122)#
The text was updated successfully, but these errors were encountered: