title: Ubuntu: Reset default routing table
body: <p>On my computer I have 2 connections - 3G and LAN.</p>
  
  <p>Before the 3G is connected the routing table would look like this:</p>
  
  <pre><code>Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  default         192.168.0.1     0.0.0.0         UG    100    0        0 eth0
  192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
  </code></pre>
  
  <p>After the 3G dialup the routing table would look like this:</p>
  
  <pre><code>Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  default         10.64.64.64     0.0.0.0         UG    0      0        0 ppp0
  10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
  192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
  </code></pre>
  
  <p>After the 3G is being disconnected, the routing table would look like this:</p>
  
  <pre><code>Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
  </code></pre>
  
  <p>Since the default routing is disabled after the 3G is being disconnected, there is no way for the system to connect to the server, even the LAN is active.</p>
  
  <p>Is there a way I can modify the routing table after the 3G is being disconnected?</p>
  
  <p>Thanks in advance</p>