route syntax
Alexander Dalloz
ad+lists at uni-x.org
Mon Jul 11 02:09:40 UTC 2005
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 at arrakis init.d]$ su -
> Password:
> [root at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050711/184bee07/attachment-0001.sig>
More information about the fedora-list
mailing list