LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help removing default gateway (https://www.linuxquestions.org/questions/linux-newbie-8/help-removing-default-gateway-4175421137/)

Dave1234 08-08-2012 11:15 PM

Help removing default gateway
 
Hello,

I was putting a lab together and put a default gateway on my laptop. Now I can't get out to the Internet. I've searched around the web for solutions and even tried a couple, but nothing has worked yet. Any help deleting the default route I put in place?

Here is the result of a route -n

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 virbr1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
192.168.82.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet2
192.168.118.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

Thank you in advance for any help.

Dave

btmiller 08-08-2012 11:20 PM

I think "route del default" should do it.

Dave1234 08-08-2012 11:30 PM

Thanks for the response...


I ran "sudo route del default" (no errors) and rebooted. I'm still not about to get out to the web and the results of "route -n" look the same. Any ideas?

Thanks!


All times are GMT -5. The time now is 09:52 AM.