Re: network query; route command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-03-03 at 09:05 +1100, Shelagh Manton wrote:
> Paul Howarth wrote:
> 
> > Shelagh Manton wrote:
> >> Hello,
> >> I've been reading up on networks and comparing what the NAG from TDLP has
> >> to say and what my computer settings look like. Um... I did find a few
> >> differences (problems?). I will be upgrading to ADSL sometime soon and
> >> wanted to be more prepared as my ISP don't know nothing about Linux.
> >> 
> >> One thing which worries me is when I ask the route command to add or del
> >> a network or IP address I get this message.
> >> 
> >> SIOCADDRT: Invalid argument
> >> 
> >> or SIOCDELRT: No such process
> >> 
> >> When I ask it for information "route -e" I get back a table which
> >> includes an IP address I did not give it, and is not from My ISP. And of
> >> course I can't delete it using the "route del 163.254.0.0" command
> > 
> > Are you sure it's not "169.254.0.0" rather than "163.254.0.0"?
> > 
> > What's the output of "netstat -rn" and what are the routes you want to
> > add/remove?
> > 
> > Paul.
> > 
> Yes, when I look more carefully, that is the very IP address. I wanted to
> follow the instructions of the NAG where it says to add the 127.0.0.1 lo
> address with the route add command. The address it shows at present is
> 127.0.0.0 which is the lo network, and does not have 127.0.0.1 at all. Is
> this a problem? 
> 
> [shelagh@pandorasbox shelagh]$ netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> 220.244.163.3   0.0.0.0         255.255.255.255 UH        0 0          0
> ppp0
> 192.168.32.0    192.168.32.3    255.255.255.0   UG        0 0          0
> eth0
> 192.168.32.0    0.0.0.0         255.255.255.0   U         0 0          0
> eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0
> eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
> 0.0.0.0         220.244.163.3   0.0.0.0         UG        0 0          0
> ppp0
> 
> What I'm eventually hoping to achieve is understanding of NAT so that my 2
> sons machines can access the internet through my internet connected
> computer. But, just one slow step at a time, otherwise my brain might
> explode.

This all looks fine. You still didn't say which routes you wanted to add
or delete. You can stop the zeroconf route appearing appearing by
putting "NOZEROCONF=yes" in /etc/sysconfig/network; next time your
machine reboots, it'll be gone.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux