Ifconfig: siocsifflags: cannot assign requested address

Source: Internet
Author: User

 

Linux finally ran up last night and the file system was ready for use. When I started the system, I called ifconfig to set the IP address. However, it always showed: ifconfig: siocsifflags: cannot assign requested address: I checked it online. It turned out to be a problem with the MAC address. After the following processing, it will be OK ~ # Ifconfig eth0 down
# Ifconfig eth0 HW ether 00: 00: AA: BB: CC: dd
# Ifconfig eth0 up
Eth0: link down
# Ifeth0: link up, 100 Mbps, full-duplex, LPA 0xcde1
           
# Ifconfig eth0
Eth0       Link encap: Ethernet Hwaddr 00: 00: AA: BB: CC: dd
                  Inet ADDR: 192.168.1.70 Bcast: 192.168.1.255 Mask: 255.255.255.0
                  Up broadcast running Multicast MTU: 1500 Metric: 1
                  RX packets: 11 errors: 0 dropped: 0 overruns: 0 frame: 0
                  TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
                  Collisions: 0 FIG: 1000
                  RX Bytes: 1104 (1.0 kib) TX Bytes: 0 (0.0 B)
                  Interrupt: 51 base address: 0xe300# Ifconfig eth0 192.168.2.17
# Ifconfig
Eth0       Link encap: Ethernet Hwaddr 00: 00: AA: BB: CC: dd
                  Inet ADDR: 192.168.2.17 Bcast: 192.168.2.255 Mask: 255.255.255.0
                  Up broadcast running Multicast MTU: 1500 Metric: 1
                  RX packets: 46 errors: 0 dropped: 0 overruns: 0 frame: 0
                  TX packets: 0 errors: 0 dropped: 0 overruns: 0 carrier: 0
                  Collisions: 0 FIG: 1000
                  RX Bytes: 6967 (6.8 kib) TX Bytes: 0 (0.0 B)
                  Interrupt: 51 base address: 0xe300# Ping 192.168.2.80
Ping 192.168.2.80 (192.168.2.80): 56 data bytes
64 bytes from 192.168.2.80: seq = 0 TTL = 128 time = 4.852 MS
64 bytes from 192.168.2.80: seq = 1 TTL = 128 time = 1.134 MS
64 bytes from 192.168.2.80: seq = 2 TTL = 128 time = 1.020 MS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.