metro2012 Posted August 2, 2012 Share Posted August 2, 2012 i did a route -f and my routing table has been messed up. i tried ipconfig /release then /renew and it recovered som of the entries but not all...... how can i do this? Link to comment https://www.neowin.net/forum/topic/1095507-restore-default-windows-7-routes/ Share on other sites More sharing options...
Guest Posted August 2, 2012 Share Posted August 2, 2012 Just delete all your persistent routes? route print[/CODE] Link to comment https://www.neowin.net/forum/topic/1095507-restore-default-windows-7-routes/#findComment-595053313 Share on other sites More sharing options...
metro2012 Posted August 2, 2012 Author Share Posted August 2, 2012 Quote SK[' timestamp=1343897918' post='595053313]Just delete all your persistent routes? route print[/CODE] my persistent route is the one that states that everything goes thru my gateway. there isnt any other. Link to comment https://www.neowin.net/forum/topic/1095507-restore-default-windows-7-routes/#findComment-595053335 Share on other sites More sharing options...
Guest Posted August 2, 2012 Share Posted August 2, 2012 Sounds right to me then. Link to comment https://www.neowin.net/forum/topic/1095507-restore-default-windows-7-routes/#findComment-595053363 Share on other sites More sharing options...
metro2012 Posted August 2, 2012 Author Share Posted August 2, 2012 Quote SK[' timestamp=1343900913' post='595053363]Sounds right to me then. well it hasnt right. i shutdown my pc and started it up again and now the routing table has been restorted. thanks for the help anwayways :) Link to comment https://www.neowin.net/forum/topic/1095507-restore-default-windows-7-routes/#findComment-595053377 Share on other sites More sharing options...
Guest Posted August 2, 2012 Share Posted August 2, 2012 A bog standard config will send any IP outside its subnet to its default gateway. That is the default setup. If you have other persistent routes then this is not a default setup! Link to comment https://www.neowin.net/forum/topic/1095507-restore-default-windows-7-routes/#findComment-595053387 Share on other sites More sharing options...
+BudMan MVC Posted August 2, 2012 MVC Share Posted August 2, 2012 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 ;) Link to comment https://www.neowin.net/forum/topic/1095507-restore-default-windows-7-routes/#findComment-595053537 Share on other sites More sharing options...
Recommended Posts