Restart Software Loopback Interface

Status
Not open for further replies.

Siva_7

Commendable
Dec 5, 2016
5
0
1,520
Hi

I would like to know if there is a way to restart Software Loopback Interface in windows.

Problem is if I flushed the routing table, I'm not able to ping my loopback address 127.0.0.1 anymore.

C:\Windows\system32>ping 127.0.0.1

Pinging 127.0.0.1 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.

Even if I add the respective route as it was before, I still could not ping.

C:\Windows\system32>route add 127.0.0.1/32 0.0.0.0 metric 256 if 1
OK!

C:\Windows\system32>ping 127.0.0.1

Pinging 127.0.0.1 with 32 bytes of data:
General failure.
General failure.
General failure.

I know that restarting a NIC adds the default routes for that NIC. So is there a way to restart the software loopback device or is there any other way to be able to get localhost online without restarting my computer.

Thanks
 


Thanks for your insight bill.

Even with the hidden devices shown, software loopback interface is not available in the device manager.

This is the original route in the ip table
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306

Since its an onlink route, I used 0.0.0.0 as gateway and windows doesn't allow me to route to 127.0.0.1

This command adds the route as it was in the route table before
route add 127.0.0.1/32 0.0.0.0 metric 256 if 1

But I still couldn't ping my localhost.
 
Status
Not open for further replies.