Re: route syntax

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

 



Am Mo, den 11.07.2005 schrieb THUFIR HAWAT um 3:42:

> there are two computers, arrakis and caladan.  I'm trying to ping from
> arrakis eth1, which is a D-Link NIC, to caladan, ignoring arrakis
> eth0.

The ping target is in the same subnet?

> I believe that the problem is in the last line of route, so would like
> to remove that line.  I might remove all mention of eth0, too.

No, the zeroconf route entry is no problem.
Why do you want to delete eth0?

> [thufir@arrakis init.d]$ su -
> Password:
> [root@arrakis ~]# route
> 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
> 192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
> 169.254.0.0     *               255.255.0.0     U     0      0        0 eth1

Add "NOZEROCONF=yes" to /etc/sysconfig/network if you do not wish to
have zeroconf.
Do you have set a GATEWAY in /etc/sysconfig/network? I.e.
GATEWAY=192.168.0.2

> [root@arrakis ~]# route del 169.254.0.0 netmask 255.255.0.0
> route: netmask 0000ffff doesn't make sense with host route

route del -net 169.254.0.0 netmask 255.255.0.0 dev eth1

That syntax would work (single command line), please see "man route".

> I'm looking into the man page, but the syntax escapes me at the moment :(

> Thufir

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 03:58:30 up 15 days, 10:50, load average: 0.25, 0.67, 0.67 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux