Recommended Posts

route -f clears ALL gateways, so you would end up with

IPv4 Route Table
===========================================================================
Active Routes:
  None
Persistent Routes:
  None

vs something like this

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    192.168.1.253    192.168.1.100    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.1.0    255.255.255.0         On-link     192.168.1.100    266
    192.168.1.100  255.255.255.255         On-link     192.168.1.100    266
    192.168.1.255  255.255.255.255         On-link     192.168.1.100    266
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link     192.168.1.100    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link     192.168.1.100    266
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0    192.168.1.253  Default
===========================================================================

A restart prob best thing, you could of disabled/enabled interface to get some of them back, or switched from dhcp to static back to dhcp, etc. Reboot prob quickest way. What I have to ask is why you would of run the command in the first place ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.