If a Linux box VM, WSL or a physical server is unable to connect to Network, one possible issue is the network interface is not UP.
Typing:
ip address show
Or:
ip a s
The output will show which interfaces are UP.
If the output shows like:
eth0: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
UP after multicast means that the interface is not disabled on the OS or administratively enabled
LOWER_UP means that a cable is connected and is able and is able to find an active switch port
Running this command below:
tcpdump -D
The output will also show that the interface is Up, Running and connected.
Example:
1. eth0 [Up, Running, Connected]
Basic commands that will help to save the day if ever there is some network or connectivity issues.
That's it.. till next time.
Stay close to Jesus, you will find comfort and amazing peace. All you need is to surrender wholeheartedly whatever you're going through.
Comments
Post a Comment