Old Laptop + Ubuntu
Ubuntu China
ubuntu-user at ubuntu.org.cn
Fri Oct 28 02:50:35 UTC 2005
On 10/28/05, Conlan Kreher <eggmanx at gmail.com> wrote:
> Ok I did that but i couldnt do any of the route add or route dels if eth0
> was down :/
Did you bring it back up. :)
>
> # netstat -r
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> localnet * 255.255.255.0 <http://255.255.255.0> U 0 0 0 eth0
> localnet * 255.255.255.0 <http://255.255.255.0> U 0 0 0 eth0
> default 192.168.1.1 <http://192.168.1.1> 0.0.0.0 <http://0.0.0.0> UG 0 0 0
> eth0
> root at ubuntu:~# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 <http://192.168.1.0> 0.0.0.0 <http://0.0.0.0>
> 255.255.255.0<http://255.255.255.0>U 0 0 0 eth0
> 192.168.1.0 <http://192.168.1.0> 0.0.0.0 <http://0.0.0.0>
> 255.255.255.0<http://255.255.255.0>U 0 0 0 eth0
> 0.0.0.0 <http://0.0.0.0> 192.168.1.1 <http://192.168.1.1>
> 0.0.0.0<http://0.0.0.0>UG 0 0 0 eth0
>
> On 10/27/05, rpowersau at gmail.com <rpowersau at gmail.com> wrote:
> >
> > Here's mine:
> >
> > $ netstat -r
> > Kernel IP routing table
> > Destination Gateway Genmask Flags MSS Window irtt Iface
> > 192.168.0.0 <http://192.168.0.0> * 255.255.255.0 <http://255.255.255.0> U
> > 0 0 0 ath0
> > default 192.168.0.1 <http://192.168.0.1> 0.0.0.0 <http://0.0.0.0> UG 0 0
> 0
> > ath0
> >
> > The only difference I see is mine is set as default. Try this:
> >
> > ifconfig eth0 down
> > route del 192.168.1.1 <http://192.168.1.1> eth0
> > route add -net 192.168.1.0 <http://192.168.1.0> netmask
> 225.225.225.0<http://225.225.225.0>eth0
> > route add default gw 192.168.1.1 <http://192.168.1.1> eth0
> > ifconfig eth0 192.168.1.48 <http://192.168.1.48> netmask
> 255.255.255.0<http://255.255.255.0>broadcast
> > 192.168.1.255 <http://192.168.1.255> up
> >
> >
> >
>
>
--
Regards,
Russ
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list