Skip to content

[as4630-54pe] Branch:202012 Fixed issue for management port eth2 change to eth0(using udev method)#9465

Closed
ec-michael-shih wants to merge 1 commit intosonic-net:202012from
ec-michael-shih:20211208_br202012_base_as4630_54pe_repull_eth2_change_to_eth0
Closed

[as4630-54pe] Branch:202012 Fixed issue for management port eth2 change to eth0(using udev method)#9465
ec-michael-shih wants to merge 1 commit intosonic-net:202012from
ec-michael-shih:20211208_br202012_base_as4630_54pe_repull_eth2_change_to_eth0

Conversation

@ec-michael-shih
Copy link
Copy Markdown
Contributor

…ge to eth0(using udev method)

Why I did it

Our management port is using eth2, but now need to change to using eth0.

How I did it

Use the method: u-dev rules to name the management interface(eth2-->eth0)

How to verify it

After the modify, I set eth0 new ipaddress in DUT:
using "ifconfig eth0 192.168.1.12"
and ping 192.168.1.37(my PC host side) is success。

Test log:
root@sonic:# ifconfig eth0 192.168.1.12
root@sonic:#
root@sonic:~# ping 192.168.1.37 (Note: 192.168.1.37my local ipddress)
PING 192.168.1.37 (192.168.1.37) 56(84) bytes of data.
64 bytes from 192.168.1.37: icmp_seq=1 ttl=128 time=2.52 ms
64 bytes from 192.168.1.37: icmp_seq=2 ttl=128 time=1.49 ms
64 bytes from 192.168.1.37: icmp_seq=3 ttl=128 time=1.92 ms

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Using udev method to manage interface: eth2 to eth0.

A picture of a cute animal (not mandatory but encouraged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant