Skip to content

[ifconfig] Wrong networking interface information issue. #4355

@wosayttn

Description

@wosayttn

Hi,

I use ifconfig command to list dual-ethernet interfaces as below, but dump information is incorrect.

msh />ifconfig
network interface device: e0 (Default)
MTU: 1500
MAC: 82 06 21 53 94 53
FLAGS: UP LINK_UP INTERNET_DOWN DHCP_ENABLE ETHARP BROADCAST IGMP
ip address: 192.168.1.199
gw address: 192.168.1.1
net mask : 255.255.255.0
dns server #0: 192.168.31.1
dns server #1: 10.1.8.12

network interface device: e1
MTU: 1500
MAC: 82 06 21 53 94 54
FLAGS: DOWN LINK_DOWN INTERNET_DOWN DHCP_ENABLE
ip address: 0.0.0.0
gw address: 0.0.0.0
net mask : 0.0.0.0
dns server #0: 0.0.0.0
dns server #1: 0.0.0.0
msh />
msh />ping 192.168.31.1
dhcp_arp_reply()
60 bytes from 192.168.31.1 icmp_seq=0 ttl=64 time=1 ms
60 bytes from 192.168.31.1 icmp_seq=1 ttl=64 time=0 ms
60 bytes from 192.168.31.1 icmp_seq=2 ttl=64 time=0 ms
60 bytes from 192.168.31.1 icmp_seq=3 ttl=64 time=0 ms
msh />
msh />ping 192.168.1.1
60 bytes from 192.168.1.1 icmp_seq=0 ttl=64 time=1 ms
60 bytes from 192.168.1.1 icmp_seq=1 ttl=64 time=0 ms
60 bytes from 192.168.1.1 icmp_seq=2 ttl=64 time=0 ms
60 bytes from 192.168.1.1 icmp_seq=3 ttl=64 time=0 ms
msh />

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions