The ifconfigIPV4 address is missing-Linux general technology-Linux technology and application information. The following is a detailed description. The workstation has two NICs, one of which (eth0) is set to a fixed IP address, and the other (eth1) is set to a dynamic IP address.
Now you want to view the eth1 address and run ifconfig under root to obtain the following information.
It can be seen that the desired inet addr information is not displayed in eth1.
Why? How can this problem be solved?
CODE: eth0 Link encap: Ethernet HWaddr D4: AE: 52: 94: 47: 49 Inet addr: 192.168.10.19 Bcast: 192.168.10.255 Mask: 255.255.255.0 Inet6 addr: 2001: da8: 7007: 612: d6ae: 52ff: fe94: 4749/64 Scope: Global Inet6 addr: fe80: d6ae: 52ff: fe94: 4749/64 Scope: Link Up broadcast running multicast mtu: 1500 Metric: 1 RX packets: 1470335418 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets: 951435154 errors: 0 dropped: 0 overruns: 0 carrier: 0 Collisions: 0 fig: 1000 RX bytes: 1950542107454 (1.7 TiB) TX bytes: 617230041099 (574.8 GiB) Interrupt: 162 Memory: c6000000-c6012800
Eth1 Link encap: Ethernet HWaddr D4: AE: 52: 94: 47: 4B Inet6 addr: 2001: da8: 7007: 612: d6ae: 52ff: fe94: 474b/64 Scope: Global Inet6 addr: fe80: d6ae: 52ff: fe94: 474b/64 Scope: Link Up broadcast running multicast mtu: 1500 Metric: 1 RX packets: 12572 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets: 36 errors: 0 dropped: 0 overruns: 0 carrier: 0 Collisions: 0 fig: 1000 RX bytes: 1195174 (1.1 MiB) TX bytes: 5549 (5.4 KiB) Interrupt: 170 Memory: c8000000-c8012800 |