Ok I did that but i couldnt do any of the route add or route dels if eth0 was down :/ <br>
<br>
# netstat -r<br>
Kernel IP routing table<br>
Destination
Gateway
Genmask
Flags MSS Window irtt Iface<br>
localnet
*
<a href="http://255.255.255.0">255.255.255.0</a>
U 0
0 0 eth0<br>
localnet
*
<a href="http://255.255.255.0">255.255.255.0</a>
U 0
0 0 eth0<br>
default
<a href="http://192.168.1.1">192.168.1.1</a>
<a href="http://0.0.0.0">0.0.0.0</a>
UG 0
0 0 eth0<br>
root@ubuntu:~# route -n<br>
Kernel IP routing table<br>
Destination
Gateway
Genmask Flags Metric
Ref Use Iface<br>
<a href="http://192.168.1.0">192.168.1.0</a>
<a href="http://0.0.0.0">0.0.0.0</a>
<a href="http://255.255.255.0">255.255.255.0</a> U
0
0 0 eth0<br>
<a href="http://192.168.1.0">192.168.1.0</a>
<a href="http://0.0.0.0">0.0.0.0</a>
<a href="http://255.255.255.0">255.255.255.0</a> U
0
0 0 eth0<br>
<a href="http://0.0.0.0">0.0.0.0</a>
<a href="http://192.168.1.1">192.168.1.1</a>
<a href="http://0.0.0.0">0.0.0.0</a>
UG 0
0 0 eth0<br><br><div><span class="gmail_quote">On 10/27/05, <b class="gmail_sendername"><a href="mailto:rpowersau@gmail.com">rpowersau@gmail.com</a></b> <<a href="mailto:rpowersau@gmail.com">rpowersau@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Here's mine:<br><br> $ netstat -r<br>Kernel IP routing table<br>Destination
Gateway
Genmask
Flags MSS Window irtt Iface<br><a href="http://192.168.0.0">192.168.0.0</a>
*
<a href="http://255.255.255.0">255.255.255.0</a>
U 0
0 0 ath0<br>default
<a href="http://192.168.0.1">192.168.0.1</a>
<a href="http://0.0.0.0">0.0.0.0</a>
UG 0
0 0 ath0<br><br>The only difference I see is mine is set as default. Try this:<br><br>ifconfig eth0 down<br>route del <a href="http://192.168.1.1">192.168.1.1</a> eth0<br>route add -net <a href="http://192.168.1.0">
192.168.1.0</a> netmask <a href="http://225.225.225.0">225.225.225.0</a> eth0<br>route add default gw <a href="http://192.168.1.1">192.168.1.1</a> eth0<br>ifconfig eth0 <a href="http://192.168.1.48">192.168.1.48</a> netmask
<a href="http://255.255.255.0">255.255.255.0</a> broadcast <a href="http://192.168.1.255">192.168.1.255</a> up<br><br><br>
</blockquote></div><br>